[FFmpeg-devel] Add 10-bit transcode support for hwaccel cuvid

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jan 31 17:21:46 EET 2017


2017-01-31 15:56 GMT+01:00 Sumit Agarwal <sumita at nvidia.com>:
> -        hwframe_ctx->sw_format = ist->st->codecpar->format == AV_PIX_FMT_YUV420P10LE ? AV_PIX_FMT_P010 : AV_PIX_FMT_NV12;
> +        hwframe_ctx->sw_format = ist->st->codecpar->format == AV_PIX_FMT_YUV420P10 ? AV_PIX_FMT_P010 : AV_PIX_FMT_NV12;

I am curious: Is there a documentation that states the pixel formats
should be interpreted as being native endian?
(Is there a big-endian driver or the possibility that there will be one?)

Carl Eugen


More information about the ffmpeg-devel mailing list