Home | History | Annotate | Download | only in src

Lines Matching refs:iface

28                                        vpx_codec_iface_t    *iface,
36 else if (!ctx || !iface || !cfg)
38 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION)
40 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER))
43 && !(iface->caps & VPX_CODEC_CAP_PSNR))
46 && !(iface->caps & VPX_CODEC_CAP_OUTPUT_PARTITION))
49 ctx->iface = iface;
50 ctx->name = iface->name;
54 res = ctx->iface->init(ctx, NULL);
66 vpx_codec_iface_t *iface,
76 else if (!ctx || !iface || !cfg || (num_enc > 16 || num_enc < 1))
78 else if (iface->abi_version != VPX_CODEC_INTERNAL_ABI_VERSION)
80 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER))
83 && !(iface->caps & VPX_CODEC_CAP_PSNR))
86 && !(iface->caps & VPX_CODEC_CAP_OUTPUT_PARTITION))
92 if (!(res = iface->enc.mr_get_mem_loc(cfg, &mem_loc))) {
116 ctx->iface = iface;
117 ctx->name = iface->name;
121 res = ctx->iface->init(ctx, &mr_cfg);
154 vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface,
161 if (!iface || !cfg || usage > INT_MAX)
163 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER))
168 for (i = 0; i < iface->enc.cfg_map_count; ++i) {
169 map = iface->enc.cfg_maps + i;
210 else if (!ctx->iface || !ctx->priv)
212 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER))
223 res = ctx->iface->enc.encode(get_alg_priv(ctx), img, pts,
237 if ((res = ctx->iface->enc.encode(get_alg_priv(ctx), img, pts,
261 else if (!ctx->iface || !ctx->priv)
263 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER))
266 pkt = ctx->iface->enc.get_cx_data(get_alg_priv(ctx), iter);
327 if (!ctx->iface || !ctx->priv)
329 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER))
331 else if (!ctx->iface->enc.get_preview)
334 img = ctx->iface->enc.get_preview(get_alg_priv(ctx));
345 if (!ctx->iface || !ctx->priv)
347 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER))
349 else if (!ctx->iface->enc.get_glob_hdrs)
352 buf = ctx->iface->enc.get_glob_hdrs(get_alg_priv(ctx));
363 if (!ctx || !ctx->iface || !ctx->priv || !cfg)
365 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER))
368 res = ctx->iface->enc.cfg_set(get_alg_priv(ctx), cfg);