Home
last modified time | relevance | path

Searched refs:codec_ctx (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vpx/
Dsvc_context.h75 vpx_codec_ctx_t *codec_ctx; member
91 vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
97 vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx,
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c126 si->codec_ctx->err_detail = si->message_buffer; in svc_log()
390 vpx_codec_err_t vpx_svc_init(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, in vpx_svc_init() argument
396 if (svc_ctx == NULL || codec_ctx == NULL || iface == NULL || in vpx_svc_init()
402 si->codec_ctx = codec_ctx; in vpx_svc_init()
524 res = vpx_codec_enc_init(codec_ctx, iface, enc_cfg, VPX_CODEC_USE_PSNR); in vpx_svc_init()
530 vpx_codec_control(codec_ctx, VP9E_SET_SVC, 1); in vpx_svc_init()
531 vpx_codec_control(codec_ctx, VP9E_SET_SVC_PARAMETERS, &si->svc_params); in vpx_svc_init()
540 vpx_codec_err_t vpx_svc_encode(SvcContext *svc_ctx, vpx_codec_ctx_t *codec_ctx, in vpx_svc_encode() argument
547 if (svc_ctx == NULL || codec_ctx == NULL || si == NULL) { in vpx_svc_encode()
554 vpx_codec_encode(codec_ctx, rawimg, pts, (uint32_t)duration, 0, deadline); in vpx_svc_encode()
[all …]