Home
last modified time | relevance | path

Searched refs:tile_width (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c46 const unsigned tile_width = 8, tile_height = 4; in micro_tile_8_x_4_8bit() local
47 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_8_x_4_8bit()
52 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_4_8bit()
61 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit()
63 dst2 += tile_width; in micro_tile_8_x_4_8bit()
77 const unsigned tile_width = 4, tile_height = 4; in micro_tile_4_x_4_16bit() local
78 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_4_x_4_16bit()
83 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_4_x_4_16bit()
92 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit()
94 dst2 += tile_width; in micro_tile_4_x_4_16bit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c46 const unsigned tile_width = 8, tile_height = 4; in micro_tile_8_x_4_8bit() local
47 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_8_x_4_8bit()
52 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_4_8bit()
61 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit()
63 dst2 += tile_width; in micro_tile_8_x_4_8bit()
77 const unsigned tile_width = 4, tile_height = 4; in micro_tile_4_x_4_16bit() local
78 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_4_x_4_16bit()
83 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_4_x_4_16bit()
92 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit()
94 dst2 += tile_width; in micro_tile_4_x_4_16bit()
[all …]
/external/webp/src/dsp/
Dlossless_enc_sse41.c49 int tile_width, int tile_height, in CollectColorBlueTransforms_SSE41() argument
65 for (x = 0; x + SPAN <= tile_width; x += SPAN) { in CollectColorBlueTransforms_SSE41()
86 const int left_over = tile_width & (SPAN - 1); in CollectColorBlueTransforms_SSE41()
88 VP8LCollectColorBlueTransforms_C(argb + tile_width - left_over, stride, in CollectColorBlueTransforms_SSE41()
96 int tile_width, int tile_height, in CollectColorRedTransforms_SSE41() argument
106 for (x = 0; x + SPAN <= tile_width; x += SPAN) { in CollectColorRedTransforms_SSE41()
124 const int left_over = tile_width & (SPAN - 1); in CollectColorRedTransforms_SSE41()
126 VP8LCollectColorRedTransforms_C(argb + tile_width - left_over, stride, in CollectColorRedTransforms_SSE41()
Dlossless_enc_mips_dsp_r2.c176 int tile_width, in CollectColorBlueTransforms_MIPSdspR2() argument
188 for (x = 0; x < (tile_width >> 1); ++x) { in CollectColorBlueTransforms_MIPSdspR2()
214 if (tile_width & 1) { in CollectColorBlueTransforms_MIPSdspR2()
230 int tile_width, in CollectColorRedTransforms_MIPSdspR2() argument
239 for (x = 0; x < (tile_width >> 1); ++x) { in CollectColorRedTransforms_MIPSdspR2()
259 if (tile_width & 1) { in CollectColorRedTransforms_MIPSdspR2()
Dlossless.h127 int tile_width, int tile_height,
133 int tile_width, int tile_height,
142 int tile_width, int tile_height,
145 int tile_width, int tile_height,
Dlossless.c210 const int tile_width = 1 << transform->bits_; in GENERATE_PREDICTOR_ADD() local
211 const int mask = tile_width - 1; in GENERATE_PREDICTOR_ADD()
225 int x_end = (x & ~mask) + tile_width; in GENERATE_PREDICTOR_ADD()
291 const int tile_width = 1 << transform->bits_; in ColorSpaceInverseTransform_C() local
292 const int mask = tile_width - 1; in ColorSpaceInverseTransform_C()
307 VP8LTransformColorInverse(&m, src, tile_width, dst); in ColorSpaceInverseTransform_C()
308 src += tile_width; in ColorSpaceInverseTransform_C()
309 dst += tile_width; in ColorSpaceInverseTransform_C()
Dlossless_enc_sse2.c83 int tile_width, int tile_height, in CollectColorBlueTransforms_SSE2() argument
94 for (x = 0; x + SPAN <= tile_width; x += SPAN) { in CollectColorBlueTransforms_SSE2()
120 const int left_over = tile_width & (SPAN - 1); in CollectColorBlueTransforms_SSE2()
122 VP8LCollectColorBlueTransforms_C(argb + tile_width - left_over, stride, in CollectColorBlueTransforms_SSE2()
130 int tile_width, int tile_height, in CollectColorRedTransforms_SSE2() argument
140 for (x = 0; x + SPAN <= tile_width; x += SPAN) { in CollectColorRedTransforms_SSE2()
160 const int left_over = tile_width & (SPAN - 1); in CollectColorRedTransforms_SSE2()
162 VP8LCollectColorRedTransforms_C(argb + tile_width - left_over, stride, in CollectColorRedTransforms_SSE2()
/external/libaom/libaom/examples/
Dlightfield_tile_list_decoder.c56 const unsigned int tile_width = tile_size >> 16; in write_tile_yuv1d() local
58 const uint8_t output_frame_width_in_tiles = img->d_w / tile_width; in write_tile_yuv1d()
72 (tile_idx % output_frame_width_in_tiles) * tile_width; in write_tile_yuv1d()
82 const int w = (plane > 0) ? ((tile_width >> img->x_chroma_shift) << shift) in write_tile_yuv1d()
83 : (tile_width << shift); in write_tile_yuv1d()
Dlightfield_decoder.c131 const unsigned int tile_width = tile_size >> 16; in decode_tile() local
133 const uint8_t output_frame_width_in_tiles = output_frame_width / tile_width; in decode_tile()
139 (*tile_idx % output_frame_width_in_tiles) * tile_width; in decode_tile()
Dlightfield_bitstream_parsing.c341 const unsigned int tile_width = tile_size >> 16; in main() local
344 const size_t data_sz = MAX_TILES * ALIGN_POWER_OF_TWO(tile_width, 5) * in main()
352 output_frame_width / tile_width - 1; in main()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_blit.c57 int tile_width = msaa ? 32 : 64;
80 if (is_tile_unaligned(info->dst.box.x, tile_width) ||
82 (is_tile_unaligned(info->dst.box.width, tile_width) &&
140 job->tile_width = 32;
151 job->tile_width = tile_width;
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_blit.c56 int tile_width = msaa ? 32 : 64; in vc4_tile_blit() local
79 if (is_tile_unaligned(info->dst.box.x, tile_width) || in vc4_tile_blit()
81 (is_tile_unaligned(info->dst.box.width, tile_width) && in vc4_tile_blit()
139 job->tile_width = 32; in vc4_tile_blit()
150 job->tile_width = tile_width; in vc4_tile_blit()
Dvc4_job.c207 job->tile_width = 32; in vc4_get_job()
210 job->tile_width = 64; in vc4_get_job()
265 job->tile_width); in vc4_get_job_for_fbo()
460 submit.min_x_tile = job->draw_min_x / job->tile_width; in vc4_job_submit()
462 submit.max_x_tile = (job->draw_max_x - 1) / job->tile_width; in vc4_job_submit()
/external/webp/src/enc/
Dpredictor_enc.c541 const uint32_t* argb, int stride, int tile_width, int tile_height, in GetPredictionCostCrossColorRed() argument
547 VP8LCollectColorRedTransforms(argb, stride, tile_width, tile_height, in GetPredictionCostCrossColorRed()
564 const uint32_t* argb, int stride, int tile_width, int tile_height, in GetBestGreenToRed() argument
571 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
582 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenToRed()
594 const uint32_t* argb, int stride, int tile_width, int tile_height, in GetPredictionCostCrossColorBlue() argument
600 VP8LCollectColorBlueTransforms(argb, stride, tile_width, tile_height, in GetPredictionCostCrossColorBlue()
628 const uint32_t* argb, int stride, int tile_width, int tile_height, in GetBestGreenRedToBlue() argument
642 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
652 argb, stride, tile_width, tile_height, prev_x, prev_y, in GetBestGreenRedToBlue()
[all …]
/external/libaom/libaom/av1/common/
Dtile_common.c72 cm->tile_width = size_sb << cm->seq_params.mib_size_log2; in av1_calculate_tile_cols()
73 cm->tile_width = AOMMIN(cm->tile_width, cm->mi_cols); in av1_calculate_tile_cols()
75 cm->min_inner_tile_width = cm->tile_width; in av1_calculate_tile_cols()
202 *w = cm->tile_width; in av1_get_uniform_tile_size()
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_op_gpu.h206 const int tile_width = in_width + filter_width - 1; in DepthwiseConv2dGPUKernelNHWCSmall() local
209 const int tile_row_size = tile_width * kBlockDepth; in DepthwiseConv2dGPUKernelNHWCSmall()
212 const int pad_offset = pad_height * tile_width + pad_width; in DepthwiseConv2dGPUKernelNHWCSmall()
236 const int data_pix = thread_row * tile_width + thread_col; in DepthwiseConv2dGPUKernelNHWCSmall()
491 const int tile_width = in_width + filter_width - 1; in DepthwiseConv2dGPUKernelNCHWSmall() local
494 const int tile_pixels = tile_width * tile_height; in DepthwiseConv2dGPUKernelNCHWSmall()
496 const int tile_offset = block_height * tile_width; in DepthwiseConv2dGPUKernelNCHWSmall()
497 const int pad_offset = pad_height * tile_width + pad_width; in DepthwiseConv2dGPUKernelNCHWSmall()
519 const int data_pix = thread_row * tile_width + thread_col; in DepthwiseConv2dGPUKernelNCHWSmall()
631 const int tile_width = args.in_cols + args.filter_cols - 1; in LaunchDepthwiseConv2dGPUSmall() local
[all …]
/external/ImageMagick/MagickCore/
Dshear.c756 tile_width; in IntegralRotateImage() local
764 GetPixelCacheTileSize(image,&tile_width,&tile_height); in IntegralRotateImage()
765 tile_width=image->columns; in IntegralRotateImage()
778 for ( ; tile_x < (ssize_t) image->columns; tile_x+=(ssize_t) tile_width) in IntegralRotateImage()
796 width=tile_width; in IntegralRotateImage()
797 if ((tile_x+(ssize_t) tile_width) > (ssize_t) image->columns) in IntegralRotateImage()
798 width=(size_t) (tile_width-(tile_x+tile_width-image->columns)); in IntegralRotateImage()
953 tile_width; in IntegralRotateImage() local
961 GetPixelCacheTileSize(image,&tile_width,&tile_height); in IntegralRotateImage()
962 tile_width=image->columns; in IntegralRotateImage()
[all …]
/external/libaom/libaom/test/
Dav1_ext_tile_test.cc154 int tile_width = kTIleSizeInPixels >> shift; in FramePktHook() local
159 c * tile_width, in FramePktHook()
160 img->planes[plane] + img->stride[plane] * tr, tile_width); in FramePktHook()
/external/mesa3d/src/gallium/auxiliary/util/
Du_linear.c86 unsigned tile_width, unsigned tile_height, in pipe_linear_fill_info() argument
91 t->tile.width = tile_width; in pipe_linear_fill_info()
Du_linear.h89 unsigned tile_width, unsigned tile_height,
/external/libaom/libaom/av1/encoder/
Dlevel.c399 const int tile_width = in get_tile_stats() local
403 const int tile_size = tile_width * tile_height; in get_tile_stats()
407 tile_width * superres_scale_denominator / SCALE_NUMERATOR; in get_tile_stats()
423 *tile_width_valid &= tile_width >= 128; in get_tile_stats()
425 *tile_width_valid &= tile_width >= 64; in get_tile_stats()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_gem.c146 exec->tile_width = 32; in vc4_cl_validate()
149 exec->tile_width = 64; in vc4_cl_validate()
/external/ImageMagick/coders/
Dfpx.c174 tile_width, in ReadFPXImage() local
212 tile_width=64; in ReadFPXImage()
225 &width,&height,&tile_width,&tile_height,&colorspace,&flashpix); in ReadFPXImage()
319 if (((width >> i) < tile_width) || ((height >> i) < tile_height)) in ReadFPXImage()
811 tile_width; in WriteFPXImage() local
837 tile_width=64; in WriteFPXImage()
867 image->rows,tile_width,tile_height,colorspace,background_color, in WriteFPXImage()
/external/libaom/libaom/av1/decoder/
Dobu.c364 int tile_width, tile_height; in alloc_tile_list_buffer() local
365 av1_get_uniform_tile_size(cm, &tile_width, &tile_height); in alloc_tile_list_buffer()
366 const int tile_width_in_pixels = tile_width * MI_SIZE; in alloc_tile_list_buffer()
417 int tile_width, tile_height; in copy_decoded_tile_to_tile_list_buffer() local
418 av1_get_uniform_tile_size(cm, &tile_width, &tile_height); in copy_decoded_tile_to_tile_list_buffer()
419 const int tile_width_in_pixels = tile_width * MI_SIZE; in copy_decoded_tile_to_tile_list_buffer()
/external/libaom/libaom/av1/
Dav1_dx_iface.c793 int tile_width, tile_height; in decoder_get_frame() local
794 av1_get_uniform_tile_size(cm, &tile_width, &tile_height); in decoder_get_frame()
811 int tile_width, tile_height; in decoder_get_frame() local
812 av1_get_uniform_tile_size(cm, &tile_width, &tile_height); in decoder_get_frame()
814 const int mi_col = tile_col * tile_width; in decoder_get_frame()
826 ctx->img.d_w = AOMMIN(tile_width, cm->mi_cols - mi_col) * MI_SIZE; in decoder_get_frame()
1194 int tile_width, tile_height; in ctrl_get_tile_size() local
1195 av1_get_uniform_tile_size(cm, &tile_width, &tile_height); in ctrl_get_tile_size()
1196 *tile_size = ((tile_width * MI_SIZE) << 16) + tile_height * MI_SIZE; in ctrl_get_tile_size()

12