/aosp_15_r20/external/libultrahdr/lib/src/dsp/arm/ |
H A D | editorhelper_neon.cpp | 40 int src_w, int src_h, int src_stride, in mirror_buffer_horizontal_neon_uint8_t() argument 45 for (int i = 0; i < src_h; i++, src_row += src_stride, dst_row += dst_stride) { in mirror_buffer_horizontal_neon_uint8_t() 87 int src_w, int src_h, int src_stride, in mirror_buffer_horizontal_neon_uint16_t() argument 92 for (int i = 0; i < src_h; i++, src_row += src_stride, dst_row += dst_stride) { in mirror_buffer_horizontal_neon_uint16_t() 128 int src_w, int src_h, int src_stride, in mirror_buffer_horizontal_neon_uint32_t() argument 133 for (int i = 0; i < src_h; i++, src_row += src_stride, dst_row += dst_stride) { in mirror_buffer_horizontal_neon_uint32_t() 169 int src_w, int src_h, int src_stride, in mirror_buffer_horizontal_neon_uint64_t() argument 174 for (int i = 0; i < src_h; i++, src_row += src_stride, dst_row += dst_stride) { in mirror_buffer_horizontal_neon_uint64_t() 191 int src_h, int src_stride, int dst_stride) { in mirror_buffer_vertical_neon_uint8_t() argument 193 uint8_t* dst_row = dst_buffer + (src_h - 1) * dst_stride; in mirror_buffer_vertical_neon_uint8_t() [all …]
|
/aosp_15_r20/external/ComputeLibrary/src/cpu/kernels/pool2d/neon/nchw/ |
H A D | all.cpp | 93 const int src_h = src->info()->dimension(1); in pooling3_fp16_neon_nchw() local 95 …const int upper_bound_h = src_h + (pool_info.exclude_padding ? 0 : pool_pad_bott… in pooling3_fp16_neon_nchw() 108 float16x4_t top_data = read_4_boundary_aware_fp16(src_w, src_h, pool_pad_left, pool_pad_top, in pooling3_fp16_neon_nchw() 110 … float16x4_t middle_data = read_4_boundary_aware_fp16(src_w, src_h, pool_pad_left, pool_pad_top, in pooling3_fp16_neon_nchw() 112 … float16x4_t bottom_data = read_4_boundary_aware_fp16(src_w, src_h, pool_pad_left, pool_pad_top, in pooling3_fp16_neon_nchw() 200 const int src_h = src->info()->dimension(1); in pooling2_nchw_maxpool_indices() local 214 auto top_data = read_2_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_top, in pooling2_nchw_maxpool_indices() 216 auto bottom_data = read_2_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_top, in pooling2_nchw_maxpool_indices() 259 const int src_h = src->info()->dimension(1); in pooling2_fp16_neon_nchw() local 261 const int upper_bound_h = src_h + (pool_info.exclude_padding ? 0 : pool_pad_bottom); in pooling2_fp16_neon_nchw() [all …]
|
/aosp_15_r20/external/libdrm/exynos/ |
H A D | exynos_fimg2d.c | 505 unsigned int src_w, src_h, dst_w, dst_h; in g2d_copy() local 508 src_h = h; in g2d_copy() 512 src_h = src->height - src_y; in g2d_copy() 522 h = MIN(src_h, dst_h); in g2d_copy() 589 unsigned int src_w, src_h, dst_w, dst_h; in g2d_move() local 592 src_h = h; in g2d_move() 596 src_h = img->height - src_y; in g2d_move() 606 h = MIN(src_h, dst_h); in g2d_move() 682 unsigned int src_h, unsigned int dst_x, in g2d_copy_with_scale() argument 695 if (src_w == dst_w && src_h == dst_h) in g2d_copy_with_scale() [all …]
|
/aosp_15_r20/external/libkmsxx/py/tests/ |
H A D | plane_move.py | 30 src_h = 300 variable 50 fb_tmp = pykms.DumbFramebuffer(card, src_w, src_h, 'XR24'); 67 pykms.draw_rect(fb_list[i], 0, 0, src_w, src_h, colors[i]) 78 'SRC_H': src_h << 16, 80 'CRTC_H': src_h}) 99 'SRC_H': src_h << 16, 103 'CRTC_H': src_h}) 121 'SRC_H': src_h << 16, 123 'CRTC_H': src_h})
|
H A D | rottest.py | 64 src_h = fb_h - src_y 67 src_x, src_y, src_w, src_h, 83 "SRC_H": src_h << 16,
|
/aosp_15_r20/external/libultrahdr/lib/src/ |
H A D | editorhelper.cpp | 27 void rotate_buffer_clockwise(T* src_buffer, T* dst_buffer, int src_w, int src_h, int src_stride, in rotate_buffer_clockwise() argument 30 int dst_w = src_h; in rotate_buffer_clockwise() 34 dst_buffer[i * dst_stride + j] = src_buffer[(src_h - j - 1) * src_stride + i]; in rotate_buffer_clockwise() 39 int dst_h = src_h; in rotate_buffer_clockwise() 42 dst_buffer[i * dst_stride + j] = src_buffer[(src_h - i - 1) * src_stride + (src_w - j - 1)]; in rotate_buffer_clockwise() 46 int dst_w = src_h; in rotate_buffer_clockwise() 57 void mirror_buffer(T* src_buffer, T* dst_buffer, int src_w, int src_h, int src_stride, in mirror_buffer() argument 60 for (int i = 0; i < src_h; i++) { in mirror_buffer() 61 memcpy(&dst_buffer[(src_h - i - 1) * dst_stride], &src_buffer[i * src_stride], in mirror_buffer() 65 for (int i = 0; i < src_h; i++) { in mirror_buffer() [all …]
|
/aosp_15_r20/external/libvpx/vp9/encoder/ |
H A D | vp9_frame_scale.c | 25 const int src_h = src->y_crop_height; in vp9_scale_and_extend_frame_c() local 40 4 * dst->y_crop_height == 3 * src_h) { in vp9_scale_and_extend_frame_c() 103 const int y_step_q4 = 16 * src_h / dst_h; in vp9_scale_and_extend_frame_c() 119 const int y_q4 = y * (16 / factor) * src_h / dst_h + phase_scaler; in vp9_scale_and_extend_frame_c() 123 (y / factor) * src_h / dst_h * src_stride + in vp9_scale_and_extend_frame_c() 129 16 * src_h / dst_h, 16 / factor, 16 / factor); in vp9_scale_and_extend_frame_c()
|
/aosp_15_r20/external/ComputeLibrary/src/core/CL/cl_kernels/nhwc/ |
H A D | scale.cl | 47 …* @param[in] src_h The size of the height dimension of the source tens… 95 const int yi0 = clamp((int)yi_f, 0, (int)src_h - 1); 99 …C_DATA_TYPE, 1, 1, N0, SRC_TENSOR_TYPE, src, bout, yi0, xi0, cout, src_w, src_h, 1, 1, false, in00… 138 …* @param[in] src_h The size of the height dimension of the source ten… 196 …SRC_DATA_TYPE, 1, 1, N0, SRC_TENSOR_TYPE, src, bout, yi, xi, cout, src_w, src_h, 1, 1, true, in00); 197 …DATA_TYPE, 1, 1, N0, SRC_TENSOR_TYPE, src, bout, yi, xi + 1, cout, src_w, src_h, 1, 1, true, in01); 198 …DATA_TYPE, 1, 1, N0, SRC_TENSOR_TYPE, src, bout, yi + 1, xi, cout, src_w, src_h, 1, 1, true, in10); 199 …_TYPE, 1, 1, N0, SRC_TENSOR_TYPE, src, bout, yi + 1, xi + 1, cout, src_w, src_h, 1, 1, true, in11); 202 const int yi0 = clamp(yi, 0, (int)src_h - 1); 204 const int yi1 = clamp(yi + 1, 0, (int)src_h - 1); [all …]
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/glsl/ |
H A D | convert_channels_to_width_packed.glsl | 23 int src_h = pos.y; 33 ivec4(src_n, src_c, src_h, src_base_w), 37 ivec4(src_n, src_c, src_h, src_base_w + 1), 41 ivec4(src_n, src_c, src_h, src_base_w + 2), 45 ivec4(src_n, src_c, src_h, src_base_w + 3),
|
/aosp_15_r20/external/libultrahdr/lib/include/ultrahdr/ |
H A D | editorhelper.h | 105 extern void rotate_buffer_clockwise(T* src_buffer, T* dst_buffer, int src_w, int src_h, 109 extern void mirror_buffer(T* src_buffer, T* dst_buffer, int src_w, int src_h, int src_stride, 113 extern void resize_buffer(T* src_buffer, T* dst_buffer, int src_w, int src_h, int dst_w, int dst_h, 120 extern void mirror_buffer_neon(T* src_buffer, T* dst_buffer, int src_w, int src_h, int src_stride, 124 extern void rotate_buffer_clockwise_neon(T* src_buffer, T* dst_buffer, int src_w, int src_h,
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/ops/ |
H A D | Mm.h | 39 for (const auto src_h : c10::irange(src_kh_sz)) { in stage_pack_weights() local 41 int64_t dst_plane = 2 * (src_h % 2) + (src_w % 2); in stage_pack_weights() 42 int64_t dst_index = (src_h / 2) * dst_kw_sz + (src_w / 2); in stage_pack_weights() 46 src_weight_ptr + src_b * src_matrix_sz + src_h * src_kw_sz + in stage_pack_weights()
|
/aosp_15_r20/external/igt-gpu-tools/tests/ |
H A D | kms_chamelium.c | 2057 static void configure_plane(igt_plane_t *plane, uint32_t src_w, uint32_t src_h, in configure_plane() argument 2068 igt_fb_set_size(fb, plane, src_w, src_h); in configure_plane() 2074 uint32_t *src_w, uint32_t *src_h, in randomize_plane_coordinates() argument 2091 *src_h = height - *src_y; in randomize_plane_coordinates() 2113 ratio = ((double) *crtc_h / *src_h); in randomize_plane_coordinates() 2115 *src_h = *crtc_h * 2; in randomize_plane_coordinates() 2117 *crtc_h = *src_h; in randomize_plane_coordinates() 2119 *crtc_h = *src_h * 3; in randomize_plane_coordinates() 2122 *crtc_h = *src_h; in randomize_plane_coordinates() 2125 if (*crtc_w != *src_w || *crtc_h != *src_h) { in randomize_plane_coordinates() [all …]
|
/aosp_15_r20/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDeviceInterface.cpp | 40 …ALOGD("src_h (%d, %d, %d)", res.restriction.src_h.min, res.restriction.src_h.max, res.restriction.… in printDppRestriction() 121 rSize.maxCropHeight = r.src_h.max; in makeDPURestrictions() 123 rSize.minCropHeight = r.src_h.min; in makeDPURestrictions()
|
/aosp_15_r20/external/mesa3d/src/mesa/main/ |
H A D | copyimage.c | 620 GLuint src_w, src_h, dst_w, dst_h; in _mesa_CopyImageSubData() local 643 &srcIntFormat, &src_w, &src_h, &src_num_samples, in _mesa_CopyImageSubData() 679 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData() 779 GLuint src_w, src_h, dst_w, dst_h; in _mesa_CopyImageSubDataNV() local 801 &srcIntFormat, &src_w, &src_h, &src_num_samples, in _mesa_CopyImageSubDataNV() 849 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubDataNV()
|
/aosp_15_r20/external/ComputeLibrary/src/cpu/kernels/pool2d/neon/ |
H A D | quantized.h | 421 const int src_h = src->info()->dimension(1); in pooling2_quantized_neon_nchw() local 432 …auto top_data = load16_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_right, pool_pad_top, p… in pooling2_quantized_neon_nchw() 434 …auto bottom_data = load16_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_right, pool_pad_top… in pooling2_quantized_neon_nchw() 559 const int src_h = src->info()->dimension(1); in pooling3_quantized_neon_nchw() local 570 …auto top_data = load16_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_right, pool_pad_top, p… in pooling3_quantized_neon_nchw() 572 …auto middle_data = load16_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_right, pool_pad_top… in pooling3_quantized_neon_nchw() 574 …auto bottom_data = load16_boundary_aware(src_w, src_h, pool_pad_left, pool_pad_right, pool_pad_top… in pooling3_quantized_neon_nchw() 715 const int src_h = src->info()->dimension(1); in poolingMxN_quantized_neon_nchw() local 741 … const T data = (idx < 0 || idy < 0 || idx >= src_w || idy >= src_h) ? fill_value : *in_ptr; in poolingMxN_quantized_neon_nchw() 758 … const T data = (idx < 0 || idy < 0 || idx >= src_w || idy >= src_h) ? fill_value : *in_ptr; in poolingMxN_quantized_neon_nchw()
|
/aosp_15_r20/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 565 int src_w, int src_h) in fallback_copy_image() argument 582 unsigned dst_h = src_h; in fallback_copy_image() 583 unsigned lines = src_h; in fallback_copy_image() 608 int max_y = MAX2(src_y + src_h, dst_y + dst_h); in fallback_copy_image() 640 src_x, src_y, src_w, src_h, in fallback_copy_image() 645 src_x, src_y, src_w, src_h, in fallback_copy_image()
|
/aosp_15_r20/external/libvpx/vp9/encoder/x86/ |
H A D | vp9_frame_scale_ssse3.c | 675 const int src_w, const int src_h, in scale_plane_1_to_2_phase_0() argument 703 y = src_h; in scale_plane_1_to_2_phase_0() 754 const int src_h = src->y_crop_height; in vp9_scale_and_extend_frame_ssse3() local 764 if (dst_w * 2 == src_w && dst_h * 2 == src_h) { in vp9_scale_and_extend_frame_ssse3() 807 } else if (4 * dst_w == src_w && 4 * dst_h == src_h) { in vp9_scale_and_extend_frame_ssse3() 851 } else if (4 * dst_w == 3 * src_w && 4 * dst_h == 3 * src_h) { in vp9_scale_and_extend_frame_ssse3() 881 } else if (dst_w == src_w * 2 && dst_h == src_h * 2 && phase_scaler == 0) { in vp9_scale_and_extend_frame_ssse3() 888 src_h, vp9_filter_kernels[filter_type][8], temp_buffer); in vp9_scale_and_extend_frame_ssse3()
|
/aosp_15_r20/external/libaom/av1/common/x86/ |
H A D | resize_ssse3.c | 737 const int src_w, const int src_h, in scale_plane_1_to_2_phase_0() argument 765 y = src_h; in scale_plane_1_to_2_phase_0() 853 const int src_h = src->crop_heights[is_uv]; in av1_resize_and_extend_frame_ssse3() local 860 if (2 * dst_w == src_w && 2 * dst_h == src_h) { in av1_resize_and_extend_frame_ssse3() 890 } else if (4 * dst_w == src_w && 4 * dst_h == src_h) { in av1_resize_and_extend_frame_ssse3() 923 } else if (4 * dst_w == 3 * src_w && 4 * dst_h == 3 * src_h) { in av1_resize_and_extend_frame_ssse3() 952 assert(dst_w == src_w * 2 && dst_h == src_h * 2); in av1_resize_and_extend_frame_ssse3() 964 src_h, interp_kernel[8], temp_buffer); in av1_resize_and_extend_frame_ssse3()
|
/aosp_15_r20/external/ComputeLibrary/tests/validation/fixtures/ |
H A D | IndirectConv2dAddressPrecalculationFixture.h | 49 unsigned int src_h, in setup() argument 67 src_h, in setup()
|
/aosp_15_r20/external/libaom/av1/common/arm/ |
H A D | resize_neon_i8mm.c | 240 const int src_h = src->crop_heights[is_uv]; in av1_resize_and_extend_frame_neon_i8mm() local 246 if (2 * dst_w == src_w && 2 * dst_h == src_h) { in av1_resize_and_extend_frame_neon_i8mm() 262 } else if (4 * dst_w == src_w && 4 * dst_h == src_h) { in av1_resize_and_extend_frame_neon_i8mm()
|
/aosp_15_r20/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/mdss/mdp_sspp_change/ |
H A D | format | 20 field:u16 src_h; offset:42; size:2; signed:0; 26 …>format, REC->img_w, REC->img_h, REC->src_x, REC->src_y, REC->src_w, REC->src_h, REC->dst_x, REC->…
|
/aosp_15_r20/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_sspp_change/ |
H A D | format | 20 field:u16 src_h; offset:42; size:2; signed:0; 26 …>format, REC->img_w, REC->img_h, REC->src_x, REC->src_y, REC->src_w, REC->src_h, REC->dst_x, REC->…
|
/aosp_15_r20/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sde_rotator/rot_entry_commit/ |
H A D | format | 19 field:u16 src_h; offset:38; size:2; signed:0; 28 …c_fmt, REC->src_bw, REC->src_bh, REC->src_x, REC->src_y, REC->src_w, REC->src_h, REC->dst_fmt, REC…
|
/aosp_15_r20/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sde_rotator/rot_entry_done/ |
H A D | format | 19 field:u16 src_h; offset:38; size:2; signed:0; 28 …c_fmt, REC->src_bw, REC->src_bh, REC->src_x, REC->src_y, REC->src_w, REC->src_h, REC->dst_fmt, REC…
|
/aosp_15_r20/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/mdss/mdp_sspp_set/ |
H A D | format | 20 field:u16 src_h; offset:42; size:2; signed:0; 26 …>format, REC->img_w, REC->img_h, REC->src_x, REC->src_y, REC->src_w, REC->src_h, REC->dst_x, REC->…
|