avutil/frame.h: improve documentation for AV_FRAME_FLAG_LOSSLESS

It should be more clear what this flag is indicating with a more
verbose comment documenting it.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
Reviewed-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Reviewed-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
Leo Izen 2025-01-10 08:13:41 -05:00
parent b76053d8bf
commit f651ca3a68
Signed by: Traneptora
GPG key ID: 764E48EA48221833

View file

@ -666,7 +666,11 @@ typedef struct AVFrame {
*/
#define AV_FRAME_FLAG_TOP_FIELD_FIRST (1 << 4)
/**
* A flag to mark frames which were encoded losslessly from the input.
* A decoder can use this flag to mark frames which were originally encoded losslessly.
*
* For coding bitstream formats which support both lossless and lossy
* encoding, it is sometimes possible for a decoder to determine which method
* was used when the bitsream was encoded.
*/
#define AV_FRAME_FLAG_LOSSLESS (1 << 5)
/**