Home
last modified time | relevance | path

Searched refs:src_height (Results 1 - 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/utils/
H A Drescaler_utils.c25 int src_width, int src_height, in WebPRescalerInit()
30 const int y_add = src_height, y_sub = dst_height; in WebPRescalerInit()
35 rescaler->y_expand = (src_height < dst_height); in WebPRescalerInit()
37 rescaler->src_height = src_height; in WebPRescalerInit()
65 // current fixed-point precision. This happens when src_height == in WebPRescalerInit()
66 // rescaler->y_add (which == src_height), and rescaler->x_add == 1. in WebPRescalerInit()
85 int WebPRescalerGetScaledDimensions(int src_width, int src_height, in WebPRescalerGetScaledDimensions() argument
96 if (width == 0 && src_height > 0) { in WebPRescalerGetScaledDimensions()
98 (int)(((uint64_t)src_width * height + src_height in WebPRescalerGetScaledDimensions()
24 WebPRescalerInit(WebPRescaler* const rescaler, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, rescaler_t* const work) WebPRescalerInit() argument
[all...]
H A Drescaler_utils.h41 int src_width, src_height; // source dimensions member
52 int src_width, int src_height,
62 int WebPRescalerGetScaledDimensions(int src_width, int src_height,
82 return (rescaler->src_y >= rescaler->src_height); in WebPRescalerInputDone()
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_bptc_tmp.h657 decompress_rgba_unorm_block(int src_width, int src_height, in decompress_rgba_unorm_block() argument
680 for(y = 0; y < src_height; y += 1) { in decompress_rgba_unorm_block()
725 for(y = 0; y < src_height; y += 1) { in decompress_rgba_unorm_block()
1034 decompress_rgb_float_block(unsigned src_width, unsigned src_height, in decompress_rgb_float_block() argument
1065 for(y = 0; y < src_height; y += 1) { in decompress_rgb_float_block()
1092 for(y = 0; y < src_height; y += 1) { in decompress_rgb_float_block()
1301 int src_width, int src_height, in write_rgb_indices_unorm()
1325 for (y = 0; y < src_height; y++) { in write_rgb_indices_unorm()
1351 if (src_height < BLOCK_SIZE) in write_rgb_indices_unorm()
1352 write_bits(writer, 2 * BLOCK_SIZE * (BLOCK_SIZE - src_height), in write_rgb_indices_unorm()
1300 write_rgb_indices_unorm(struct bit_writer *writer, int src_width, int src_height, const uint8_t *src, int src_rowstride, uint8_t endpoints[][4]) write_rgb_indices_unorm() argument
1356 write_alpha_indices_unorm(struct bit_writer *writer, int src_width, int src_height, const uint8_t *src, int src_rowstride, uint8_t endpoints[][4]) write_alpha_indices_unorm() argument
1401 compress_rgba_unorm_block(int src_width, int src_height, const uint8_t *src, int src_rowstride, uint8_t *dst) compress_rgba_unorm_block() argument
1583 write_rgb_indices_float(struct bit_writer *writer, int src_width, int src_height, const float *src, int src_rowstride, float endpoints[][3]) write_rgb_indices_float() argument
1669 compress_rgb_float_block(int src_width, int src_height, const float *src, int src_rowstride, uint8_t *dst, bool is_signed) compress_rgb_float_block() argument
[all...]
H A Dtexcompress_etc.h72 unsigned src_height);
79 unsigned src_height,
H A Dtexcompress_etc.c134 * \param src_height in pixels
143 unsigned src_height) in _mesa_etc1_unpack_rgba8888()
147 src_width, src_height); in _mesa_etc1_unpack_rgba8888()
1211 * \param src_height in pixels
1221 unsigned src_height, in _mesa_unpack_etc2_format()
1228 src_width, src_height); in _mesa_unpack_etc2_format()
1232 src_width, src_height, bgra); in _mesa_unpack_etc2_format()
1236 src_width, src_height); in _mesa_unpack_etc2_format()
1240 src_width, src_height, bgra); in _mesa_unpack_etc2_format()
1244 src_width, src_height); in _mesa_unpack_etc2_format()
138 _mesa_etc1_unpack_rgba8888(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned src_width, unsigned src_height) _mesa_etc1_unpack_rgba8888() argument
1216 _mesa_unpack_etc2_format(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned src_width, unsigned src_height, mesa_format format, bool bgra) _mesa_unpack_etc2_format() argument
[all...]
H A Dtexcompress_astc.h40 unsigned src_height,
H A Dtexcompress_astc.cpp1803 * \param src_height in pixels
1812 unsigned src_height,
1823 unsigned y_blocks = (src_height + blk_h - 1) / blk_h;
1836 unsigned dst_blk_h = MIN2(blk_h, src_height - y*blk_h);
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blt.c248 uint32_t src_width = src_box->width, src_height = src_box->height; in crocus_emit_blt() local
275 src_height = DIV_ROUND_UP(src_height, (int)bh); in crocus_emit_blt()
322 for (uint32_t chunk_y = 0; chunk_y < src_height; chunk_y += max_chunk_size) { in crocus_emit_blt()
324 const uint32_t chunk_h = MIN2(max_chunk_size, src_height - chunk_y); in crocus_emit_blt()
368 blt_set_alpha_to_one(batch, dst, 0, 0, src_width, src_height); in crocus_emit_blt()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c782 int src_width, src_height, src_depth, dst_width, dst_height, dst_depth; in si_test_blit() local
802 src_height = (rand() % max_src_height) + 1; in si_test_blit()
810 srcy = rand() % (u_minify(tsrc.height0, src_level) - src_height + 1); in si_test_blit()
840 src_height = align(src_height, util_format_get_blockheight(tsrc.format)); in si_test_blit()
848 if (src_height > dst_height) in si_test_blit()
849 src_height = dst_height; in si_test_blit()
857 if (src_height < dst_height) in si_test_blit()
858 dst_height = src_height; in si_test_blit()
870 srcy += src_height; in si_test_blit()
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A Dsubpicture.c173 unsigned short src_height, short dest_x, short dest_y, in vlVaAssociateSubpicture()
183 struct u_rect src_rect = {src_x, src_x + src_width, src_y, src_y + src_height}; in vlVaAssociateSubpicture()
213 tex_temp.height0 = src_height; in vlVaAssociateSubpicture()
170 vlVaAssociateSubpicture(VADriverContextP ctx, VASubpictureID subpicture, VASurfaceID *target_surfaces, int num_surfaces, short src_x, short src_y, unsigned short src_width, unsigned short src_height, short dest_x, short dest_y, unsigned short dest_width, unsigned short dest_height, unsigned int flags) vlVaAssociateSubpicture() argument
H A Dva_private.h393 unsigned int src_width, unsigned int src_height, int dest_x, int dest_y,
406 unsigned short src_width, unsigned short src_height,
/third_party/ffmpeg/libavfilter/
H A Dvf_thumbnail_cuda.c160 int *histogram, uint8_t *src_dptr, int src_width, int src_height, int src_pitch, int pixel_size) in thumbnail_kernel()
166 void *args[] = { &tex, &histogram, &src_width, &src_height }; in thumbnail_kernel()
180 .res.pitch2D.height = src_height, in thumbnail_kernel()
190 DIV_UP(src_width, BLOCKX), DIV_UP(src_height, BLOCKY), 1, in thumbnail_kernel()
159 thumbnail_kernel(AVFilterContext *ctx, CUfunction func, int channels, int *histogram, uint8_t *src_dptr, int src_width, int src_height, int src_pitch, int pixel_size) thumbnail_kernel() argument
H A Dvf_yadif_cuda.c61 int src_height, // Height is pixels per channel in call_kernel()
77 &src_width, &src_height, &parity, &tff, in call_kernel()
90 .res.pitch2D.height = src_height, in call_kernel()
57 call_kernel(AVFilterContext *ctx, CUfunction func, CUdeviceptr prev, CUdeviceptr cur, CUdeviceptr next, CUarray_format format, int channels, int src_width, int src_height, int src_pitch, CUdeviceptr dst, int dst_width, int dst_height, int dst_pitch, int parity, int tff) call_kernel() argument
H A Dvf_scale_cuda.c405 CUtexObject src_tex[4], int src_width, int src_height, in call_resize_kernel()
420 &src_width, &src_height, &s->param in call_resize_kernel()
404 call_resize_kernel(AVFilterContext *ctx, CUfunction func, CUtexObject src_tex[4], int src_width, int src_height, AVFrame *out_frame, int dst_width, int dst_height, int dst_pitch) call_resize_kernel() argument
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpicture_rescale_enc.c168 int src_width, int src_height, int src_stride, in RescalePlane()
175 if (!WebPRescalerInit(&rescaler, src_width, src_height, in RescalePlane()
180 while (y < src_height) { in RescalePlane()
181 y += WebPRescalerImport(&rescaler, src_height - y, in RescalePlane()
167 RescalePlane(const uint8_t* src, int src_width, int src_height, int src_stride, uint8_t* dst, int dst_width, int dst_height, int dst_stride, rescaler_t* const work, int num_channels) RescalePlane() argument
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_copyimage.h36 int src_width, int src_height);
H A Dst_cb_copyimage.c645 int src_width, int src_height) in st_CopyImageSubData()
687 u_box_2d_zslice(src_x, src_y, src_z, src_width, src_height, &box); in st_CopyImageSubData()
693 src_width, src_height); in st_CopyImageSubData()
638 st_CopyImageSubData(struct gl_context *ctx, struct gl_texture_image *src_image, struct gl_renderbuffer *src_renderbuffer, int src_x, int src_y, int src_z, struct gl_texture_image *dst_image, struct gl_renderbuffer *dst_renderbuffer, int dst_x, int dst_y, int dst_z, int src_width, int src_height) st_CopyImageSubData() argument
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_renderer.c478 int width, int height, float src_width, float src_height) in renderer_copy()
488 t0 = sy / src_height; in renderer_copy()
489 t1 = (sy + height) / src_height; in renderer_copy()
473 renderer_copy(struct xa_context *r, int dx, int dy, int sx, int sy, int width, int height, float src_width, float src_height) renderer_copy() argument
H A Dxa_priv.h272 int width, int height, float src_width, float src_height);
/third_party/mesa3d/src/intel/blorp/
H A Dblorp.h177 uint32_t src_width, uint32_t src_height);
H A Dblorp_blit.c2862 uint32_t src_width, uint32_t src_height) in blorp_copy()
2868 if (src_width == 0 || src_height == 0) in blorp_copy()
2980 &src_width, &src_height); in blorp_copy()
2994 uint32_t dst_height = src_height; in blorp_copy()
3025 .src1 = src_y + src_height, in blorp_copy()
2855 blorp_copy(struct blorp_batch *batch, const struct blorp_surf *src_surf, unsigned src_level, unsigned src_layer, const struct blorp_surf *dst_surf, unsigned dst_level, unsigned dst_layer, uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, uint32_t src_width, uint32_t src_height) blorp_copy() argument
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Drescaler.c179 assert(wrk->src_height == wrk->dst_height && wrk->x_add == 1); in WebPRescalerExportRow()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_blit.c249 uint32_t src_height = radv_minify(src_iview->image->info.height, src_iview->vk.base_mip_level); in meta_emit_blit() local
257 src_offset_0[0] / (float)src_width, src_offset_0[1] / (float)src_height, in meta_emit_blit()
258 src_offset_1[0] / (float)src_width, src_offset_1[1] / (float)src_height, in meta_emit_blit()
/third_party/mesa3d/include/drm-uapi/
H A Di915_drm.h1806 __u16 src_height; member
/third_party/libdrm/include/drm/
H A Di915_drm.h1374 __u16 src_height; member

Completed in 35 milliseconds

12