Home
last modified time | relevance | path

Searched refs:code_size (Results 1 – 25 of 54) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
Dg726.c97 int code_size; member
174 if (c->code_size != 2 && i == 0) /* I'm not sure this is a good idea */ in quant()
197 int I_sig= I >> (c->code_size - 1); in g726_decode()
279 c->tbls = G726Tables_pool[c->code_size - 2]; in g726_reset()
300 i = av_mod_uintp2(quant(c, sig/4 - c->se), c->code_size); in g726_encode()
332 c->code_size = (avctx->bit_rate + avctx->sample_rate/2) / avctx->sample_rate; in g726_encode_init()
334 c->code_size = av_clip(c->code_size, 2, 5); in g726_encode_init()
335 avctx->bit_rate = c->code_size * avctx->sample_rate; in g726_encode_init()
336 avctx->bits_per_coded_sample = c->code_size; in g726_encode_init()
342 avctx->frame_size = ((int[]){ 4096, 2736, 2048, 1640 })[c->code_size - 2]; in g726_encode_init()
[all …]
Dgifdec.c132 int left, top, width, height, bits_per_pixel, code_size, flags, pw; in gif_read_image() local
247 code_size = bytestream2_get_byteu(&s->gb); in gif_read_image()
248 if ((ret = ff_lzw_decode_init(s->lzw, code_size, s->gb.buffer, in gif_read_image()
/third_party/ffmpeg/libavformat/
Dg726.c28 int code_size; member
43 st->codecpar->bits_per_coded_sample = c->code_size; in g726_read_header()
44 st->codecpar->bit_rate = ((int[]){ 16000, 24000, 32000, 40000 })[c->code_size - 2]; in g726_read_header()
62 … OFFSET(code_size), AV_OPT_TYPE_INT, {.i64 = 4}, 2, 5, AV_OPT_FLAG_DECODING_PARAM },
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c48 v->bo = etna_bo_new(ctx->screen->dev, v->code_size*4, DRM_ETNA_GEM_CACHE_WC); in etna_icache_upload_shader()
54 memcpy(buf, v->code, v->code_size*4); in etna_icache_upload_shader()
56 …oaded %s of %u words to bo %p", v->stage == MESA_SHADER_FRAGMENT ? "fs":"vs", v->code_size, v->bo); in etna_icache_upload_shader()
69 etna_disasm(shader->code, shader->code_size, PRINT_RAW); in etna_dump_shader()
173 cs->VS_END_PC = vs->code_size / 4; in etna_link_shaders()
209 cs->PS_END_PC = fs->code_size / 4; in etna_link_shaders()
258 cs->vs_inst_mem_size = vs->code_size; in etna_link_shaders()
261 cs->ps_inst_mem_size = fs->code_size; in etna_link_shaders()
390 v->code_size, in dump_shader_info()
Detnaviv_disk_cache.c102 v->code = malloc(4 * v->code_size); in retrieve_variant()
103 blob_copy_bytes(blob, v->code, 4 * v->code_size); in retrieve_variant()
119 blob_write_bytes(blob, v->code, 4 * v->code_size); in store_variant()
Detnaviv_compiler.h101 uint32_t code_size; /* code size in uint32 words */ member
/third_party/boost/boost/random/detail/
Dgray_coded_qrng.hpp53 inline static void code_size(size_type) {} in code_size() function
63 inline static void code_size(size_type code) { in code_size() function
121 check_bit_range_t::code_size(seq_code); in seed()
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c458 uint32_t code_size = ((uint32_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in jerry_snapshot_set_offsets() local
527 JERRY_ASSERT ((code_size % sizeof (uint32_t)) == 0); in jerry_snapshot_set_offsets()
528 buffer_p += code_size / sizeof (uint32_t); in jerry_snapshot_set_offsets()
529 size -= code_size; in jerry_snapshot_set_offsets()
557 uint32_t code_size = ((uint32_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in snapshot_load_compiled_code() local
614 || (header_size + (literal_end * sizeof (uint16_t)) + BYTECODE_NO_COPY_THRESHOLD > code_size)) in snapshot_load_compiled_code()
616 bytecode_p = (ecma_compiled_code_t *) jmem_heap_alloc_block (code_size); in snapshot_load_compiled_code()
619 jmem_stats_allocate_byte_code_bytes (code_size); in snapshot_load_compiled_code()
622 memcpy (bytecode_p, base_addr_p, code_size); in snapshot_load_compiled_code()
654 base_addr_p + code_size - argument_size, in snapshot_load_compiled_code()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_interface.cpp249 legacy_binary->code_size = code.size() * sizeof(uint32_t); in aco_compile_shader()
255 llvm_ir.copy((char*)legacy_binary->data + legacy_binary->stats_size + legacy_binary->code_size, in aco_compile_shader()
260 legacy_binary->code_size + llvm_ir.size(), in aco_compile_shader()
306 prolog_binary->code_size = code.size() * sizeof(uint32_t); in aco_compile_vs_prolog()
307 memcpy(prolog_binary->data, code.data(), prolog_binary->code_size); in aco_compile_vs_prolog()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_shader.c67 module->code_size = pCreateInfo->codeSize; in panvk_CreateShaderModule()
70 _mesa_sha1_compute(module->code, module->code_size, module->sha1); in panvk_CreateShaderModule()
/third_party/skia/third_party/externals/libjpeg-turbo/
Drdgif.c105 int code_size; /* current actual code size */ member
184 sinfo->code_size = sinfo->input_code_size + 1; in ReInitLZW()
220 while (sinfo->cur_bit + sinfo->code_size > sinfo->last_bit) { in GetCode()
256 sinfo->cur_bit += sinfo->code_size; in GetCode()
257 return accum & ((1 << sinfo->code_size) - 1); in GetCode()
333 sinfo->code_size < MAX_LZW_BITS) { in LZWReadByte()
334 sinfo->code_size++; in LZWReadByte()
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif-dot-rs/src/
Dmain.rs108 let (code_size, blocks) = match rendering { in decode()
113 let num_bytes = gif::lzw::decode_lzw(&colors, code_size as usize, blocks, dst).unwrap(); in decode()
/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c241 prev_rgp_shader_data->code_size; in ac_rgp_file_write_elf_text()
255 fwrite(rgp_shader_data->code, 1, rgp_shader_data->code_size, output); in ac_rgp_file_write_elf_text()
256 *elf_size_calc += rgp_shader_data->code_size; in ac_rgp_file_write_elf_text()
260 symbol_offset += rgp_shader_data->code_size; in ac_rgp_file_write_elf_text()
344 elf_sym.st_size = record->shader_data[i].code_size; in ac_rgp_file_write_elf_symbol_table()
Dac_rgp.h51 uint32_t code_size; member
/third_party/python/Modules/
Dunicodename_db.h28988 #define code_size 65536 macro
/third_party/node/deps/brotli/c/dec/
Dstate.c144 const size_t code_size = sizeof(HuffmanCode) * ntrees * max_table_size; in BrotliDecoderHuffmanTreeGroupInit() local
148 code_size + htree_size); in BrotliDecoderHuffmanTreeGroupInit()
/third_party/skia/third_party/externals/brotli/c/dec/
Dstate.c144 const size_t code_size = sizeof(HuffmanCode) * ntrees * max_table_size; in BrotliDecoderHuffmanTreeGroupInit() local
148 code_size + htree_size); in BrotliDecoderHuffmanTreeGroupInit()
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_compute_internal.h39 unsigned code_size; member
Devergreen_compute.c310 binary->code_size = section_data->d_size; in r600_elf_read()
311 binary->code = MALLOC(binary->code_size * sizeof(unsigned char)); in r600_elf_read()
312 memcpy(binary->code, section_data->d_buf, binary->code_size); in r600_elf_read()
410 assert(binary->code_size % 4 == 0); in r600_create_shader()
411 bc->bytecode = CALLOC(1, binary->code_size); in r600_create_shader()
412 memcpy(bc->bytecode, binary->code, binary->code_size); in r600_create_shader()
413 bc->ndw = binary->code_size / 4; in r600_create_shader()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.h32 unsigned code_size; member
Dnvc0_program.c562 _debug_printf("shader binary code (0x%x bytes):", prog->code_size); in nvc0_program_dump()
563 for (pos = 0; pos < prog->code_size / 4; ++pos) { in nvc0_program_dump()
685 prog->code_size = info_out.bin.codeSize; in nvc0_program_translate()
778 uint32_t size = prog->code_size; in nvc0_program_alloc_code()
868 NV_VRAM_DOMAIN(&screen->base), prog->code_size, in nvc0_program_upload_code()
878 uint32_t size = prog->code_size; in nvc0_program_upload()
/third_party/libsnd/src/G72x/
Dg72x_priv.h93 void update (int code_size, int y, int wi, int fi, int dq, int sr, int dqsez, G72x_STATE *state_ptr…
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c1257 shader->alloc = alloc_shader_memory(device, shader->code_size, shader); in radv_alloc_shader_memory()
1296 radv_get_shader_binary_size(size_t code_size) in radv_get_shader_binary_size() argument
1298 return code_size + DEBUGGER_NUM_MARKERS * 4; in radv_get_shader_binary_size()
1629 variant->code_size = rtld_binary.rx_size; in radv_shader_variant_create()
1634 variant->code_size = in radv_shader_variant_create()
1635 radv_get_shader_binary_size(((struct radv_shader_binary_legacy *)binary)->code_size); in radv_shader_variant_create()
1691 memcpy(dest_ptr, bin->data + bin->stats_size, bin->code_size); in radv_shader_variant_create()
1694 uint32_t *ptr32 = (uint32_t *)dest_ptr + bin->code_size / 4; 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()
[all …]
Dradv_shader.h409 unsigned code_size; member
431 unsigned code_size; member
464 uint32_t code_size; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.h64 unsigned code_size; member

123