Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dlibopenjpegdec.c196 const enum AVPixelFormat *possible_fmts = NULL; in libopenjpeg_guess_pix_fmt() local
201 possible_fmts = libopenjpeg_rgb_pix_fmts; in libopenjpeg_guess_pix_fmt()
205 possible_fmts = libopenjpeg_gray_pix_fmts; in libopenjpeg_guess_pix_fmt()
209 possible_fmts = libopenjpeg_yuv_pix_fmts; in libopenjpeg_guess_pix_fmt()
213 possible_fmts = libopenjpeg_all_pix_fmts; in libopenjpeg_guess_pix_fmt()
219 if (libopenjpeg_matches_pix_fmt(image, possible_fmts[index])) { in libopenjpeg_guess_pix_fmt()
220 return possible_fmts[index]; in libopenjpeg_guess_pix_fmt()
Djpeg2000dec.c277 const enum AVPixelFormat *possible_fmts = NULL; in get_siz() local
397 possible_fmts = xyz_pix_fmts; in get_siz()
402 possible_fmts = rgb_pix_fmts; in get_siz()
406 possible_fmts = gray_pix_fmts; in get_siz()
410 possible_fmts = yuv_pix_fmts; in get_siz()
414 possible_fmts = all_pix_fmts; in get_siz()
424 … if (pix_fmt_match(possible_fmts[i], ncomponents, s->precision, log2_chroma_wh, s->pal8)) { in get_siz()
425 s->avctx->pix_fmt = possible_fmts[i]; in get_siz()