Home
last modified time | relevance | path

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

123

/third_party/cups-filters/cupsfilters/
Dimage-gif.c53 static int gif_get_code (FILE *fp, int code_size, int first_time);
298 int code_size, /* I - Size of code in bits */ in gif_get_code() argument
330 if ((curbit + code_size) >= lastbit) in gif_get_code()
378 for (ret = 0, i = curbit + code_size - 1, j = code_size; in gif_get_code()
383 curbit += code_size; in gif_get_code()
447 unsigned char code_size; /* Code size */ in gif_read_image() local
466 code_size = getc(fp); in gif_read_image()
471 if (code_size > GIF_MAX_BITS || gif_read_lzw(fp, 1, code_size) < 0) in gif_read_image()
478 while ((pixel = gif_read_lzw(fp, 0, code_size)) >= 0) in gif_read_image()
542 code_size, /* Current code size */ in gif_read_lzw() local
[all …]
/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 …]
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_pds.c605 uint32_t code_size = 1 + program->num_emit_word_pairs; in pvr_pds_generate_pixel_event() local
610 program->code_size = code_size; in pvr_pds_generate_pixel_event()
728 uint32_t code_size = 0; in pvr_pds_vertex_shader() local
956 code_size += 1; in pvr_pds_vertex_shader()
1045 code_size += 1; in pvr_pds_vertex_shader()
1052 code_size += 3; in pvr_pds_vertex_shader()
1055 code_size += 1; in pvr_pds_vertex_shader()
1058 code_size += 1; in pvr_pds_vertex_shader()
1061 code_size += 1; in pvr_pds_vertex_shader()
1077 code_size += 1; in pvr_pds_vertex_shader()
[all …]
Dpvr_pds.h129 unsigned int code_size; member
151 uint32_t code_size; member
170 uint32_t code_size; member
221 uint32_t code_size; member
239 uint32_t code_size; member
252 uint32_t code_size; member
272 uint32_t code_size; member
324 uint32_t code_size; member
446 uint32_t code_size; member
463 uint32_t code_size; /*!< total code size, non-aligned. */ member
[all …]
/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.c49 v->bo = etna_bo_new(ctx->screen->dev, v->code_size*4, DRM_ETNA_GEM_CACHE_WC); in etna_icache_upload_shader()
55 memcpy(buf, v->code, v->code_size*4); in etna_icache_upload_shader()
57 …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()
70 etna_disasm(shader->code, shader->code_size, PRINT_RAW); in etna_dump_shader()
171 cs->VS_END_PC = vs->code_size / 4; in etna_link_shaders()
207 cs->PS_END_PC = fs->code_size / 4; in etna_link_shaders()
256 cs->vs_inst_mem_size = vs->code_size; in etna_link_shaders()
259 cs->ps_inst_mem_size = fs->code_size; in etna_link_shaders()
388 v->code_size, in dump_shader_info()
Detnaviv_disk_cache.c99 v->code = malloc(4 * v->code_size); in retrieve_variant()
100 blob_copy_bytes(blob, v->code, 4 * v->code_size); in retrieve_variant()
116 blob_write_bytes(blob, v->code, 4 * v->code_size); in store_variant()
/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/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/mesa3d/src/amd/vulkan/
Dradv_shader.c1619 radv_get_shader_binary_size(size_t code_size) in radv_get_shader_binary_size() argument
1621 return code_size + DEBUGGER_NUM_MARKERS * 4; in radv_get_shader_binary_size()
1990 memcpy(dest_ptr, bin->data + bin->stats_size, bin->code_size); in radv_shader_binary_upload()
1993 uint32_t *ptr32 = (uint32_t *)dest_ptr + bin->code_size / 4; in radv_shader_binary_upload()
2043 shader->code_size = rtld_binary.rx_size; in radv_shader_create()
2050 shader->code_size = in radv_shader_create()
2051 radv_get_shader_binary_size(((struct radv_shader_binary_legacy *)binary)->code_size); in radv_shader_create()
2100 bin->ir_size ? strdup((const char *)(bin->data + bin->stats_size + bin->code_size)) : NULL; in radv_shader_create()
2103 ? strdup((const char *)(bin->data + bin->stats_size + bin->code_size + bin->ir_size)) in radv_shader_create()
2178 legacy_binary->code_size = code_dw * sizeof(uint32_t); in radv_aco_build_shader_binary()
[all …]
Dradv_shader.h441 unsigned code_size; member
463 unsigned code_size; member
497 uint32_t code_size; member
/third_party/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/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c243 prev_rgp_shader_data->code_size; in ac_rgp_file_write_elf_text()
257 fwrite(rgp_shader_data->code, 1, rgp_shader_data->code_size, output); in ac_rgp_file_write_elf_text()
258 *elf_size_calc += rgp_shader_data->code_size; in ac_rgp_file_write_elf_text()
262 symbol_offset += rgp_shader_data->code_size; in ac_rgp_file_write_elf_text()
346 elf_sym.st_size = record->shader_data[i].code_size; in ac_rgp_file_write_elf_symbol_table()
/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/imagination/vulkan/
Dpvr_device.c1152 program.data_size * sizeof(uint32_t) + program.code_size; in pvr_device_init_compute_fence_program()
1173 program.code_size / sizeof(uint32_t), in pvr_device_init_compute_fence_program()
1219 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_idfwdf_programs_create_and_upload()
1249 program.code_size, in pvr_pds_idfwdf_programs_create_and_upload()
1263 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_idfwdf_programs_create_and_upload()
1297 program.code_size, in pvr_pds_idfwdf_programs_create_and_upload()
1510 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_device_init_nop_program()
1529 program.code_size, in pvr_device_init_nop_program()
2194 size_t code_size, in pvr_gpu_upload_usc() argument
2201 assert(code_size > 0); in pvr_gpu_upload_usc()
[all …]
Dpvr_pipeline.c81 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_coeff_program_create_and_upload()
109 program.code_size, in pvr_pds_coeff_program_create_and_upload()
156 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_fragment_program_create_and_upload()
178 program.code_size, in pvr_pds_fragment_program_create_and_upload()
887 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_compute_program_create_and_upload()
906 &staging_buffer[program.code_size], in pvr_pds_compute_program_create_and_upload()
912 &staging_buffer[program.code_size], in pvr_pds_compute_program_create_and_upload()
916 program.code_size, in pvr_pds_compute_program_create_and_upload()
927 .code_size_in_dwords = program.code_size, in pvr_pds_compute_program_create_and_upload()
977 buffer_size = MAX2(program.code_size, program.data_size) * sizeof(*buffer); in pvr_pds_compute_base_workgroup_variant_program_init()
[all …]
/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/python/Modules/
Dunicodename_db.h28988 #define code_size 65536 macro
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
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()
Dnvc0_program.h32 unsigned code_size; member
/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/amd/compiler/
Daco_interface.h66 uint32_t code_size,
/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…

123