Lines Matching refs:decoder
23 * VP8 decoder support via libvpx
37 struct vpx_codec_ctx decoder;
52 if (vpx_codec_dec_init(&ctx->decoder, iface, &deccfg, 0) != VPX_CODEC_OK) {
53 const char *error = vpx_codec_error(&ctx->decoder);
54 av_log(avctx, AV_LOG_ERROR, "Failed to initialize decoder: %s\n",
72 if (vpx_codec_decode(&ctx->decoder, avpkt->data, avpkt->size, NULL, 0) !=
74 const char *error = vpx_codec_error(&ctx->decoder);
75 const char *detail = vpx_codec_error_detail(&ctx->decoder);
84 if ((img = vpx_codec_get_frame(&ctx->decoder, &iter))) {
110 vpx_codec_destroy(&ctx->decoder);