Lines Matching refs:ctx
439 VAAPIEncodeContext *ctx = avctx->priv_data;
442 desc = av_pix_fmt_desc_get(ctx->input_frames->sw_format);
445 ctx->surface_width = FFALIGN(avctx->width, 8 << desc->log2_chroma_w);
446 ctx->surface_height = FFALIGN(avctx->height, 8 << desc->log2_chroma_h);
453 VAAPIEncodeContext *ctx = avctx->priv_data;
457 priv->quality = ctx->rc_quality;
470 if (ctx->va_packed_headers & VA_ENC_PACKED_HEADER_RAW_DATA) {
471 ctx->va_packed_headers &= ~VA_ENC_PACKED_HEADER_RAW_DATA;
472 ctx->va_packed_headers |= VA_ENC_PACKED_HEADER_SLICE;
519 VAAPIEncodeContext *ctx = avctx->priv_data;
521 ctx->codec = &vaapi_encode_type_mjpeg;
524 ctx->desired_packed_headers =