Home
last modified time | relevance | path

Searched refs:crop_x (Results 1 – 25 of 31) sorted by relevance

12

/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_to_argb.cc46 int crop_x, 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.cc36 int crop_x, 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.cc44 int crop_x, 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.cc36 int crop_x, 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.cc25 jint crop_x, 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.cc25 jint crop_x, in JNI_NV21Buffer_CropAndScale() argument
42 const int crop_chroma_x = crop_x / 2; in JNI_NV21Buffer_CropAndScale()
59 src_y += crop_x + crop_y * src_stride_y; in JNI_NV21Buffer_CropAndScale()
Dandroid_video_track_source.cc113 int crop_x = 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.cc24 jint crop_x, in JNI_NV12Buffer_CropAndScale() argument
43 const int crop_chroma_x = crop_x / 2; in JNI_NV12Buffer_CropAndScale()
63 src_y += crop_x + crop_y * src_stride_y; in JNI_NV12Buffer_CropAndScale()
Dvideo_frame.cc157 int crop_x, in CropAndScale() argument
163 return Adopt(jni, Java_Buffer_cropAndScale(jni, j_video_frame_buffer_, crop_x, in CropAndScale()
Dvideo_frame.h46 int crop_x,
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.mm74 int crop_x;
83 &crop_x,
102 cropX:crop_x + rtcPixelBuffer.cropX
109 i420_buffer->CropAndScaleFrom(*buffer->ToI420(), crop_x, crop_y, crop_width, crop_height);
/external/webrtc/api/video/
Dvideo_frame.cc66 int crop_x, in ScaleWithFrame() argument
78 RTC_DCHECK_LE(crop_width + crop_x, frame_width); in ScaleWithFrame()
85 if (offset_x + width < crop_x || offset_x > crop_x + crop_width || in ScaleWithFrame()
90 int x = offset_x - crop_x; in ScaleWithFrame()
Dvideo_frame.h67 int crop_x,
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc78 return flags.crop_width > 0 && flags.crop_height > 0 && flags.crop_x >= 0 && in IsCropWindowValid()
81 flags.crop_x + flags.crop_width <= input_image_width; in IsCropWindowValid()
200 LOG(ERROR) << "Invalid crop window: x=" << flags.crop_x in UncompressLow()
215 JDIMENSION crop_x = flags.crop_x; in UncompressLow() local
216 jpeg_crop_scanline(&cinfo, &crop_x, &crop_width); in UncompressLow()
447 LOG(ERROR) << "Invalid crop window: x=" << flags.crop_x in UncompressLow()
478 const int crop_offset = flags.crop_x * components * sizeof(JSAMPLE); in UncompressLow()
Djpeg_mem_unittest.cc130 auto check_crop_and_decode_func = [&](int crop_x, int crop_y, int crop_width, in TestCropAndDecodeJpeg()
136 flags.crop_x = crop_x; in TestCropAndDecodeJpeg()
162 const uint8* p1 = &imgdata1[(i + crop_y) * stride1 + crop_x * c]; in TestCropAndDecodeJpeg()
249 flags.crop_x = x; in CheckInvalidCropWindowFailed()
Djpeg_mem.h68 int crop_x = 0; member
/external/webrtc/media/base/
Dadapted_video_track_source.cc93 int* crop_x, in AdaptFrame() argument
112 *crop_x = (width - *crop_width) / 2; in AdaptFrame()
Dadapted_video_track_source.h59 int* crop_x,
/external/libjpeg-turbo/
Ddjpeg.c103 JDIMENSION crop_x, crop_y, crop_width, crop_height; variable
426 &crop_x, &crop_y) != 5 || in parse_switches()
766 if (crop_x + crop_width > cinfo.output_width || in djpeg()
773 jpeg_crop_scanline(&cinfo, &crop_x, &crop_width); in djpeg()
/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