Home
last modified time | relevance | path

Searched refs:chroma_444 (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dnvdec.c343 int cuvid_codec_type, cuvid_chroma_format, chroma_444; in ff_nvdec_decode_init() local
361 chroma_444 = ctx->supports_444 && cuvid_chroma_format == cudaVideoChromaFormat_444; in ff_nvdec_decode_init()
379 output_format = chroma_444 ? cudaVideoSurfaceFormat_YUV444 : in ff_nvdec_decode_init()
384 output_format = chroma_444 ? cudaVideoSurfaceFormat_YUV444_16Bit : in ff_nvdec_decode_init()
702 int cuvid_codec_type, cuvid_chroma_format, chroma_444; in ff_nvdec_frame_params() local
719 chroma_444 = supports_444 && cuvid_chroma_format == cudaVideoChromaFormat_444; in ff_nvdec_frame_params()
732 frames_ctx->sw_format = chroma_444 ? AV_PIX_FMT_YUV444P : AV_PIX_FMT_NV12; in ff_nvdec_frame_params()
735 frames_ctx->sw_format = chroma_444 ? AV_PIX_FMT_YUV444P16 : AV_PIX_FMT_P010; in ff_nvdec_frame_params()
738 frames_ctx->sw_format = chroma_444 ? AV_PIX_FMT_YUV444P16 : AV_PIX_FMT_P016; in ff_nvdec_frame_params()
Dcuviddec.c118 int chroma_444; in cuvid_handle_video_sequence() local
161 chroma_444 = format->chroma_format == cudaVideoChromaFormat_444; in cuvid_handle_video_sequence()
165 pix_fmts[1] = chroma_444 ? AV_PIX_FMT_YUV444P : AV_PIX_FMT_NV12; in cuvid_handle_video_sequence()
169 pix_fmts[1] = chroma_444 ? AV_PIX_FMT_YUV444P16 : AV_PIX_FMT_P010; in cuvid_handle_video_sequence()
173 pix_fmts[1] = chroma_444 ? AV_PIX_FMT_YUV444P16 : AV_PIX_FMT_P016; in cuvid_handle_video_sequence()