Lines Matching defs:vdpau_pix_fmts
72 } vdpau_pix_fmts[] = {
92 enum AVPixelFormat *pix_fmts[FF_ARRAY_ELEMS(vdpau_pix_fmts)];
93 int nb_pix_fmts[FF_ARRAY_ELEMS(vdpau_pix_fmts)];
123 const VDPAUPixFmtMap *map = vdpau_pix_fmts[i].map;
134 VdpStatus err = priv->get_transfer_caps(hwctx->device, vdpau_pix_fmts[i].chroma_type,
198 constraints->valid_sw_formats = av_malloc_array(FF_ARRAY_ELEMS(vdpau_pix_fmts) + 1,
203 for (i = 0; i < FF_ARRAY_ELEMS(vdpau_pix_fmts); i++) {
205 constraints->valid_sw_formats[nb_sw_formats++] = vdpau_pix_fmts[i].frames_sw_format;
263 for (i = 0; i < FF_ARRAY_ELEMS(vdpau_pix_fmts); i++) {
264 if (vdpau_pix_fmts[i].frames_sw_format == ctx->sw_format) {
265 priv->chroma_type = vdpau_pix_fmts[i].chroma_type;
354 map = vdpau_pix_fmts[priv->chroma_idx].map;
412 map = vdpau_pix_fmts[priv->chroma_idx].map;