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

12

/external/kernel-headers/original/uapi/linux/
H A Divtv.h57 __u32 src_width; member in struct:ivtv_dma_frame
/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/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...]
H A Dlp_bld_conv.c271 * Ex: src = { i32, i32, i32, i32 } with values in range [0, 2^src_width-1]
276 unsigned src_width,
296 if (src_width <= (mantissa + 1)) {
303 scale = 1.0/(double)((1ULL << src_width) - 1);
315 n = MIN2(mantissa, src_width);
324 if (src_width > mantissa) {
325 int shift = src_width - mantissa;
275 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm, unsigned src_width, struct lp_type dst_type, LLVMValueRef src) argument
/external/webp/src/utils/
H A Drescaler.h33 int src_width, src_height; // source dimensions member in struct:__anon16992
42 int src_width, int src_height,
H A Drescaler.c258 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, argument
262 wrk->x_expand = (src_width < dst_width);
263 wrk->src_width = src_width;
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dconvert_to_argb.cc27 // 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 Dconvert_to_i420.cc23 // src_width is used for source stride computation
34 int src_width, int src_height,
39 int aligned_src_width = (src_width + 1) & ~1;
58 src_width <= 0 || crop_width <= 0 ||
104 src = sample + (src_width * crop_y + crop_x) * 2;
105 r = RGB565ToI420(src, src_width * 2,
112 src = sample + (src_width * crop_y + crop_x) * 2;
113 r = ARGB1555ToI420(src, src_width * 2,
120 src = sample + (src_width * crop_y + crop_x) * 2;
121 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 Dscale_argb.cc33 static void ScaleARGBDown2(int src_width, int src_height, argument
93 static void ScaleARGBDown4Box(int src_width, int src_height, argument
140 static void ScaleARGBDownEven(int src_width, int src_height, argument
152 assert(IS_ALIGNED(src_width, 2));
187 static void ScaleARGBBilinearDown(int src_width, int src_height, argument
199 (src_width >= 32768) ? ScaleARGBFilterCols64_C : ScaleARGBFilterCols_C;
207 if (xr > src_width) {
208 xr = src_width;
255 if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) {
297 static void ScaleARGBBilinearUp(int src_width, in argument
442 ScaleYUVToARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride_y, int src_stride_u, int src_stride_v, int dst_stride_argb, const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
662 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
704 ScaleARGB(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument
812 ARGBScaleClip(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, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument
834 ARGBScale(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, enum FilterMode filtering) argument
[all...]
H A Dscale_neon.cc545 uint16* dst_ptr, int src_width, int src_height) {
571 "+r"(src_width), // %4
544 ScaleAddRows_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int src_width, int src_height) argument
H A Dscale_neon64.cc549 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
H A Dscale_gcc.cc578 uint16* dst_ptr, int src_width, int src_height) {
614 "+r"(src_width), // %4
577 ScaleAddRows_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int src_width, int src_height) argument
H A Dscale.cc36 static void ScalePlaneDown2(int src_width, int src_height, argument
108 static void ScalePlaneDown2_16(int src_width, int src_height, argument
162 static void ScalePlaneDown4(int src_width, int src_height, argument
222 static void ScalePlaneDown4_16(int src_width, int src_height, argument
269 static void ScalePlaneDown34(int src_width, int src_height, argument
366 static void ScalePlaneDown34_16(int src_width, int src_height, argument
461 static void ScalePlaneDown38(int src_width, int src_height, argument
557 static void ScalePlaneDown38_16(int src_width, int src_height, argument
732 static void ScalePlaneBox(int src_width, int src_height, argument
743 ScaleSlope(src_width, src_heigh
801 ScalePlaneBox_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr) argument
852 ScalePlaneBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument
956 ScalePlaneBilinearDown_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument
1053 ScalePlaneBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument
1192 ScalePlaneBilinearUp_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument
1328 ScalePlaneSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument
1360 ScalePlaneSimple_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr) argument
1397 ScalePlane(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, enum FilterMode filtering) argument
1480 ScalePlane_16(const uint16* src, int src_stride, int src_width, int src_height, uint16* dst, int dst_stride, int dst_width, int dst_height, enum FilterMode filtering) argument
1566 I420Scale(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, int src_width, int src_height, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int dst_width, int dst_height, enum FilterMode filtering) argument
1598 I420Scale_16(const uint16* src_y, int src_stride_y, const uint16* src_u, int src_stride_u, const uint16* src_v, int src_stride_v, int src_width, int src_height, uint16* dst_y, int dst_stride_y, uint16* dst_u, int dst_stride_u, uint16* dst_v, int dst_stride_v, int dst_width, int dst_height, enum FilterMode filtering) argument
1631 Scale(const uint8* src_y, const uint8* src_u, const uint8* src_v, int src_stride_y, int src_stride_u, int src_stride_v, int src_width, int src_height, uint8* dst_y, uint8* dst_u, uint8* dst_v, int dst_stride_y, int dst_stride_u, int dst_stride_v, int dst_width, int dst_height, LIBYUV_BOOL interpolate) argument
1651 ScaleOffset(const uint8* src, int src_width, int src_height, uint8* dst, int dst_width, int dst_height, int dst_yoffset, LIBYUV_BOOL interpolate) argument
[all...]
H A Dscale_common.cc624 void ScaleAddRow_C(const uint8* src_ptr, uint16* dst_ptr, int src_width) { argument
626 assert(src_width > 0);
627 for (x = 0; x < src_width - 1; x += 2) {
633 if (src_width & 1) {
638 void ScaleAddRow_16_C(const uint16* src_ptr, uint32* dst_ptr, int src_width) { argument
640 assert(src_width > 0);
641 for (x = 0; x < src_width - 1; x += 2) {
647 if (src_width & 1) {
1011 enum FilterMode ScaleFilterReduce(int src_width, int src_height, argument
1014 if (src_width <
1066 ScaleSlope(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering, int* x, int* y, int* dx, int* dy) argument
[all...]
H A Dscale_win.cc802 void ScaleAddRow_SSE2(const uint8* src_ptr, uint16* dst_ptr, int src_width) { argument
806 mov ecx, [esp + 12] // src_width
832 void ScaleAddRow_AVX2(const uint8* src_ptr, uint16* dst_ptr, int src_width) { argument
836 mov ecx, [esp + 12] // src_width
/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/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/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_blit.c400 unsigned src_width, unsigned src_height,
410 calc_tex_coords(src_width, src_height,
447 * @param[in] src_width source image width
468 unsigned src_width,
497 if (reg_width + src_x_offset > src_width)
498 reg_width = src_width - src_x_offset;
517 src_width, src_height, src_pitch,
538 emit_tx_setup(r200, src_mesaformat, dst_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch);
542 emit_draw_packet(r200, src_width, src_height,
399 emit_draw_packet(struct r200_context *r200, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
463 r200_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_blit.c275 unsigned src_width, unsigned src_height,
285 calc_tex_coords(src_width, src_height,
325 * @param[in] src_width source image width
346 unsigned src_width,
375 if (reg_width + src_x_offset > src_width)
376 reg_width = src_width - src_x_offset;
395 src_width, src_height, src_pitch, src_offset,
416 emit_tx_setup(r100, src_mesaformat, src_bo, src_offset, src_width, src_height, src_pitch);
420 emit_draw_packet(r100, src_width, src_height,
274 emit_draw_packet(struct r100_context *r100, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
341 r100_blit(struct gl_context *ctx, struct radeon_bo *src_bo, intptr_t src_offset, gl_format src_mesaformat, unsigned src_pitch, unsigned src_width, unsigned src_height, unsigned src_x_offset, unsigned src_y_offset, struct radeon_bo *dst_bo, intptr_t dst_offset, gl_format dst_mesaformat, unsigned dst_pitch, unsigned dst_width, unsigned dst_height, unsigned dst_x_offset, unsigned dst_y_offset, unsigned reg_width, unsigned reg_height, unsigned flip_y) argument
/external/libyuv/files/source/
H A Dscale_argb.cc794 static void ScaleARGBDown2(int /* src_width */, int /* src_height */,
827 static void ScaleARGBDownEven(int src_width, int src_height, argument
832 assert(IS_ALIGNED(src_width, 2));
845 int src_step = src_width / dst_width;
861 static void ScaleARGBBilinear(int src_width, int src_height, argument
867 assert(src_width <= kMaxInputWidth);
885 int dx = (src_width << 16) / dst_width;
894 ScaleARGBFilterRows(row, src, src_stride, src_width, yf);
930 static void ScaleARGBSimple(int src_width, int src_height, argument
934 int dx = (src_width << 1
948 ScaleARGBAnySize(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, FilterMode filtering) argument
967 ScaleARGB(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, FilterMode filtering) argument
1011 ARGBScale(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...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_postproc.c505 const int src_width = src_widths[i] - 4; local
518 dst_stride, src_height, src_width,
525 dst_stride, src_height, src_width, ppl);
531 src_height, src_width, ppl);

Completed in 499 milliseconds

12