Lines Matching refs:si
33 static unsigned long vp8_priv_sz(const vpx_codec_dec_cfg_t *si, vpx_codec_flags_t);
55 vp8_stream_info_t si; member
73 static unsigned long vp8_priv_sz(const vpx_codec_dec_cfg_t *si, vpx_codec_flags_t flags) in vp8_priv_sz() argument
80 (void)si; in vp8_priv_sz()
108 static vpx_codec_err_t vp8_validate_mmaps(const vp8_stream_info_t *si, in vp8_validate_mmaps() argument
129 cfg.w = si->w; in vp8_validate_mmaps()
130 cfg.h = si->h; in vp8_validate_mmaps()
156 ctx->priv->alg_priv->si.sz = sizeof(ctx->priv->alg_priv->si); in vp8_init_ctx()
230 vpx_codec_stream_info_t *si) in vp8_peek_si() argument
244 si->is_kf = 0; in vp8_peek_si()
249 si->is_kf = 1; in vp8_peek_si()
255 si->w = (c[3] | (c[4] << 8)) & 0x3fff; in vp8_peek_si()
256 si->h = (c[5] | (c[6] << 8)) & 0x3fff; in vp8_peek_si()
259 if (!(si->h | si->w)) in vp8_peek_si()
271 vpx_codec_stream_info_t *si) in vp8_get_si() argument
276 if (si->sz >= sizeof(vp8_stream_info_t)) in vp8_get_si()
281 memcpy(si, &ctx->si, sz); in vp8_get_si()
282 si->sz = sz; in vp8_get_si()
317 if (!ctx->si.h) in vp8_decode()
318 res = ctx->base.iface->dec.peek_si(data, data_sz, &ctx->si); in vp8_decode()
330 cfg.w = ctx->si.w; in vp8_decode()
331 cfg.h = ctx->si.h; in vp8_decode()
353 res = vp8_validate_mmaps(&ctx->si, ctx->mmaps, ctx->base.init_flags); in vp8_decode()
362 oxcf.Width = ctx->si.w; in vp8_decode()
363 oxcf.Height = ctx->si.h; in vp8_decode()