On Fri, Apr 26, 2019 at 09:43:38AM +0530, ManojGuptaBonda wrote: > New VdpYCbCr Formats VDP_YCBCR_FORMAT_Y_U_V_444 and, > VDP_YCBCR_FORMAT_Y_UV_444 have been added in VDPAU to be used in > get/putbits for YUV 4:4:4 surfaces. Earlier mapping of > AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_YV12 is not valid. > > Hence this Change maps AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_Y_U_V_444 > to access the YUV 4:4:4 surface via read-back API's of VDPAU. > --- > libavutil/hwcontext_vdpau.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
breaks build
CC libavutil/hwcontext_vdpau.o
libavutil/hwcontext_vdpau.c:76:7: error: ‘VDP_YCBCR_FORMAT_Y_U_V_444’
undeclared here (not in a function)
{ VDP_YCBCR_FORMAT_Y_U_V_444, AV_PIX_FMT_YUV444P },
^
libavutil/hwcontext_vdpau.c: In function ‘vdpau_transfer_data_from’:
libavutil/hwcontext_vdpau.c:352:62: warning: comparison between pointer and
integer [enabled by default]
if ((vdpau_format == VDP_YCBCR_FORMAT_YV12) || (vdpau_format ==
VDP_YCBCR_FORMAT_Y_U_V_444))
^
libavutil/hwcontext_vdpau.c: In function ‘vdpau_transfer_data_to’:
libavutil/hwcontext_vdpau.c:403:62: warning: comparison between pointer and
integer [enabled by default]
if ((vdpau_format == VDP_YCBCR_FORMAT_YV12) || (vdpau_format ==
VDP_YCBCR_FORMAT_Y_U_V_444))
^
make: *** [libavutil/hwcontext_vdpau.o] Error 1
make: Target `all' not remade because of errors.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
