Home
last modified time | relevance | path

Searched refs:stats_size (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlibtheoraenc.c48 int stats_size; member
102 void *tmp = av_fast_realloc(h->stats, &h->stats_size, in get_stats()
137 h->stats_size = strlen(avctx->stats_in) * 3/4; in submit_stats()
138 h->stats = av_malloc(h->stats_size); in submit_stats()
140 h->stats_size = 0; in submit_stats()
143 h->stats_size = av_base64_decode(h->stats, avctx->stats_in, h->stats_size); in submit_stats()
145 while (h->stats_size - h->stats_offset > 0) { in submit_stats()
148 h->stats_size - h->stats_offset); in submit_stats()
Dhuffman.c58 int ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats, int stats_size, int skip0) in ff_huff_gen_len_table() argument
60 HeapElem *h = av_malloc_array(sizeof(*h), stats_size); in ff_huff_gen_len_table()
61 int *up = av_malloc_array(sizeof(*up) * 2, stats_size); in ff_huff_gen_len_table()
62 uint8_t *len = av_malloc_array(sizeof(*len) * 2, stats_size); in ff_huff_gen_len_table()
63 uint16_t *map= av_malloc_array(sizeof(*map), stats_size); in ff_huff_gen_len_table()
73 for (i = 0; i<stats_size; i++) { in ff_huff_gen_len_table()
/third_party/mesa3d/src/amd/compiler/
Daco_interface.cpp225 size_t stats_size = 0; in aco_compile_shader() local
227 stats_size = aco::num_statistics * sizeof(uint32_t); in aco_compile_shader()
228 size += stats_size; in aco_compile_shader()
244 legacy_binary->stats_size = stats_size; in aco_compile_shader()
246 memcpy(legacy_binary->data + legacy_binary->stats_size, code.data(), in aco_compile_shader()
255 llvm_ir.copy((char*)legacy_binary->data + legacy_binary->stats_size + legacy_binary->code_size, in aco_compile_shader()
259 disasm.copy((char*)legacy_binary->data + legacy_binary->stats_size + in aco_compile_shader()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c1691 memcpy(dest_ptr, bin->data + bin->stats_size, bin->code_size); in radv_shader_variant_create()
1700 bin->ir_size ? strdup((const char *)(bin->data + bin->stats_size + bin->code_size)) : NULL; in radv_shader_variant_create()
1703 ? strdup((const char *)(bin->data + bin->stats_size + bin->code_size + bin->ir_size)) in radv_shader_variant_create()
1706 if (bin->stats_size) { in radv_shader_variant_create()
1707 variant->statistics = calloc(bin->stats_size, 1); in radv_shader_variant_create()
1708 memcpy(variant->statistics, bin->data, bin->stats_size); in radv_shader_variant_create()
Dradv_shader.h413 unsigned stats_size; member