Lines Matching refs:ctx
45 AV1DecodeContext *ctx = avctx->priv_data;
53 if (aom_codec_dec_init(&ctx->decoder, iface, &deccfg, 0) != AOM_CODEC_OK) {
54 const char *error = aom_codec_error(&ctx->decoder);
162 AV1DecodeContext *ctx = avctx->priv_data;
167 if (aom_codec_decode(&ctx->decoder, avpkt->data, avpkt->size, NULL) !=
169 const char *error = aom_codec_error(&ctx->decoder);
170 const char *detail = aom_codec_error_detail(&ctx->decoder);
179 if ((img = aom_codec_get_frame(&ctx->decoder, &iter))) {
205 ret = aom_codec_control(&ctx->decoder, AOMD_GET_FRAME_FLAGS, &flags);
241 AV1DecodeContext *ctx = avctx->priv_data;
242 aom_codec_destroy(&ctx->decoder);