Searched refs:read_ctxs (Results 1 – 2 of 2) sorted by relevance
64 ctx->read_ctxs[ENCODE_STAGE].pop_sz = ctx->max_sz - MAX_PRE_FRAMES; in av1_lookahead_init()65 ctx->read_ctxs[ENCODE_STAGE].valid = 1; in av1_lookahead_init()67 ctx->read_ctxs[LAP_STAGE].pop_sz = lag_in_frames; in av1_lookahead_init()68 ctx->read_ctxs[LAP_STAGE].valid = 1; in av1_lookahead_init()99 assert(ctx->read_ctxs[ENCODE_STAGE].valid == 1); in av1_lookahead_push()100 if (ctx->read_ctxs[ENCODE_STAGE].sz + 1 + MAX_PRE_FRAMES > ctx->max_sz) in av1_lookahead_push()102 ctx->read_ctxs[ENCODE_STAGE].sz++; in av1_lookahead_push()103 if (ctx->read_ctxs[LAP_STAGE].valid) { in av1_lookahead_push()104 ctx->read_ctxs[LAP_STAGE].sz++; in av1_lookahead_push()149 struct read_ctx *read_ctx = &ctx->read_ctxs[stage]; in av1_lookahead_pop()[all …]
49 struct read_ctx read_ctxs[MAX_STAGES]; /* Read context */ member