Searched refs:dst_width (Results 51 - 75 of 132) sorted by relevance

123456

/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.h53 unsigned dst_width,
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/
H A Dbilin_scaler.c63 void bilinear_scale_line_w8(unsigned char* src, unsigned char* dst_, unsigned int dst_width, vector float vf_x_scale, vector float vf_NSweight, unsigned int src_linestride);
64 void bilinear_scale_line_w16(unsigned char* src, unsigned char* dst_, unsigned int dst_width, vector float vf_x_scale, vector float vf_NSweight, unsigned int src_linestride);
136 unsigned int dst_width = parms.dst_pixel_width; local
146 unsigned int scaled_src_linestride_y = dst_width;
157 unsigned int dst_picture_size = dst_width*dst_height;
160 unsigned int dst_dbl_linestride_y = dst_width<<1;
161 unsigned int dst_dbl_linestride_vu = dst_width>>1;
169 vector float vf_x_scale = spu_splats( (float)src_width/(float)dst_width );
284 dst_width,
291 dst_width,
442 unsigned int dst_width = parms.dst_pixel_width; local
745 unsigned int dst_width = parms.dst_pixel_width; local
1033 unsigned int dst_width = parms.dst_pixel_width; local
1325 bilinear_scale_line_w8( unsigned char* src, unsigned char* dst_, unsigned int dst_width, vector float vf_x_scale, vector float vf_NSweight, unsigned int src_linestride ) argument
1608 bilinear_scale_line_w16( unsigned char* src, unsigned char* dst_, unsigned int dst_width, vector float vf_x_scale, vector float vf_NSweight, unsigned int src_linestride ) argument
[all...]
/external/pixman/test/
H A Dcomposite-traps-test.c54 int dst_width, dst_height; local
149 dst_width = prng_rand_n (MAX_DST_WIDTH) + 1;
151 dst_stride = dst_width * dst_bpp + prng_rand_n (MAX_STRIDE) * dst_bpp;
156 dst_x = -(dst_width / 4) + prng_rand_n (dst_width * 3 / 2);
160 dst_format, dst_width, dst_height, dst_bits, dst_stride);
195 clip_boxes[i].x1 = prng_rand_n (dst_width);
198 clip_boxes[i].x1 + prng_rand_n (dst_width - clip_boxes[i].x1);
H A Daffine-test.c34 int dst_width, dst_height; local
59 dst_width = prng_rand_n (MAX_DST_WIDTH) + 1;
62 dst_stride = dst_width * dst_bpp + prng_rand_n (MAX_STRIDE) * dst_bpp;
72 dst_x = -(dst_width / 4) + prng_rand_n (dst_width * 3 / 2);
74 w = prng_rand_n (dst_width * 3 / 2 - dst_x);
93 dst_fmt, dst_width, dst_height, dstbuf, dst_stride);
213 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n",
214 src_width, src_height, dst_width, dst_height);
254 clip_boxes[i].x1 = prng_rand_n (dst_width);
[all...]
H A Dscaling-test.c60 int dst_width, dst_height; local
113 dst_width = prng_rand_n (MAX_DST_WIDTH) + 1;
117 dst_stride = dst_width * dst_bpp + prng_rand_n (MAX_STRIDE) * dst_bpp;
134 dst_x = -(dst_width / 4) + prng_rand_n (dst_width * 3 / 2);
136 w = prng_rand_n (dst_width * 3 / 2 - dst_x);
157 dst_fmt, dst_width, dst_height, dstbuf, dst_stride);
248 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n",
249 src_width, src_height, dst_width, dst_height);
317 clip_boxes[i].x1 = prng_rand_n (dst_width);
[all...]
H A Dblitters-test.c230 int dst_width, dst_height; local
281 dst_width = pixman_image_get_width (dst_img);
290 dst_x = prng_rand_n (dst_width);
336 w = prng_rand_n (dst_width - dst_x + 1);
345 printf ("src_width=%d, src_height=%d, dst_width=%d, dst_height=%d\n",
346 src_width, src_height, dst_width, dst_height);
366 if (j == (dst_width * PIXMAN_FORMAT_BPP (dst_fmt) + 7) / 8)
/external/chromium_org/third_party/libyuv/unit_test/
H A Dscale_test.cc22 int dst_width, int dst_height,
43 int dst_width_uv = (dst_width + 1) >> 1;
46 int dst_y_plane_size = (dst_width + b * 2) * (dst_height + b * 2);
49 int dst_stride_y = b * 2 + dst_width;
69 dst_width, dst_height, f);
82 dst_width, dst_height, f);
97 for (j = b; j < (dst_width + b); ++j) {
138 int dst_width, int dst_height,
179 int dst_width_uv = (dst_width + 1) >> 1;
182 int dst_y_plane_size = (dst_width
21 TestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int benchmark_iterations) argument
137 TestFilter_16(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int benchmark_iterations) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoframe.cc170 size_t VideoFrame::StretchToBuffer(size_t dst_width, size_t dst_height, argument
178 size_t needed = SizeOf(dst_width, dst_height);
181 uint8* dst_u = dst_y + dst_width * dst_height;
182 uint8* dst_v = dst_u + ((dst_width + 1) >> 1) * ((dst_height + 1) >> 1);
184 static_cast<int32>(dst_width),
185 static_cast<int32>((dst_width + 1) >> 1),
186 static_cast<int32>((dst_width + 1) >> 1),
187 dst_width, dst_height, interpolate, vert_crop);
207 VideoFrame* VideoFrame::Stretch(size_t dst_width, size_t dst_height, argument
209 VideoFrame* dest = CreateEmptyFrame(static_cast<int>(dst_width),
[all...]
/external/chromium_org/third_party/libwebp/utils/
H A Drescaler.c32 const int x_out_max = wrk->dst_width * wrk->num_channels;
78 const int x_out_max = wrk->dst_width * wrk->num_channels;
98 const int x_out_max = wrk->dst_width * wrk->num_channels;
198 const int x_out_max = wrk->dst_width * wrk->num_channels;
259 uint8_t* const dst, int dst_width, int dst_height,
262 wrk->x_expand = (src_width < dst_width);
265 wrk->dst_width = dst_width;
282 wrk->frow = work + num_channels * dst_width;
258 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
/external/webp/src/utils/
H A Drescaler.c32 const int x_out_max = wrk->dst_width * wrk->num_channels;
78 const int x_out_max = wrk->dst_width * wrk->num_channels;
98 const int x_out_max = wrk->dst_width * wrk->num_channels;
198 const int x_out_max = wrk->dst_width * wrk->num_channels;
259 uint8_t* const dst, int dst_width, int dst_height,
262 wrk->x_expand = (src_width < dst_width);
265 wrk->dst_width = dst_width;
282 wrk->frow = work + num_channels * dst_width;
258 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Drow_mips.cc931 ptrdiff_t src_stride, int dst_width,
969 "addiu %[dst_width], %[dst_width], -8 \n"
972 "bgtz %[dst_width], 1b \n"
979 [dst_width] "+r" (dst_width)
930 InterpolateRows_MIPS_DSPR2(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) argument
H A Drotate_argb.cc31 uint8* dst_ptr, int dst_width);
38 uint8* dst_ptr, int dst_width);
43 uint8* dst_ptr, int dst_width);
51 int src_step, uint8* dst_ptr, int dst_width) = ScaleARGBRowDownEven_C;
H A Dscale_win.cc99 uint8* dst_ptr, int dst_width) {
104 mov ecx, [esp + 16] // dst_width
127 uint8* dst_ptr, int dst_width) {
132 mov ecx, [esp + 16] // dst_width
165 uint8* dst_ptr, int dst_width) {
171 mov ecx, [esp + 4 + 16] // dst_width
210 uint8* dst_ptr, int dst_width) {
215 mov ecx, [esp + 16] // dst_width
239 uint8* dst_ptr, int dst_width) {
244 mov ecx, [esp + 16] // dst_width
98 ScaleRowDown2_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
126 ScaleRowDown2Linear_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
164 ScaleRowDown2Box_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
208 ScaleRowDown2_Unaligned_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
237 ScaleRowDown2Linear_Unaligned_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
276 ScaleRowDown2Box_Unaligned_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
321 ScaleRowDown4_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
354 ScaleRowDown4Box_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
419 ScaleRowDown34_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
468 ScaleRowDown34_1_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
527 ScaleRowDown34_0_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
590 ScaleRowDown38_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
622 ScaleRowDown38_3_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
688 ScaleRowDown38_2_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
804 ScaleFilterCols_SSSE3(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
885 ScaleColsUp2_SSE2(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
912 ScaleARGBRowDown2_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
939 ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
969 ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
1005 ScaleARGBRowDownEven_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
1043 ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
1092 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1186 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1261 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Drow_mips.cc931 ptrdiff_t src_stride, int dst_width,
969 "addiu %[dst_width], %[dst_width], -8 \n"
972 "bgtz %[dst_width], 1b \n"
979 [dst_width] "+r" (dst_width)
930 InterpolateRows_MIPS_DSPR2(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) argument
H A Drotate_argb.cc31 uint8* dst_ptr, int dst_width);
38 uint8* dst_ptr, int dst_width);
43 uint8* dst_ptr, int dst_width);
51 int src_step, uint8* dst_ptr, int dst_width) = ScaleARGBRowDownEven_C;
H A Dscale_win.cc99 uint8* dst_ptr, int dst_width) {
104 mov ecx, [esp + 16] // dst_width
127 uint8* dst_ptr, int dst_width) {
132 mov ecx, [esp + 16] // dst_width
165 uint8* dst_ptr, int dst_width) {
171 mov ecx, [esp + 4 + 16] // dst_width
210 uint8* dst_ptr, int dst_width) {
215 mov ecx, [esp + 16] // dst_width
239 uint8* dst_ptr, int dst_width) {
244 mov ecx, [esp + 16] // dst_width
98 ScaleRowDown2_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
126 ScaleRowDown2Linear_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
164 ScaleRowDown2Box_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
208 ScaleRowDown2_Unaligned_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
237 ScaleRowDown2Linear_Unaligned_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
276 ScaleRowDown2Box_Unaligned_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
321 ScaleRowDown4_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
354 ScaleRowDown4Box_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
419 ScaleRowDown34_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
468 ScaleRowDown34_1_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
527 ScaleRowDown34_0_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
590 ScaleRowDown38_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
622 ScaleRowDown38_3_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
688 ScaleRowDown38_2_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument
804 ScaleFilterCols_SSSE3(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
885 ScaleColsUp2_SSE2(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
912 ScaleARGBRowDown2_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
939 ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
969 ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
1005 ScaleARGBRowDownEven_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
1043 ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
1092 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1186 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1261 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/
H A Dmjpeg_decoder.h136 // dst_width must match exactly. dst_height must be <= to image height; if
142 LIBYUV_BOOL DecodeToBuffers(uint8** planes, int dst_width, int dst_height);
149 int dst_width, int dst_height);
/external/chromium_org/third_party/libyuv/include/libyuv/
H A Dmjpeg_decoder.h136 // dst_width must match exactly. dst_height must be <= to image height; if
142 LIBYUV_BOOL DecodeToBuffers(uint8** planes, int dst_width, int dst_height);
149 int dst_width, int dst_height);
/external/libyuv/files/include/libyuv/
H A Dmjpeg_decoder.h113 // dst_width must match exactly. dst_height must be <= to image height; if
119 bool DecodeToBuffers(uint8** planes, int dst_width, int dst_height);
126 int dst_width, int dst_height);
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_capturer_adapter.cc139 const int dst_width = src->natural_size().width(); local
141 DCHECK(src->visible_rect().width() >= dst_width &&
168 const int dst_stride_y = dst_width;
169 uint8* dst_u = dst_y + dst_width * dst_height;
170 const int dst_halfwidth = (dst_width + 1) / 2;
188 dst_width,
/external/libyuv/files/source/
H A Dconvert_argb.cc1005 int dst_width, int dst_height,
1009 src_width <= 0 || dst_width <= 0 ||
1034 int argb_size = dst_width * abs_dst_height * 4;
1040 argb_stride = dst_width;
1049 dst_width, inv_dst_height);
1055 dst_width, inv_dst_height);
1064 // dst_width, inv_dst_height);
1070 dst_width, inv_dst_height);
1076 dst_width, inv_dst_height);
1082 dst_width, inv_dst_heigh
1001 ConvertToARGB(const uint8* sample, size_t sample_size, uint8* dst_argb, int argb_stride, int crop_x, int crop_y, int src_width, int src_height, int dst_width, int dst_height, RotationMode rotation, uint32 format) argument
[all...]
H A Drotate_argb.cc30 uint8* dst_ptr, int dst_width);
34 uint8* dst_ptr, int dst_width);
40 int src_step, uint8* dst_ptr, int dst_width) = ScaleARGBRowDownEven_C;
H A Dconvert.cc195 uint8* dst, int dst_width);
200 uint8* dst_ptr, int dst_width);
203 uint8* dst_ptr, int dst_width);
230 uint8* dst_ptr, int dst_width) = ScaleRowDown2Int_C;
277 int dst_width, int dst_height,
1720 int dst_width, int dst_height,
1724 src_width <= 0 || dst_width <= 0 ||
1755 int y_size = dst_width * abs_dst_height;
1756 int uv_size = ((dst_width + 1) / 2) * ((abs_dst_height + 1) / 2);
1764 y_stride = dst_width;
1709 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 dst_width, int dst_height, RotationMode rotation, uint32 format) argument
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dpepper_video_source_host.cc131 const int dst_width = frame->visible_rect().width(); local
139 if (shared_image_.get() && dst_width == shared_image_->width() &&
175 PP_MakeSize(dst_width, dst_height),
224 DCHECK(src_width >= dst_width && src_height >= dst_height);
245 dst_width,
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_avatar_icon_util.h85 // image is scaled to fit |dst_width| and |dst_height|.
88 int dst_width,

Completed in 5350 milliseconds

123456