Home
last modified time | relevance | path

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

/external/libvpx/libvpx/
Dvpxdec.c228 size_t *buf_alloc_sz) in read_frame() argument
290 if (new_buf_sz > *buf_alloc_sz) in read_frame()
297 *buf_alloc_sz = 2 * new_buf_sz; in read_frame()
706 size_t buf_sz = 0, buf_alloc_sz = 0; in main() local
1036 while (!read_frame(&input, &buf, &buf_sz, &buf_alloc_sz)) in main()
Dvpxenc.c159 size_t buf_alloc_sz; member
197 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file); in stats_open_file()
200 stats->buf.buf = malloc(stats->buf_alloc_sz); in stats_open_file()
204 (unsigned long)stats->buf_alloc_sz); in stats_open_file()
222 stats->buf_alloc_sz = 64 * 1024; in stats_open_mem()
223 stats->buf.buf = malloc(stats->buf_alloc_sz); in stats_open_mem()
264 if (stats->buf.sz + len > stats->buf_alloc_sz) in stats_write()
266 size_t new_sz = stats->buf_alloc_sz + 64 * 1024; in stats_write()
273 stats->buf_alloc_sz = new_sz; in stats_write()