/third_party/ffmpeg/libavcodec/ |
D | hapenc.c | 60 if (ctx->tex_size > out_length) in compress_texture() 108 chunk->uncompressed_size = ctx->tex_size / ctx->chunk_count; in hap_compress_frame() 200 int pktsize = FFMAX(ctx->tex_size, ctx->max_snappy * ctx->chunk_count) + header_length; in hap_encode() 214 final_data_size = ctx->tex_size; in hap_encode() 217 ret = compress_texture(avctx, ctx->tex_buf, ctx->tex_size, frame); in hap_encode() 283 ctx->tex_size = FFALIGN(avctx->width, TEXTURE_BLOCK_W) * in hap_init() 291 ctx->max_snappy = ctx->tex_size; in hap_init() 297 while ((ctx->tex_size / (64 / ratio)) % corrected_chunk_count != 0) { in hap_init() 301 ctx->max_snappy = snappy_max_compressed_length(ctx->tex_size / corrected_chunk_count); in hap_init() 302 ctx->tex_buf = av_malloc(ctx->tex_size); in hap_init()
|
D | dxv.c | 44 int64_t tex_size; // Texture size member 301 while (pos + 2 <= ctx->tex_size / 4) { in dxv_decompress_dxt1() 496 uint8_t *tex_data, int tex_size, in dxv_decompress_cgo() argument 724 if (dst - tex_data + 8 > tex_size) in dxv_decompress_cgo() 736 uint8_t *tex_data, int tex_size, in dxv_decompress_cocg() argument 775 while (dst + 10 < tex_data + tex_size) { in dxv_decompress_cocg() 776 ret = dxv_decompress_cgo(ctx, gb, tex_data, tex_size, op_data0, &oi0, op_size0, in dxv_decompress_cocg() 780 ret = dxv_decompress_cgo(ctx, gb, tex_data, tex_size, op_data1, &oi1, op_size1, in dxv_decompress_cocg() 792 uint8_t *tex_data, int tex_size, in dxv_decompress_yo() argument 821 while (dst < tex_data + tex_size) { in dxv_decompress_yo() [all …]
|
D | hapdec.c | 186 ctx->tex_size = 0; in hap_parse_frame_header() 196 chunk->uncompressed_offset = ctx->tex_size; in hap_parse_frame_header() 214 ctx->tex_size += chunk->uncompressed_size; in hap_parse_frame_header() 235 int64_t uncompressed_size = ctx->tex_size; in decompress_chunks_thread() 346 if (ctx->tex_size != (avctx->coded_width / TEXTURE_BLOCK_W) in hap_decode() 360 int tex_size; in hap_decode() local 363 tex_size = FFMIN(ctx->texture_section_size, bytestream2_get_bytes_left(&ctx->gbc)); in hap_decode() 364 if (tex_size < (avctx->coded_width / TEXTURE_BLOCK_W) in hap_decode() 372 ret = av_reallocp(&ctx->tex_buf, ctx->tex_size); in hap_decode()
|
D | hap.h | 79 size_t tex_size; /* Size of the compressed texture */ member
|
D | mpeg4videoenc.c | 1328 int tex_size = (size - 2 * pb_size) & (~3); in ff_mpeg4_init_partitions() local 1331 init_put_bits(&s->tex_pb, start + pb_size, tex_size); in ff_mpeg4_init_partitions() 1332 init_put_bits(&s->pb2, start + pb_size + tex_size, pb_size); in ff_mpeg4_init_partitions()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_lower_cubemap_to_array.c | 185 …f *x, nir_ssa_def *y, nir_ssa_def *face, nir_ssa_def *array_slice_cube_base, nir_ssa_def *tex_size) in handle_cube_edge() argument 256 tex_size = nir_channel(b, tex_size, 0); in handle_cube_edge() 258 nir_ssa_def *x_on = nir_iand(b, nir_ige(b, x, zero), nir_ige(b, tex_size, x)); in handle_cube_edge() 259 nir_ssa_def *y_on = nir_iand(b, nir_ige(b, y, zero), nir_ige(b, tex_size, y)); in handle_cube_edge() 271 nir_iand(b, one_on, nir_ilt(b, tex_size, x)), in handle_cube_edge() 273 nir_iand(b, one_on, nir_ilt(b, tex_size, y)), in handle_cube_edge() 281 remap_array[cube_remap_tex_size] = tex_size; in handle_cube_edge() 282 remap_array[cube_remap_tex_size_minus_x] = nir_isub(b, tex_size, x); in handle_cube_edge() 283 remap_array[cube_remap_tex_size_minus_y] = nir_isub(b, tex_size, y); in handle_cube_edge() 306 nir_ssa_def *tex_size = nir_get_texture_size(b, tex); in handle_cube_gather() local [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_cubemaps.c | 224 …f *x, nir_ssa_def *y, nir_ssa_def *face, nir_ssa_def *array_slice_cube_base, nir_ssa_def *tex_size) in handle_cube_edge() argument 295 tex_size = nir_channel(b, tex_size, 0); in handle_cube_edge() 297 nir_ssa_def *x_on = nir_iand(b, nir_ige(b, x, zero), nir_ige(b, tex_size, x)); in handle_cube_edge() 298 nir_ssa_def *y_on = nir_iand(b, nir_ige(b, y, zero), nir_ige(b, tex_size, y)); in handle_cube_edge() 310 nir_iand(b, one_on, nir_ilt(b, tex_size, x)), in handle_cube_edge() 312 nir_iand(b, one_on, nir_ilt(b, tex_size, y)), in handle_cube_edge() 320 remap_array[cube_remap_tex_size] = tex_size; in handle_cube_edge() 321 remap_array[cube_remap_tex_size_minus_x] = nir_isub(b, tex_size, x); in handle_cube_edge() 322 remap_array[cube_remap_tex_size_minus_y] = nir_isub(b, tex_size, y); in handle_cube_edge() 344 nir_ssa_def *tex_size = nir_get_texture_size(b, tex); in handle_cube_gather() local [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/shaders/ |
D | view_convert.frag | 32 ivec2 tex_size; 75 if (int(mod(l_coord.x * tex_size.x, 2.0)) == 0) { 81 if (int(mod(l_coord.y * tex_size.y, 2.0)) == 0) { 87 if (int(mod(l_coord.x * tex_size.x, 2.0)) == 88 int(mod(l_coord.y * tex_size.y, 2.0))) {
|
/third_party/skia/third_party/externals/imgui/misc/freetype/ |
D | imgui_freetype.cpp | 606 size_t tex_size = (size_t)atlas->TexWidth * atlas->TexHeight * 4; in ImFontAtlasBuildWithFreeTypeEx() local 607 atlas->TexPixelsRGBA32 = (unsigned int*)IM_ALLOC(tex_size); in ImFontAtlasBuildWithFreeTypeEx() 608 memset(atlas->TexPixelsRGBA32, 0, tex_size); in ImFontAtlasBuildWithFreeTypeEx() 612 size_t tex_size = (size_t)atlas->TexWidth * atlas->TexHeight * 1; in ImFontAtlasBuildWithFreeTypeEx() local 613 atlas->TexPixelsAlpha8 = (unsigned char*)IM_ALLOC(tex_size); in ImFontAtlasBuildWithFreeTypeEx() 614 memset(atlas->TexPixelsAlpha8, 0, tex_size); in ImFontAtlasBuildWithFreeTypeEx()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
D | esextcGPUShader5TextureGatherOffset.cpp | 1466 unsigned int index, unsigned int tex_size) in checkResult() argument 1469 const glw::GLint texture_size = (glw::GLint)tex_size; in checkResult() 2013 unsigned int index, unsigned int tex_size) in checkResult() argument 2016 const glw::GLint texture_size = (glw::GLint)tex_size; in checkResult() 2365 unsigned int index, unsigned int tex_size) in checkResult() argument 2368 const glw::GLint texture_size = (glw::GLint)tex_size; in checkResult() 2506 unsigned int index, unsigned int tex_size) in checkResult() argument 2509 const glw::GLint texture_size = (glw::GLint)tex_size; in checkResult() 3061 unsigned int index, unsigned int tex_size) in checkResult() argument 3064 const glw::GLint texture_size = (glw::GLint)tex_size; in checkResult()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.h | 189 void (*tex_size)(struct lp_build_nir_context *bld_base, member
|
D | lp_bld_nir.c | 2251 bld_base->tex_size(bld_base, ¶ms); in visit_txs()
|
D | lp_bld_nir_soa.c | 2726 bld.bld_base.tex_size = emit_tex_size; in lp_build_nir_soa()
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/ |
D | vkcolorconvert.c | 693 int tex_size[2]; member 732 data.tex_size[0] = GST_VIDEO_INFO_WIDTH (&conv->quad->in_info); in yuv_to_rgb_create_uniform_memory() 733 data.tex_size[1] = GST_VIDEO_INFO_HEIGHT (&conv->quad->in_info); in yuv_to_rgb_create_uniform_memory()
|
D | vkviewconvert.c | 69 int tex_size[2]; member 482 data.tex_size[0] = GST_VIDEO_INFO_WIDTH (&vfilter->out_info); in update_uniform() 483 data.tex_size[1] = GST_VIDEO_INFO_HEIGHT (&vfilter->out_info); in update_uniform()
|
/third_party/libdrm/include/drm/ |
D | i915_drm.h | 226 int tex_size; member
|
/third_party/mesa3d/include/drm-uapi/ |
D | i915_drm.h | 350 int tex_size; member
|