/third_party/libwebsockets/lib/roles/http/server/ |
H A D | fops-zip.c | 59 uint32_t comp_size; member 148 _priv->hdr.uncomp_size : _priv->hdr.comp_size) 224 priv->hdr.comp_size = get_u32(buf + ZC_COMPRESSED_SIZE); in lws_fops_zip_scan() 413 priv->fop_fd.len = sizeof(hd) + priv->hdr.comp_size + in lws_fops_zip_open() 561 cur != priv->content_start + priv->hdr.comp_size) in lws_fops_zip_read() 594 fd->pos < priv->hdr.comp_size + sizeof(hd)) { in lws_fops_zip_read() 596 rlen = priv->hdr.comp_size - (priv->zip_fop_fd->pos - in lws_fops_zip_read() 602 priv->zip_fop_fd->pos < (priv->hdr.comp_size + in lws_fops_zip_read() 616 if (len && fd->pos >= priv->hdr.comp_size + sizeof(hd) && in lws_fops_zip_read() 617 fd->pos < priv->hdr.comp_size in lws_fops_zip_read() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | zmbvenc.c | 74 int comp_size; member 273 zstream->avail_out = c->comp_size; in encode_frame() 377 c->comp_size = avctx->width * c->bypp * avctx->height + 1024 + in encode_init() 379 if (!(c->work_buf = av_malloc(c->comp_size))) { in encode_init() 384 c->comp_size = c->comp_size + ((c->comp_size + 7) >> 3) + in encode_init() 385 ((c->comp_size + 63) >> 6) + 11; in encode_init() 388 if (!(c->comp_buf = av_malloc(c->comp_size))) { in encode_init()
|
H A D | flashsv2enc.c | 123 double comp_size; ///< size of compressed data since last keyframe member 178 s->raw_size = s->comp_size = s->uncomp_size = 10; in reset_stats() 675 s->comp_size += b->data_size; in encode_all_blocks() 744 comp_ratio = s->comp_size / s->uncomp_size; in recommend_keyframe() 745 data_ratio = s->comp_size / s->raw_size; in recommend_keyframe() 765 double save = (1-pow(s->diff_lines/s->diff_blocks/s->block_height, 0.5)) * s->comp_size/s->tot_blocks; in optimum_block_width() 777 double save = (1-pow(s->diff_lines/s->diff_blocks/s->block_height, 0.5)) * s->comp_size/s->tot_blocks; in optimum_block_height()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_etc.c | 864 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; in etc2_unpack_r11() local 877 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps * comp_size; in etc2_unpack_r11() 880 dst += comps * comp_size; in etc2_unpack_r11() 901 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; in etc2_unpack_rg11() local 916 x * comps * comp_size; in etc2_unpack_rg11() 919 dst += comps * comp_size; in etc2_unpack_rg11() 927 x * comps * comp_size; in etc2_unpack_rg11() 929 etc2_r11_fetch_texel(&block, i, j, dst + comp_size); in etc2_unpack_rg11() 930 dst += comps * comp_size; in etc2_unpack_rg11() 951 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size in etc2_unpack_signed_r11() local 989 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; etc2_unpack_signed_rg11() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_offsets.c | 152 unsigned comp_size = (intrin->intrinsic == nir_intrinsic_load_shared2_amd ? in try_fold_shared2() local 154 unsigned stride = (nir_intrinsic_st64(intrin) ? 64 : 1) * comp_size; in try_fold_shared2() 165 bool st64 = offset0 % (64 * comp_size) == 0 && offset1 % (64 * comp_size) == 0; in try_fold_shared2() 166 stride = (st64 ? 64 : 1) * comp_size; in try_fold_shared2()
|
H A D | nir_lower_shader_calls.c | 272 const unsigned comp_size = def->bit_size / 8; in spill_fill() local 277 .align_mul = MIN2(comp_size, stack_alignment), in spill_fill() 280 nir_imm_int(after, offset), .align_mul = MIN2(comp_size, stack_alignment)); in spill_fill() 284 nir_store_global(before, addr, MIN2(comp_size, stack_alignment), def, ~0); in spill_fill() 286 def = nir_load_global(after, addr, MIN2(comp_size, stack_alignment), in spill_fill() 434 const unsigned comp_size = def->bit_size / 8; in spill_ssa_defs_and_lower_shader_calls() local 435 offset = ALIGN(offset, comp_size); in spill_ssa_defs_and_lower_shader_calls() 443 offset += def->num_components * comp_size; in spill_ssa_defs_and_lower_shader_calls()
|
/third_party/lz4/examples/ |
H A D | compress_functions.c | 117 const size_t comp_size in bench() 191 rv = LZ4_decompress_safe(src, dst, comp_size, src_size); in bench() 198 LZ4_decompress_safe(src, dst, comp_size, src_size); in bench()
|
/third_party/skia/modules/skottie/src/ |
H A D | Layer.h | 20 LayerBuilder(const skjson::ObjectValue& jlayer, const SkSize& comp_size);
|
H A D | Skottie.cpp | 166 const SkSize& comp_size, float duration, float framerate, in AnimationBuilder() 176 , fCompSize(comp_size) in AnimationBuilder() 161 AnimationBuilder(sk_sp<ResourceProvider> rp, sk_sp<SkFontMgr> fontmgr, sk_sp<PropertyObserver> pobserver, sk_sp<Logger> logger, sk_sp<MarkerObserver> mobserver, sk_sp<PrecompInterceptor> pi, sk_sp<ExpressionManager> expressionmgr, Animation::Builder::Stats* stats, const SkSize& comp_size, float duration, float framerate, uint32_t flags) AnimationBuilder() argument
|
H A D | Layer.cpp | 305 LayerBuilder::LayerBuilder(const skjson::ObjectValue& jlayer, const SkSize& comp_size) in LayerBuilder() argument 311 , fInfo{comp_size, in LayerBuilder()
|
H A D | SkottiePriv.h | 57 Animation::Builder::Stats*, const SkSize& comp_size,
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_shader.c | 211 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local 214 *size = comp_size * length, in shared_type_info() 215 *align = comp_size * (length == 3 ? 4 : length); in shared_type_info()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir_lower_io_offsets.c | 176 unsigned comp_size = intrinsic->dest.ssa.bit_size / 8; in scalarize_load() local 180 nir_iadd(b, offset, nir_imm_int(b, i * comp_size)), in scalarize_load()
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
H A D | dxil_spirv_nir.c | 41 uint32_t comp_size = glsl_type_is_boolean(type) ? 4 : glsl_get_bit_size(type) / 8; in shared_var_info() local 43 *size = comp_size * length; in shared_var_info() 44 *align = comp_size; in shared_var_info()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cEnhancedLayoutsTests.cpp | 26477 const GLuint comp_size = Utils::Type::GetTypeSize(type.m_basic_type); in test() local 26502 memcpy(&xfb.m_expected_data[0] + 2 * type_size + 0 * comp_size, &goku_data[0] + 0 * comp_size, comp_size); in test() 26503 memcpy(&xfb.m_expected_data[0] + 2 * type_size + 2 * comp_size, &goku_data[0] + 2 * comp_size, comp_size); in test() 26506 memcpy(&xfb.m_expected_data[0] + 0 * type_size + 1 * comp_size, &gohan_data[0] + 1 * comp_size, comp_size); in test() 26785 static const GLuint comp_size = 4; test() local [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_shader.c | 670 unsigned comp_size = in shared_type_info() local 673 *size = comp_size * length; in shared_type_info() 674 *align = comp_size; in shared_type_info()
|
/third_party/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler.c | 570 unsigned comp_size = intrin->dest.ssa.bit_size / 8; in split_unaligned_load() local 580 unsigned num_loads = DIV_ROUND_UP(comp_size * num_comps, alignment); in split_unaligned_load() 598 unsigned comp_size = value->bit_size / 8; in split_unaligned_store() local 608 unsigned num_stores = DIV_ROUND_UP(comp_size * num_comps, alignment); in split_unaligned_store()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_pipeline.c | 120 uint32_t comp_size = glsl_type_is_boolean(type) in shared_var_info() local 123 *size = comp_size * length, in shared_var_info() 124 *align = comp_size; in shared_var_info()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_mesh.cpp | 86 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local 89 *size = comp_size * length, in shared_type_info() 90 *align = comp_size * (length == 3 ? 4 : length); in shared_type_info()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_glsl_to_nir.cpp | 275 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local 278 *size = comp_size * length, in shared_type_info() 279 *align = comp_size * (length == 3 ? 4 : length); in shared_type_info()
|
/third_party/astc-encoder/Source/ |
H A D | tinyexr.h | 5128 mz_uint total_header_size, comp_size, decomp_size, disk_index; in mz_zip_reader_read_central_dir() local 5138 comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); in mz_zip_reader_read_central_dir() 5141 (decomp_size != comp_size)) || in mz_zip_reader_read_central_dir() 5142 (decomp_size && !comp_size) || (decomp_size == 0xFFFFFFFF) || in mz_zip_reader_read_central_dir() 5143 (comp_size == 0xFFFFFFFF)) in mz_zip_reader_read_central_dir() 5148 MZ_ZIP_LOCAL_DIR_HEADER_SIZE + comp_size) > pZip->m_archive_size) in mz_zip_reader_read_central_dir() 5632 mz_uint64 comp_size, uncomp_size, alloc_size; in mz_zip_reader_extract_to_heap() local 5639 comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); in mz_zip_reader_extract_to_heap() 5642 alloc_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? comp_size : uncomp_size; in mz_zip_reader_extract_to_heap() 6142 mz_uint16 extra_size, mz_uint64 uncomp_size, mz_uint64 comp_size, in mz_zip_writer_create_local_dir_header() 6140 mz_zip_writer_create_local_dir_header( mz_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date) mz_zip_writer_create_local_dir_header() argument 6161 mz_zip_writer_create_central_dir_header( mz_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint16 comment_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date, mz_uint64 local_header_ofs, mz_uint32 ext_attributes) mz_zip_writer_create_central_dir_header() argument 6186 mz_zip_writer_add_to_central_dir( mz_zip_archive *pZip, const char *pFilename, mz_uint16 filename_size, const void *pExtra, mz_uint16 extra_size, const void *pComment, mz_uint16 comment_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date, mz_uint64 local_header_ofs, mz_uint32 ext_attributes) mz_zip_writer_add_to_central_dir() argument 6274 cur_archive_file_ofs = pZip->m_archive_size, comp_size = 0; mz_zip_writer_add_mem_ex() local 6446 comp_size = 0; mz_zip_writer_add_file() local [all...] |
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | nir_to_dxil.c | 3203 unsigned comp_size = intr->src[0].ssa->bit_size == 64 ? 2 : 1; in emit_store_output_via_intrinsic() local 3207 else if (comp_size == 1) in emit_store_output_via_intrinsic() 3212 comp_mask |= 3 << ((i + var_base_component) * comp_size); in emit_store_output_via_intrinsic() 3347 unsigned comp_size = intr->dest.ssa.bit_size == 64 ? 2 : 1; in emit_load_input_via_intrinsic() local 3348 unsigned comp_mask = (1 << (intr->num_components * comp_size)) - 1; in emit_load_input_via_intrinsic() 3349 comp_mask <<= (var_base_component * comp_size); in emit_load_input_via_intrinsic() 3445 unsigned comp_size = intr->dest.ssa.bit_size == 64 ? 2 : 1; in emit_load_interpolated_input() local 3446 unsigned comp_mask = (1 << (intr->num_components * comp_size)) - 1; in emit_load_interpolated_input() 3447 comp_mask <<= (var_base_component * comp_size); in emit_load_interpolated_input()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | load_store_vectorizer_tests.cpp | 381 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local 384 *size = comp_size * length, in shared_type_info() 385 *align = comp_size; in shared_type_info()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_shader.c | 274 uint32_t comp_size = glsl_type_is_boolean(type) ? 4 : glsl_get_bit_size(type) / 8; in shared_var_info() local 276 *size = comp_size * length, *align = comp_size; in shared_var_info()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline.c | 3122 uint32_t comp_size = glsl_type_is_boolean(type) in shared_type_info() local 3125 *size = comp_size * length, in shared_type_info() 3126 *align = comp_size * (length == 3 ? 4 : length); in shared_type_info()
|