Lines Matching defs:avctx
62 CFDataRef ff_videotoolbox_vpcc_extradata_create(AVCodecContext *avctx)
64 const VP9SharedContext *h = avctx->priv_data;
69 int subsampling = get_vpx_chroma_subsampling(avctx->sw_pix_fmt, avctx->chroma_sample_location);
87 *p++ = avctx->level;
88 *p++ = (h->h.bpp << 4) | (subsampling << 1) | (avctx->color_range == AVCOL_RANGE_JPEG);
89 *p++ = avctx->color_primaries;
90 *p++ = avctx->color_trc;
91 *p++ = avctx->colorspace;
103 static int videotoolbox_vp9_start_frame(AVCodecContext *avctx,
110 static int videotoolbox_vp9_decode_slice(AVCodecContext *avctx,
114 VTContext *vtctx = avctx->internal->hwaccel_priv_data;
119 static int videotoolbox_vp9_end_frame(AVCodecContext *avctx)
121 const VP9SharedContext *h = avctx->priv_data;
124 return ff_videotoolbox_common_end_frame(avctx, frame);