Lines Matching refs:iface
25 vpx_codec_iface_t *iface, in vpx_codec_dec_init_ver() argument
32 else if (!ctx || !iface) in vpx_codec_dec_init_ver()
34 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION) in vpx_codec_dec_init_ver()
37 !(iface->caps & VPX_CODEC_CAP_POSTPROC)) in vpx_codec_dec_init_ver()
40 !(iface->caps & VPX_CODEC_CAP_ERROR_CONCEALMENT)) in vpx_codec_dec_init_ver()
43 !(iface->caps & VPX_CODEC_CAP_INPUT_FRAGMENTS)) in vpx_codec_dec_init_ver()
45 else if (!(iface->caps & VPX_CODEC_CAP_DECODER)) in vpx_codec_dec_init_ver()
49 ctx->iface = iface; in vpx_codec_dec_init_ver()
50 ctx->name = iface->name; in vpx_codec_dec_init_ver()
55 res = ctx->iface->init(ctx, NULL); in vpx_codec_dec_init_ver()
65 vpx_codec_err_t vpx_codec_peek_stream_info(vpx_codec_iface_t *iface, in vpx_codec_peek_stream_info() argument
71 if (!iface || !data || !data_sz || !si || in vpx_codec_peek_stream_info()
79 res = iface->dec.peek_si(data, data_sz, si); in vpx_codec_peek_stream_info()
91 else if (!ctx->iface || !ctx->priv) in vpx_codec_get_stream_info()
98 res = ctx->iface->dec.get_si(get_alg_priv(ctx), si); in vpx_codec_get_stream_info()
113 else if (!ctx->iface || !ctx->priv) in vpx_codec_decode()
116 res = ctx->iface->dec.decode(get_alg_priv(ctx), data, data_sz, user_priv, in vpx_codec_decode()
126 if (!ctx || !iter || !ctx->iface || !ctx->priv) in vpx_codec_get_frame()
129 img = ctx->iface->dec.get_frame(get_alg_priv(ctx), iter); in vpx_codec_get_frame()
141 else if (!ctx->iface || !ctx->priv || in vpx_codec_register_put_frame_cb()
142 !(ctx->iface->caps & VPX_CODEC_CAP_PUT_FRAME)) in vpx_codec_register_put_frame_cb()
160 else if (!ctx->iface || !ctx->priv || in vpx_codec_register_put_slice_cb()
161 !(ctx->iface->caps & VPX_CODEC_CAP_PUT_SLICE)) in vpx_codec_register_put_slice_cb()
179 } else if (!ctx->iface || !ctx->priv || in vpx_codec_set_frame_buffer_functions()
180 !(ctx->iface->caps & VPX_CODEC_CAP_EXTERNAL_FRAME_BUFFER)) { in vpx_codec_set_frame_buffer_functions()
183 res = ctx->iface->dec.set_fb_fn(get_alg_priv(ctx), cb_get, cb_release, in vpx_codec_set_frame_buffer_functions()