Lines Matching refs:decoder
23 * VP8 decoder support via libvpx
34 struct vpx_codec_ctx decoder;
49 if (vpx_codec_dec_init(&ctx->decoder, iface, &deccfg, 0) != VPX_CODEC_OK) {
50 const char *error = vpx_codec_error(&ctx->decoder);
51 av_log(avctx, AV_LOG_ERROR, "Failed to initialize decoder: %s\n",
68 if (vpx_codec_decode(&ctx->decoder, avpkt->data, avpkt->size, NULL, 0) !=
70 const char *error = vpx_codec_error(&ctx->decoder);
71 const char *detail = vpx_codec_error_detail(&ctx->decoder);
80 if ((img = vpx_codec_get_frame(&ctx->decoder, &iter))) {
110 vpx_codec_destroy(&ctx->decoder);