/external/kernel-headers/original/uapi/linux/ |
H A D | ivtv.h | 58 __u32 src_width; member in struct:ivtv_dma_frame
|
/external/libyuv/files/unit_test/ |
H A D | rotate_argb_test.cc | 19 void TestRotateBpp(int src_width, argument 28 if (src_width < 1) { 29 src_width = 1; 40 int src_stride_argb = src_width * kBpp; 57 src_width, src_height, mode); 62 src_width, src_height, mode); 67 src_width, src_height, mode); 72 src_width, src_height, mode); 86 static void ARGBTestRotate(int src_width, argument 94 TestRotateBpp(src_width, src_heigh 122 TestRotatePlane(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int benchmark_iterations, int disable_cpu_flags, int benchmark_cpu_info) argument [all...] |
H A D | rotate_test.cc | 19 static void I420TestRotate(int src_width, argument 27 if (src_width < 1) { 28 src_width = 1; 39 int src_i420_y_size = src_width * Abs(src_height); 40 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); 56 I420Rotate(src_i420, src_width, src_i420 + src_i420_y_size, 57 (src_width + 1) / 2, src_i420 + src_i420_y_size + src_i420_uv_size, 58 (src_width + 1) / 2, dst_i420_c, dst_width, 61 (dst_width + 1) / 2, src_width, src_height, mode); 66 src_i420, src_width, src_i42 138 NV12TestRotate(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int benchmark_iterations, int disable_cpu_flags, int benchmark_cpu_info) argument [all...] |
H A D | unit_test.h | 57 static inline bool SizeValid(int src_width, argument 61 if (src_width > kMaxWidth || src_height > kMaxHeight ||
|
H A D | scale_argb_test.cc | 26 static int ARGBTestFilter(int src_width, argument 34 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 41 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4LL; 42 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; 66 src_width, src_height, dst_argb_c + (dst_stride_argb * b) + b * 4, 70 src_width, src_height, dst_argb_opt + (dst_stride_argb * b) + b * 4, 76 src_width, src_height, dst_argb_c + (dst_stride_argb * b) + b * 4, 85 src_width, src_height, 121 int src_width, 138 int r = ARGBScaleClip(src_argb, src_stride_argb, src_width, src_heigh 119 TileARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, FilterMode filtering) argument 149 ARGBClipTestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int benchmark_iterations) argument 314 YUVToARGBScaleReference2(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint32 , int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, uint32 , int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument 366 YUVToARGBTestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int benchmark_iterations) argument [all...] |
H A D | scale_test.cc | 24 static int TestFilter(int src_width, argument 32 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 38 int src_width_uv = (Abs(src_width) + 1) >> 1; 41 int64 src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2); 44 int src_stride_y = b * 2 + Abs(src_width); 84 src_v + (src_stride_uv * b) + b, src_stride_uv, src_width, 96 src_v + (src_stride_uv * b) + b, src_stride_uv, src_width, 152 static int TestFilter_16(int src_width, argument 158 if (!SizeValid(src_width, src_height, dst_width, dst_height)) { 164 int src_width_uv = (Abs(src_width) [all...] |
/external/webrtc/talk/media/webrtc/ |
H A D | webrtcvideoframefactory_unittest.cc | 62 int src_width, 67 EXPECT_EQ(dest_frame->GetWidth(), src_width); 74 EXPECT_EQ(dest_frame->GetHeight(), src_width); 76 EXPECT_EQ(dest_frame->GetWidth(), src_width); 60 VerifyFrame(cricket::VideoFrame* dest_frame, webrtc::VideoRotation src_rotation, int src_width, int src_height, bool apply_rotation) argument
|
/external/webrtc/webrtc/common_video/libyuv/ |
H A D | scaler.cc | 30 int Scaler::Set(int src_width, int src_height, argument 35 if (src_width < 1 || src_height < 1 || dst_width < 1 || dst_height < 1) 41 src_width_ = src_width;
|
/external/libvpx/libvpx/test/ |
H A D | pp_filter_test.cc | 172 void SetCols(unsigned char *s, int rows, int cols, int src_width) { argument 177 s += src_width; 192 void RunFilterLevel(unsigned char *s, int rows, int cols, int src_width, argument 195 GetParam()(s, src_width, rows, cols, filter_level)); 196 RunComparison(expected_output, s, rows, cols, src_width); 288 void SetRows(unsigned char *src_c, int rows, int cols, int src_width) { argument 291 src_c += src_width; 306 void RunFilterLevel(unsigned char *s, int rows, int cols, int src_width, argument 309 GetParam()(s, src_width, rows, cols, filter_level)); 310 RunComparison(expected_output, s, rows, cols, src_width); [all...] |
H A D | vp9_scale_test.cc | 63 const int src_width = kSizesToTest[w]; local 70 const int dst_width = src_width * sf_up / sf_down; 82 if (src_width > 4 * dst_width || src_height > 4 * dst_height) { 86 src_width, src_height, dst_width, dst_height)); 92 "filter_type = %d, phase_scaler = %d, src_width = %4d, " 95 filter_type, phase_scaler, src_width, src_height, 154 const int src_width = 1280; local 163 const int dst_width = src_width * sf_up / sf_down; 173 ResetScaleImages(src_width, src_height, dst_width, dst_height)); 190 "filter_type = %d, phase_scaler = %d, src_width [all...] |
H A D | vpx_scale_test.h | 66 void ResetScaleImages(const int src_width, const int src_height, argument 68 ResetScaleImage(&img_, src_width, src_height);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 27 // src_width is used for source stride computation 35 int src_width, int src_height, 40 int aligned_src_width = (src_width + 1) & ~1; 60 src_width <= 0 || crop_width <= 0 || 93 src = sample + (src_width * crop_y + crop_x) * 3; 94 r = RGB24ToARGB(src, src_width * 3, 99 src = sample + (src_width * crop_y + crop_x) * 3; 100 r = RAWToARGB(src, src_width * 3, 105 src = sample + (src_width * crop_y + crop_x) * 4; 106 r = ARGBToARGB(src, src_width * 32 ConvertToARGB(const uint8* sample, size_t sample_size, uint8* crop_argb, int argb_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument [all...] |
H A D | convert_to_i420.cc | 23 // src_width is used for source stride computation 34 int src_width, int src_height, 39 int aligned_src_width = (src_width + 1) & ~1; 60 src_width <= 0 || crop_width <= 0 || 103 src = sample + (src_width * crop_y + crop_x) * 2; 104 r = RGB565ToI420(src, src_width * 2, 111 src = sample + (src_width * crop_y + crop_x) * 2; 112 r = ARGB1555ToI420(src, src_width * 2, 119 src = sample + (src_width * crop_y + crop_x) * 2; 120 r = ARGB4444ToI420(src, src_width * 28 ConvertToI420(const uint8* sample, size_t sample_size, uint8* y, int y_stride, uint8* u, int u_stride, uint8* v, int v_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument [all...] |
H A D | scale_neon.cc | 534 uint16* dst_ptr, int src_width, int src_height) { 559 "+r"(src_width), // %4 533 ScaleAddRows_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int src_width, int src_height) argument
|
H A D | scale_neon64.cc | 549 uint16* dst_ptr, int src_width, int src_height) { 574 "+r"(src_width), // %4 548 ScaleAddRows_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int src_width, int src_height) argument
|
/external/libyuv/files/source/ |
H A D | convert_to_argb.cc | 27 // src_width is used for source stride computation 38 int src_width, 45 int aligned_src_width = (src_width + 1) & ~1; 64 if (crop_argb == NULL || sample == NULL || src_width <= 0 || 95 src = sample + (src_width * crop_y + crop_x) * 3; 96 r = RGB24ToARGB(src, src_width * 3, crop_argb, argb_stride, crop_width, 100 src = sample + (src_width * crop_y + crop_x) * 3; 101 r = RAWToARGB(src, src_width * 3, crop_argb, argb_stride, crop_width, 106 src = sample + (src_width * crop_y + crop_x) * 4; 107 r = ARGBToARGB(src, src_width * 32 ConvertToARGB(const uint8* sample, size_t sample_size, uint8* crop_argb, int argb_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument [all...] |
H A D | scale_dspr2.cc | 618 void ScaleAddRow_DSPR2(const uint8* src_ptr, uint16* dst_ptr, int src_width) { argument 620 for (x = 0; x < ((src_width - 1)); x += 8) { 654 if ((src_width)&7) { 655 for (x = 0; x < ((src_width - 1) & 7); x += 1) {
|
H A D | convert_to_i420.cc | 23 // src_width is used for source stride computation 38 int src_width, 45 int aligned_src_width = (src_width + 1) & ~1; 66 if (!y || !u || !v || !sample || src_width <= 0 || crop_width <= 0 || 103 src = sample + (src_width * crop_y + crop_x) * 2; 104 r = RGB565ToI420(src, src_width * 2, y, y_stride, u, u_stride, v, 108 src = sample + (src_width * crop_y + crop_x) * 2; 109 r = ARGB1555ToI420(src, src_width * 2, y, y_stride, u, u_stride, v, 113 src = sample + (src_width * crop_y + crop_x) * 2; 114 r = ARGB4444ToI420(src, src_width * 28 ConvertToI420(const uint8* sample, size_t sample_size, uint8* y, int y_stride, uint8* u, int u_stride, uint8* v, int v_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument [all...] |
H A D | scale_neon.cc | 554 int src_width, 580 "+r"(src_width), // %4 551 ScaleAddRows_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int src_width, int src_height) argument
|
H A D | scale_neon64.cc | 569 int src_width, 595 "+r"(src_width), // %4 566 ScaleAddRows_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int src_width, int src_height) argument
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_copy_image.c | 43 int src_width, int src_height) 54 assert(src_width % src_bw == 0); 72 map_x2 = MAX2(src_x, dst_x) + src_width; 89 src_x, src_y, src_width, src_height, 92 dst_x, dst_y, src_width, src_height, 96 src_width /= (int)src_bw; 100 memcpy(dst_mapped, src_mapped, src_width * cpp); 119 int src_width, int src_height) 128 src_width, src_height); 151 if (src_width < b 38 copy_image_with_memcpy(struct brw_context *brw, struct intel_mipmap_tree *src_mt, int src_level, int src_x, int src_y, int src_z, struct intel_mipmap_tree *dst_mt, int dst_level, int dst_x, int dst_y, int dst_z, int src_width, int src_height) argument 114 copy_miptrees(struct brw_context *brw, struct intel_mipmap_tree *src_mt, int src_x, int src_y, int src_z, unsigned src_level, struct intel_mipmap_tree *dst_mt, int dst_x, int dst_y, int dst_z, unsigned dst_level, int src_width, int src_height) argument 173 intel_copy_image_sub_data(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) argument [all...] |
/external/webp/src/dsp/ |
H A D | rescaler_mips32.c | 90 const int src_width = wrk->src_width; local 105 "addiu %[temp3], %[src_width], -1 \n\t" 138 [x_stride1]"r"(x_stride1), [src_width]"r"(src_width), 142 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0);
|
/external/webp/src/enc/ |
H A D | picture_rescale_enc.c | 168 int src_width, int src_height, int src_stride, 175 WebPRescalerInit(&rescaler, src_width, src_height, 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) argument
|
/external/webp/src/utils/ |
H A D | rescaler_utils.c | 22 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, argument 26 const int x_add = src_width, x_sub = dst_width; 28 wrk->x_expand = (src_width < dst_width); 30 wrk->src_width = src_width; 77 int WebPRescalerGetScaledDimensions(int src_width, int src_height, argument 89 (int)(((uint64_t)src_width * height + src_height / 2) / src_height); 94 (int)(((uint64_t)src_height * width + src_width / 2) / src_width);
|
H A D | rescaler_utils.h | 41 int src_width, src_height; // source dimensions member in struct:WebPRescaler 51 int src_width, int src_height, 61 int WebPRescalerGetScaledDimensions(int src_width, int src_height,
|