mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8
The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
This commit is contained in:
@@ -989,7 +989,7 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
|
||||
#endif
|
||||
case AV_PIX_FMT_YUYV422:
|
||||
case AV_PIX_FMT_YVYU422:
|
||||
case AV_PIX_FMT_Y400A:
|
||||
case AV_PIX_FMT_YA8:
|
||||
c->lumToYV12 = yuy2ToY_c;
|
||||
break;
|
||||
case AV_PIX_FMT_UYVY422:
|
||||
@@ -1085,7 +1085,7 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
|
||||
case AV_PIX_FMT_ARGB:
|
||||
c->alpToYV12 = abgrToA_c;
|
||||
break;
|
||||
case AV_PIX_FMT_Y400A:
|
||||
case AV_PIX_FMT_YA8:
|
||||
c->alpToYV12 = uyvyToY_c;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user