Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless_enc_sse41.c51 int tile_width, int tile_height, in CollectColorBlueTransforms_SSE41() argument
58 if (tile_width >= 4) { in CollectColorBlueTransforms_SSE41()
68 for (x = 4; x + 4 <= tile_width; x += 4) { in CollectColorBlueTransforms_SSE41()
87 const int left_over = tile_width & 3; in CollectColorBlueTransforms_SSE41()
89 VP8LCollectColorBlueTransforms_C(argb + tile_width - left_over, stride, in CollectColorBlueTransforms_SSE41()
97 int tile_width, int tile_height, in CollectColorRedTransforms_SSE41() argument
102 if (tile_width >= 4) { in CollectColorRedTransforms_SSE41()
111 for (x = 4; x + 4 <= tile_width; x += 4) { in CollectColorRedTransforms_SSE41()
129 const int left_over = tile_width & 3; in CollectColorRedTransforms_SSE41()
131 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.h142 int tile_width, int tile_height,
148 int tile_width, int tile_height,
157 int tile_width, int tile_height,
160 int tile_width, int tile_height,
Dlossless.c215 const int tile_width = 1 << transform->bits_; in GENERATE_PREDICTOR_ADD() local
216 const int mask = tile_width - 1; in GENERATE_PREDICTOR_ADD()
230 int x_end = (x & ~mask) + tile_width; in GENERATE_PREDICTOR_ADD()
296 const int tile_width = 1 << transform->bits_; in ColorSpaceInverseTransform_C() local
297 const int mask = tile_width - 1; in ColorSpaceInverseTransform_C()
312 VP8LTransformColorInverse(&m, src, tile_width, dst); in ColorSpaceInverseTransform_C()
313 src += tile_width; in ColorSpaceInverseTransform_C()
314 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()
Dlossless_enc.c579 int tile_width, int tile_height, in VP8LCollectColorRedTransforms_C() argument
583 for (x = 0; x < tile_width; ++x) { in VP8LCollectColorRedTransforms_C()
591 int tile_width, int tile_height, in VP8LCollectColorBlueTransforms_C() argument
596 for (x = 0; x < tile_width; ++x) { in VP8LCollectColorBlueTransforms_C()
/third_party/ffmpeg/libavcodec/
Dg2meet.c142 int tile_width, tile_height; member
593 static int epic_decode_run_length(ePICContext *dc, int x, int y, int tile_width, in epic_decode_run_length() argument
672 if (x + *pRun >= tile_width - 1) in epic_decode_run_length()
683 for (pos = start_pos + 2; pos < tile_width; pos++) in epic_decode_run_length()
705 if (x + *pRun >= tile_width - 1) in epic_decode_run_length()
740 int tile_width, const uint32_t *curr_row, in epic_predict_from_NW_NE() argument
756 if (pos < tile_width - 1 && y) { in epic_predict_from_NW_NE()
797 int tile_width, int stride) in epic_decode_tile() argument
808 for (x = 0, dc->next_run_pos = 0; x < tile_width;) { in epic_decode_tile()
824 if (y < 2 || x < 2 || x == tile_width - 1) { in epic_decode_tile()
[all …]
Divi.h207 uint16_t tile_width; member
278 str1->tile_width != str2->tile_width || str1->tile_height != str2->tile_height || in ivi_pic_config_cmp()
286 #define IVI_MBs_PER_TILE(tile_width, tile_height, mb_size) \ argument
287 ((((tile_width) + (mb_size) - 1) / (mb_size)) * (((tile_height) + (mb_size) - 1) / (mb_size)))
336 int ff_ivi_init_tiles(IVIPlaneDesc *planes, int tile_width, int tile_height);
Dmediacodec_sw_buffer.c295 size_t tile_width = row_width; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka() local
314 if (tile_width > QCOM_TILE_WIDTH) in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
315 tile_width = QCOM_TILE_WIDTH; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
323 memcpy(frame->data[0] + luma_idx, src_luma, tile_width); in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
327 memcpy(frame->data[0] + luma_idx, src_luma, tile_width); in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
331 memcpy(frame->data[1] + chroma_idx, src_chroma, tile_width); in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
Darbc.c76 static int fill_tileX(AVCodecContext *avctx, int tile_width, int tile_height, in fill_tileX() argument
82 const int step_w = tile_width / 4; in fill_tileX()
87 if ((avctx->width / tile_width + 1) * (avctx->height / tile_height + 1) < nb_tiles) in fill_tileX()
94 int start_y = y * tile_height, start_x = x * tile_width; in fill_tileX()
95 int end_y = start_y + tile_height, end_x = start_x + tile_width; in fill_tileX()
Dtiff.c102 int tile_width, tile_length; member
984 int tile_width, tile_length; in dng_decode_tiles() local
990 s->jpgframe->width = s->tile_width; in dng_decode_tiles()
993 s->avctx_mjpeg->width = s->tile_width; in dng_decode_tiles()
996 has_width_leftover = (s->width % s->tile_width != 0); in dng_decode_tiles()
1000 tile_count_x = (s->width + s->tile_width - 1) / s->tile_width; in dng_decode_tiles()
1009 tile_width = s->width % s->tile_width; in dng_decode_tiles()
1011 tile_width = s->tile_width; in dng_decode_tiles()
1032 ret = dng_decode_jpeg(avctx, frame, tile_byte_count, pos_x, pos_y, tile_width, tile_length); in dng_decode_tiles()
1038 pos_x += tile_width; in dng_decode_tiles()
[all …]
Dindeo5.c110 pic_conf.tile_width = pic_conf.pic_width; in decode_gop_header()
112 pic_conf.tile_height = pic_conf.tile_width = tile_size; in decode_gop_header()
252 result = ff_ivi_init_tiles(ctx->planes, pic_conf.tile_width, in decode_gop_header()
660 ctx->pic_conf.tile_width = avctx->width; in decode_init()
Dj2kenc.c118 int tile_width, tile_height; ///< tile size member
168 s->width, s->height, s->tile_width, s->tile_height,
313 bytestream_put_be32(&s->buf, s->tile_width); // XTSiz in put_siz()
459 s->numXtiles = ff_jpeg2000_ceildiv(s->width, s->tile_width); in init_tiles()
481 comp->coord[0][0] = comp->coord_o[0][0] = tilex * s->tile_width; in init_tiles()
482 comp->coord[0][1] = comp->coord_o[0][1] = FFMIN((tilex+1)*s->tile_width, s->width); in init_tiles()
948 tile_coord[0][0] = col * s->tile_width; in encode_packets()
949 tile_coord[0][1] = FFMIN(tile_coord[0][0] + s->tile_width, s->width); in encode_packets()
1756 if ((s->tile_width & (s->tile_width -1)) || in j2kenc_init()
1818 …{ "tile_width", "Tile Width", OFFSET(tile_width), AV_OPT_TYPE_INT, { .i64 = 256 …
/third_party/skia/third_party/externals/libwebp/imageio/
Dtiffdec.c159 uint32_t image_width, image_height, tile_width, tile_height; in ReadTIFF() local
211 if (TIFFGetField(tif, TIFFTAG_TILEWIDTH, &tile_width) && in ReadTIFF()
213 if ((tile_width > 32 && tile_width / 2 > image_width) || in ReadTIFF()
216 (uint64_t)tile_width * sizeof(*raster), tile_height)) { in ReadTIFF()
218 tile_width, tile_height); in ReadTIFF()
/third_party/skia/third_party/externals/libwebp/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 …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_tiler.c230 pan_tile_count(unsigned width, unsigned height, unsigned tile_width, unsigned tile_height) in pan_tile_count() argument
232 unsigned aligned_width = ALIGN_POT(width, tile_width); in pan_tile_count()
235 unsigned tile_count_x = aligned_width / tile_width; in pan_tile_count()
/third_party/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,
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c206 job->tile_width = 32; in vc4_get_job()
209 job->tile_width = 64; in vc4_get_job()
264 job->tile_width); in vc4_get_job_for_fbo()
461 submit.min_x_tile = job->draw_min_x / job->tile_width; in vc4_job_submit()
463 submit.max_x_tile = (job->draw_max_x - 1) / job->tile_width; in vc4_job_submit()
Dvc4_blit.c57 int tile_width = msaa ? 32 : 64; in vc4_tile_blit() local
80 if (is_tile_unaligned(info->dst.box.x, tile_width) || in vc4_tile_blit()
82 (is_tile_unaligned(info->dst.box.width, tile_width) && in vc4_tile_blit()
142 job->tile_width = tile_width; in vc4_tile_blit()
/third_party/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()
Dvc4_drv.h84 uint32_t tile_width, tile_height; member
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_blit.c485 uint32_t tile_width, tile_height, max_bpp; in v3d_tlb_blit() local
488 &tile_width, &tile_height, &max_bpp); in v3d_tlb_blit()
494 if (is_tile_unaligned(info->dst.box.x, tile_width) || in v3d_tlb_blit()
496 (is_tile_unaligned(info->dst.box.width, tile_width) && in v3d_tlb_blit()
512 job->tile_width = tile_width; in v3d_tlb_blit()
530 job->tile_width); in v3d_tlb_blit()
Dv3d_context.c249 uint32_t *tile_width, in v3d_get_tile_buffer_size() argument
273 tile_width, tile_height); in v3d_get_tile_buffer_size()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c118 unsigned tile_width, width, stride; in r300_texture_get_stride() local
136 tile_width = r300_get_pixel_alignment(tex->b.format, in r300_texture_get_stride()
141 width = align(width, tile_width); in r300_texture_get_stride()

12