Home
last modified time | relevance | path

Searched refs:read_ctx (Results 1 – 3 of 3) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dlookahead.c149 struct read_ctx *read_ctx = &ctx->read_ctxs[stage]; in av1_lookahead_pop() local
150 assert(read_ctx->valid == 1); in av1_lookahead_pop()
151 if (read_ctx->sz && (drain || read_ctx->sz == read_ctx->pop_sz)) { in av1_lookahead_pop()
152 buf = pop(ctx, &read_ctx->read_idx); in av1_lookahead_pop()
153 read_ctx->sz--; in av1_lookahead_pop()
162 struct read_ctx *read_ctx = NULL; in av1_lookahead_peek() local
167 read_ctx = &ctx->read_ctxs[stage]; in av1_lookahead_peek()
168 assert(read_ctx->valid == 1); in av1_lookahead_peek()
171 if (index < read_ctx->sz) { in av1_lookahead_peek()
172 index += read_ctx->read_idx; in av1_lookahead_peek()
[all …]
Dlookahead.h39 struct read_ctx { struct
49 struct read_ctx read_ctxs[MAX_STAGES]; /* Read context */ argument
/external/mesa3d/src/compiler/nir/
Dnir_serialize.c88 } read_ctx; typedef
107 read_add_object(read_ctx *ctx, void *obj) in read_add_object()
114 read_lookup_object(read_ctx *ctx, uint32_t idx) in read_lookup_object()
121 read_object(read_ctx *ctx) in read_object()
184 read_constant(read_ctx *ctx, nir_variable *nvar) in read_constant()
337 read_variable(read_ctx *ctx) in read_variable()
427 read_var_list(read_ctx *ctx, struct exec_list *dst) in read_var_list()
451 read_register(read_ctx *ctx) in read_register()
483 read_reg_list(read_ctx *ctx, struct exec_list *dst) in read_reg_list()
550 read_src(read_ctx *ctx, nir_src *src, void *mem_ctx) in read_src()
[all …]