Home
last modified time | relevance | path

Searched refs:max_sz (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dlookahead.c19 unsigned int max_sz; /* Absolute size of the queue */ member
32 assert(index < ctx->max_sz); in pop()
33 if (++index >= ctx->max_sz) index -= ctx->max_sz; in pop()
43 for (i = 0; i < ctx->max_sz; ++i) { in vp8_lookahead_destroy()
75 ctx->max_sz = depth; in vp8_lookahead_init()
99 if (ctx->sz + 2 > ctx->max_sz) return 1; in vp8_lookahead_push()
108 if (ctx->max_sz == 1 && active_map && !flags) { in vp8_lookahead_push()
152 if (ctx->sz && (drain || ctx->sz == ctx->max_sz - 1)) { in vp8_lookahead_pop()
164 assert(index < ctx->max_sz - 1); in vp8_lookahead_peek()
167 if (index >= ctx->max_sz) index -= ctx->max_sz; in vp8_lookahead_peek()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_lookahead.c26 assert(index < ctx->max_sz); in pop()
27 if (++index >= ctx->max_sz) index -= ctx->max_sz; in pop()
37 for (i = 0; i < ctx->max_sz; i++) vpx_free_frame_buffer(&ctx->buf[i].img); in vp9_lookahead_destroy()
65 ctx->max_sz = depth; in vp9_lookahead_init()
105 if (ctx->sz + 1 + MAX_PRE_FRAMES > ctx->max_sz) return 1; in vp9_lookahead_push()
126 if (!new_dimensions && ctx->max_sz == 1 && active_map && !flags) { in vp9_lookahead_push()
194 if (ctx && ctx->sz && (drain || ctx->sz == ctx->max_sz - MAX_PRE_FRAMES)) { in vp9_lookahead_pop()
209 if (index >= ctx->max_sz) index -= ctx->max_sz; in vp9_lookahead_peek()
216 if (index < 0) index += ctx->max_sz; in vp9_lookahead_peek()
Dvp9_lookahead.h35 int max_sz; /* Absolute size of the queue */ member
Dvp9_svc_layercontext.c913 if (ctx->sz && (drain || ctx->sz == ctx->max_sz - MAX_PRE_FRAMES)) { in vp9_svc_lookahead_pop()
/external/libaom/libaom/av1/encoder/
Dlookahead.c26 assert(index < ctx->max_sz); in pop()
27 if (++index >= ctx->max_sz) index -= ctx->max_sz; in pop()
37 for (i = 0; i < ctx->max_sz; i++) aom_free_frame_buffer(&ctx->buf[i].img); in av1_lookahead_destroy()
61 ctx->max_sz = depth; in av1_lookahead_init()
104 if (ctx->sz + 1 + MAX_PRE_FRAMES > ctx->max_sz) return 1; in av1_lookahead_push()
125 if (!new_dimensions && ctx->max_sz == 1 && active_map && !flags) { in av1_lookahead_push()
190 if (ctx && ctx->sz && (drain || ctx->sz == ctx->max_sz - MAX_PRE_FRAMES)) { in av1_lookahead_pop()
205 if (index >= ctx->max_sz) index -= ctx->max_sz; in av1_lookahead_peek()
212 if (index < 0) index += (int)(ctx->max_sz); in av1_lookahead_peek()
Dlookahead.h35 int max_sz; /* Absolute size of the queue */ member
/external/tcpdump/missing/
Dsnprintf.c64 size_t max_sz; member
97 if (state->max_sz && state->sz >= state->max_sz)
101 if (state->max_sz)
102 state->sz = min(state->sz, state->max_sz);
521 asnprintf (char **ret, size_t max_sz, const char *format, ...)
527 val = vasnprintf (ret, max_sz, format, args);
560 vasnprintf (char **ret, size_t max_sz, const char *format, va_list args)
566 state.max_sz = max_sz;
609 state.max_sz = 0; in vsnprintf()
/external/libpcap/missing/
Dsnprintf.c64 size_t max_sz; member
97 if (state->max_sz && state->sz >= state->max_sz)
101 if (state->max_sz)
102 state->sz = min(state->sz, state->max_sz);
521 pcap_asnprintf (char **ret, size_t max_sz, const char *format, ...)
527 val = pcap_vasnprintf (ret, max_sz, format, args);
560 pcap_vasnprintf (char **ret, size_t max_sz, const char *format, va_list args)
566 state.max_sz = max_sz;
609 state.max_sz = 0; in pcap_vsnprintf()
/external/python/cpython3/Lib/
Dsmtpd.py350 max_sz = (self.command_size_limits[command]
352 if sz > max_sz:
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_tri.c769 int max_sz = ((bbox->x1 - (bbox->x0 & ~3)) | in lp_setup_bin_triangle() local
771 int sz = floor_pot(max_sz); in lp_setup_bin_triangle()