Home
last modified time | relevance | path

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

/external/libvpx/
Dvpxenc.c110 size_t buf_alloc_sz; member
151 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file); in stats_open_file()
154 stats->buf.buf = malloc(stats->buf_alloc_sz); in stats_open_file()
159 stats->buf_alloc_sz); in stats_open_file()
179 stats->buf_alloc_sz = 64 * 1024; in stats_open_mem()
180 stats->buf.buf = malloc(stats->buf_alloc_sz); in stats_open_mem()
221 if (stats->buf.sz + len > stats->buf_alloc_sz) in stats_write()
223 size_t new_sz = stats->buf_alloc_sz + 64 * 1024; in stats_write()
230 stats->buf_alloc_sz = new_sz; in stats_write()
Dvpxdec.c209 size_t *buf_alloc_sz) in read_frame() argument
271 if (new_buf_sz > *buf_alloc_sz) in read_frame()
278 *buf_alloc_sz = 2 * new_buf_sz; in read_frame()
687 size_t buf_sz = 0, buf_alloc_sz = 0; in main() local
935 while (!read_frame(&input, &buf, &buf_sz, &buf_alloc_sz)) in main()