Lines Matching defs:decoder
23 * AV1 decoder support via libaom
39 struct aom_codec_ctx decoder;
53 if (aom_codec_dec_init(&ctx->decoder, iface, &deccfg, 0) != AOM_CODEC_OK) {
54 const char *error = aom_codec_error(&ctx->decoder);
55 av_log(avctx, AV_LOG_ERROR, "Failed to initialize decoder: %s\n",
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);
242 aom_codec_destroy(&ctx->decoder);