|
|
|
@@ -3500,6 +3500,7 @@ int avcodec_get_pix_fmt_loss(enum PixelFormat dst_pix_fmt, enum PixelFormat src_ |
|
|
|
enum PixelFormat avcodec_find_best_pix_fmt(int64_t pix_fmt_mask, enum PixelFormat src_pix_fmt, |
|
|
|
int has_alpha, int *loss_ptr); |
|
|
|
|
|
|
|
#if FF_API_GET_ALPHA_INFO |
|
|
|
#define FF_ALPHA_TRANSP 0x0001 /* image has some totally transparent pixels */ |
|
|
|
#define FF_ALPHA_SEMI_TRANSP 0x0002 /* image has some transparent pixels */ |
|
|
|
|
|
|
|
@@ -3507,8 +3508,10 @@ enum PixelFormat avcodec_find_best_pix_fmt(int64_t pix_fmt_mask, enum PixelForma |
|
|
|
* Tell if an image really has transparent alpha values. |
|
|
|
* @return ored mask of FF_ALPHA_xxx constants |
|
|
|
*/ |
|
|
|
attribute_deprecated |
|
|
|
int img_get_alpha_info(const AVPicture *src, |
|
|
|
enum PixelFormat pix_fmt, int width, int height); |
|
|
|
#endif |
|
|
|
|
|
|
|
/* deinterlace a picture */ |
|
|
|
/* deinterlace - if not supported return -1 */ |
|
|
|
|