Searched defs:src_width (Results 1 - 25 of 80) sorted by relevance

1234

/external/chromium_org/third_party/libyuv/unit_test/
H A Drotate_argb_test.cc21 void TestRotateBpp(int src_width, int src_height, argument
26 if (src_width < 1) {
27 src_width = 1;
38 int src_stride_argb = src_width * kBpp;
56 src_width, src_height, mode);
62 src_width, src_height, mode);
68 src_width, src_height, mode);
74 src_width, src_height, mode);
88 static void ARGBTestRotate(int src_width, int src_height, argument
92 TestRotateBpp(src_width, src_heigh
145 TestRotatePlane(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int benchmark_iterations) argument
[all...]
H A Drotate_test.cc21 static void I420TestRotate(int src_width, int src_height, argument
25 if (src_width < 1) {
26 src_width = 1;
37 int src_i420_y_size = src_width * src_height;
38 int src_i420_uv_size = ((src_width + 1) / 2) * ((src_height + 1) / 2);
54 I420Rotate(src_i420, src_width,
55 src_i420 + src_i420_y_size, (src_width + 1) / 2,
56 src_i420 + src_i420_y_size + src_i420_uv_size, (src_width + 1) / 2,
61 src_width, src_height, mode);
65 I420Rotate(src_i420, src_width,
134 NV12TestRotate(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int benchmark_iterations) argument
[all...]
H A Dscale_argb_test.cc22 static int ARGBTestFilter(int src_width, int src_height, argument
27 int src_argb_plane_size = (Abs(src_width) + b * 2) *
29 int src_stride_argb = (b * 2 + Abs(src_width)) * 4;
46 src_width, src_height,
51 src_width, src_height,
58 src_width, src_height,
68 src_width, src_height,
103 int src_width, int src_height,
118 src_width, src_height,
130 static int ARGBClipTestFilter(int src_width, in argument
102 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
[all...]
H A Dscale_test.cc21 static int TestFilter(int src_width, int src_height, argument
26 int src_width_uv = (Abs(src_width) + 1) >> 1;
29 int src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2);
32 int src_stride_y = b * 2 + Abs(src_width);
65 src_width, src_height,
78 src_width, src_height,
137 static int TestFilter_16(int src_width, int src_height, argument
142 int src_width_uv = (Abs(src_width) + 1) >> 1;
145 int src_y_plane_size = (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2);
148 int src_stride_y = b * 2 + Abs(src_width);
[all...]
/external/chromium_org/third_party/webrtc/common_video/libyuv/
H A Dscaler.cc28 int Scaler::Set(int src_width, int src_height, argument
33 if (src_width < 1 || src_height < 1 || dst_width < 1 || dst_height < 1)
39 src_width_ = src_width;
/external/kernel-headers/original/uapi/linux/
H A Divtv.h57 __u32 src_width; member in struct:ivtv_dma_frame
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexcompress_etc.c88 * \param src_width in pixels
97 unsigned src_width,
102 src_width, src_height);
93 _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) argument
/external/libyuv/files/unit_test/
H A Dscale_argb_test.cc20 static int ARGBTestFilter(int src_width, int src_height, argument
24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4;
25 int src_stride_argb = (b * 2 + src_width) * 4;
37 for (j = b; j < (src_width + b) * 4; ++j) {
50 src_width, src_height,
55 src_width, src_height,
63 src_width, src_height,
73 src_width, src_height,
105 const int src_width = 1280; local
107 const int dst_width = src_width /
120 const int src_width = 1280; local
135 const int src_width = 1280; local
150 const int src_width = 1280; local
165 const int src_width = 1280; local
180 const int src_width = 1280; local
195 int src_width = 1280; local
210 int src_width = 1280; local
225 int src_width = 2880 * 2; local
241 int src_width = 1280; local
[all...]
H A Drotate_argb_test.cc20 static int ARGBTestRotate(int src_width, int src_height, argument
24 int src_argb_plane_size = (src_width + b * 2) * (src_height + b * 2) * 4;
25 int src_stride_argb = (b * 2 + src_width) * 4;
37 for (j = b; j < (src_width + b) * 4; ++j) {
51 src_width, src_height, mode);
55 src_width, src_height, mode);
62 src_width, src_height, mode);
71 src_width, src_height, mode);
100 const int src_width = 1280; local
105 int err = ARGBTestRotate(src_width, src_heigh
112 const int src_width = 1280; local
124 const int src_width = 1280; local
136 const int src_width = 1280; local
148 const int src_width = 1277; local
160 const int src_width = 1277; local
172 const int src_width = 1277; local
184 const int src_width = 1277; local
[all...]
H A Dscale_test.cc20 static int TestFilter(int src_width, int src_height, argument
24 int src_width_uv = (src_width + rounding) >> 1;
27 int src_y_plane_size = (src_width + b * 2) * (src_height + b * 2);
30 int src_stride_y = b * 2 + src_width;
50 for (j = b; j < (src_width + b); ++j) {
74 src_width, src_height,
83 src_width, src_height,
95 src_width, src_height,
109 src_width, src_height,
166 const int src_width local
181 const int src_width = 1280; local
196 const int src_width = 1280; local
211 const int src_width = 1280; local
226 const int src_width = 1280; local
241 const int src_width = 1280; local
256 int src_width = 1280; local
271 int src_width = 1280; local
286 int src_width = 2880 * 2; local
301 int src_width = 1280; local
316 int src_width = 1280; local
332 int src_width = 686; local
347 int src_width = 686; local
362 int src_width = 684; local
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexcompress_etc.c88 * \param src_width in pixels
97 unsigned src_width,
102 src_width, src_height);
93 _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) argument
/external/chromium_org/third_party/libwebp/utils/
H A Drescaler.h33 int src_width, src_height; // source dimensions member in struct:__anon13303
42 int src_width, int src_height,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_gather.c76 unsigned src_width,
82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width);
94 assert(src_width <= dst_width);
95 if (src_width > dst_width)
97 if (src_width < dst_width)
107 * For SSE, typical values are length=4, src_width=32, dst_width=32.
110 * @param src_width src element width in bits
118 unsigned src_width,
128 src_width, dst_width,
142 src_width, dst_widt
74 lp_build_gather_elem(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, LLVMValueRef base_ptr, LLVMValueRef offsets, unsigned i) argument
116 lp_build_gather(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, LLVMValueRef base_ptr, LLVMValueRef offsets) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_gather.c76 unsigned src_width,
82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width);
94 assert(src_width <= dst_width);
95 if (src_width > dst_width)
97 if (src_width < dst_width)
107 * For SSE, typical values are length=4, src_width=32, dst_width=32.
110 * @param src_width src element width in bits
118 unsigned src_width,
128 src_width, dst_width,
142 src_width, dst_widt
74 lp_build_gather_elem(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, LLVMValueRef base_ptr, LLVMValueRef offsets, unsigned i) argument
116 lp_build_gather(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, LLVMValueRef base_ptr, LLVMValueRef offsets) argument
[all...]
/external/webp/src/utils/
H A Drescaler.h33 int src_width, src_height; // source dimensions member in struct:__anon33400
42 int src_width, int src_height,
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dconvert_to_argb.cc28 // src_width is used for source stride computation
36 int src_width, int src_height,
41 int aligned_src_width = (src_width + 1) & ~1;
61 src_width <= 0 || crop_width <= 0 ||
94 src = sample + (src_width * crop_y + crop_x) * 3;
95 r = RGB24ToARGB(src, src_width * 3,
100 src = sample + (src_width * crop_y + crop_x) * 3;
101 r = RAWToARGB(src, src_width * 3,
106 src = sample + (src_width * crop_y + crop_x) * 4;
107 r = ARGBToARGB(src, src_width *
33 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...]
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_rescale.c175 int src_width, int src_height, int src_stride,
182 WebPRescalerInit(&rescaler, src_width, src_height,
185 src_width, dst_width,
174 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, int32_t* const work, int num_channels) argument
/external/chromium_org/third_party/libyuv/source/
H A Dconvert_to_argb.cc28 // src_width is used for source stride computation
36 int src_width, int src_height,
41 int aligned_src_width = (src_width + 1) & ~1;
61 src_width <= 0 || crop_width <= 0 ||
94 src = sample + (src_width * crop_y + crop_x) * 3;
95 r = RGB24ToARGB(src, src_width * 3,
100 src = sample + (src_width * crop_y + crop_x) * 3;
101 r = RAWToARGB(src, src_width * 3,
106 src = sample + (src_width * crop_y + crop_x) * 4;
107 r = ARGBToARGB(src, src_width *
33 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...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
H A Dva_image.c144 int src_x, int src_y, unsigned int src_width, unsigned int src_height,
143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) argument
H A Dva_subpicture.c123 unsigned short src_width, unsigned short src_height,
121 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) argument
/external/mesa3d/src/gallium/state_trackers/va/
H A Dva_image.c144 int src_x, int src_y, unsigned int src_width, unsigned int src_height,
143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y, unsigned int dest_width, unsigned int dest_height) argument
H A Dva_subpicture.c123 unsigned short src_width, unsigned short src_height,
121 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) argument
/external/pixman/test/
H A Dscaling-crash-test.c21 int32_t src_width,
55 srcbuf = (uint32_t *)malloc ((src_width + 10) * (src_height + 10) * 4);
58 memset (srcbuf, 0x88, src_width * src_height * 4);
62 PIXMAN_a8r8g8b8, src_width, src_height,
63 srcbuf + (src_width + 10) * 5 + 5, (src_width + 10) * 4);
67 0, 0, 0, 0, 0, 0, src_width, src_height);
19 run_test(int32_t dst_width, int32_t dst_height, int32_t src_width, int32_t src_height, int32_t src_x, int32_t src_y, int32_t scale_x, int32_t scale_y, pixman_filter_t filter, pixman_repeat_t repeat) argument
/external/webp/src/enc/
H A Dpicture_rescale.c175 int src_width, int src_height, int src_stride,
182 WebPRescalerInit(&rescaler, src_width, src_height,
185 src_width, dst_width,
174 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, int32_t* const work, int num_channels) argument
/external/chromium_org/content/renderer/pepper/
H A Dpepper_video_source_host.cc222 const int src_width = frame->coded_size().width(); local
224 DCHECK(src_width >= dst_width && src_height >= dst_height);
230 (src_width * vert_crop + horiz_crop);
231 const int center = (src_width + 1) / 2;

Completed in 1844 milliseconds

1234