Home
last modified time | relevance | path

Searched refs:crop_y (Results 1 – 25 of 32) sorted by relevance

12

/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_to_argb.cc47 int crop_y, in ConvertToARGB() argument
95 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
100 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
105 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
110 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
116 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
122 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
127 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
132 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
137 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc37 int crop_y, in ConvertToI420() argument
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
99 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
117 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
129 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
135 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
141 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
[all …]
/external/libaom/libaom/third_party/libyuv/source/
Dconvert_to_argb.cc34 int crop_x, int crop_y, in ConvertToARGB() argument
81 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
87 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
93 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
99 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
105 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
111 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
117 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
123 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
129 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc33 int crop_x, int crop_y, in ConvertToI420() argument
88 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
96 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
104 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
112 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
120 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
128 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
136 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
144 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
152 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
[all …]
/external/libyuv/files/source/
Dconvert_to_argb.cc45 int crop_y, in ConvertToARGB() argument
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
98 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
103 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
108 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
114 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
120 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
125 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
130 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
135 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc37 int crop_y, in ConvertToI420() argument
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
99 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
117 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
129 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
135 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
141 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToI420()
[all …]
/external/webrtc/sdk/android/src/jni/
Djava_i420_buffer.cc26 jint crop_y, in JNI_JavaI420Buffer_CropAndScaleI420() argument
51 src_y += crop_x + crop_y * src_stride_y; in JNI_JavaI420Buffer_CropAndScaleI420()
52 src_u += crop_x / 2 + crop_y / 2 * src_stride_u; in JNI_JavaI420Buffer_CropAndScaleI420()
53 src_v += crop_x / 2 + crop_y / 2 * src_stride_v; in JNI_JavaI420Buffer_CropAndScaleI420()
Dnv21_buffer.cc26 jint crop_y, in JNI_NV21Buffer_CropAndScale() argument
43 const int crop_chroma_y = crop_y / 2; in JNI_NV21Buffer_CropAndScale()
59 src_y += crop_x + crop_y * src_stride_y; in JNI_NV21Buffer_CropAndScale()
Dandroid_video_track_source.cc114 int crop_y = 0; in AdaptFrame() local
122 &crop_width, &crop_height, &crop_x, &crop_y); in AdaptFrame()
127 &crop_height, &crop_width, &crop_y, &crop_x); in AdaptFrame()
131 env, crop_x, crop_y, crop_width, crop_height, adapted_width, in AdaptFrame()
Dnv12_buffer.cc25 jint crop_y, in JNI_NV12Buffer_CropAndScale() argument
44 const int crop_chroma_y = crop_y / 2; in JNI_NV12Buffer_CropAndScale()
63 src_y += crop_x + crop_y * src_stride_y; in JNI_NV12Buffer_CropAndScale()
Dvideo_frame.cc158 int crop_y, in CropAndScale() argument
164 crop_y, crop_width, crop_height, in CropAndScale()
Dvideo_frame.h47 int crop_y,
/external/libjpeg-turbo/
Ddjpeg.c103 JDIMENSION crop_x, crop_y, crop_width, crop_height; variable
426 &crop_x, &crop_y) != 5 || in parse_switches()
767 crop_y + crop_height > cinfo.output_height) { in djpeg()
788 if ((tmp = jpeg_skip_scanlines(&cinfo, crop_y)) != crop_y) { in djpeg()
790 progname, tmp, crop_y); in djpeg()
793 while (cinfo.output_scanline < crop_y + crop_height) { in djpeg()
800 cinfo.output_height - crop_y - crop_height)) != in djpeg()
801 cinfo.output_height - crop_y - crop_height) { in djpeg()
803 progname, tmp, cinfo.output_height - crop_y - crop_height); in djpeg()
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.mm75 int crop_y;
84 &crop_y)) {
103 cropY:crop_y + rtcPixelBuffer.cropY]);
109 i420_buffer->CropAndScaleFrom(*buffer->ToI420(), crop_x, crop_y, crop_width, crop_height);
/external/webrtc/api/video/
Dvideo_frame.cc67 int crop_y, in ScaleWithFrame() argument
79 RTC_DCHECK_LE(crop_height + crop_y, frame_height); in ScaleWithFrame()
86 offset_y + height < crop_y || offset_y > crop_y + crop_width) { in ScaleWithFrame()
96 int y = offset_y - crop_y; in ScaleWithFrame()
Dvideo_frame.h68 int crop_y,
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc79 flags.crop_y >= 0 && in IsCropWindowValid()
80 flags.crop_y + flags.crop_height <= input_image_height && in IsCropWindowValid()
201 << ", y=" << flags.crop_y << ", w=" << target_output_width in UncompressLow()
219 skipped_scanlines = jpeg_skip_scanlines(&cinfo, flags.crop_y); in UncompressLow()
220 CHECK_EQ(skipped_scanlines, flags.crop_y); in UncompressLow()
359 cinfo.output_height - flags.crop_y - flags.crop_height); in UncompressLow()
448 << ", y=" << flags.crop_y << ", w=" << target_output_width in UncompressLow()
479 const uint8* full_image_ptr = full_image + flags.crop_y * full_image_stride; in UncompressLow()
Djpeg_mem_unittest.cc130 auto check_crop_and_decode_func = [&](int crop_x, int crop_y, int crop_width, in TestCropAndDecodeJpeg()
137 flags.crop_y = crop_y; in TestCropAndDecodeJpeg()
162 const uint8* p1 = &imgdata1[(i + crop_y) * stride1 + crop_x * c]; in TestCropAndDecodeJpeg()
250 flags.crop_y = y; in CheckInvalidCropWindowFailed()
Djpeg_mem.h70 int crop_y = 0; member
/external/webrtc/media/base/
Dadapted_video_track_source.cc94 int* crop_y) { in AdaptFrame() argument
113 *crop_y = (height - *crop_height) / 2; in AdaptFrame()
Dadapted_video_track_source.h60 int* crop_y);
/external/libyuv/files/docs/
Drotation.md11 int crop_x, int crop_y,
34 int crop_x, int crop_y,
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Dconvert_argb.h221 int crop_x, int crop_y,
Dconvert.h235 int crop_x, int crop_y,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DecodeAndCropJpeg.pbtxt12 1-D. The crop window: [crop_y, crop_x, crop_height, crop_width].

12