Home
last modified time | relevance | path

Searched refs:cropped_width (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/media/base/
Dvideo_adapter.cc189 int* cropped_width, in AdaptFrameResolution() argument
239 *cropped_width = in_width; in AdaptFrameResolution()
245 *cropped_width = in AdaptFrameResolution()
251 FindScale(*cropped_width, *cropped_height, target_pixel_count, in AdaptFrameResolution()
255 *cropped_width = roundUp(*cropped_width, in AdaptFrameResolution()
259 RTC_DCHECK_EQ(0, *cropped_width % scale.denominator); in AdaptFrameResolution()
263 *out_width = *cropped_width / scale.denominator * scale.numerator; in AdaptFrameResolution()
Dvideo_adapter_unittest.cc71 int cropped_width = 0; member
83 int cropped_width; in AdaptFrame() local
90 &cropped_width, &cropped_height, &out_width, &out_height)) { in AdaptFrame()
91 stats_.cropped_width = cropped_width; in AdaptFrame()
96 (in_width == cropped_width && in_height == cropped_height && in AdaptFrame()
112 int cropped_width, in VerifyAdaptedResolution() argument
116 EXPECT_EQ(cropped_width, stats.cropped_width); in VerifyAdaptedResolution()
1145 int cropped_width; in TEST() local
1151 &cropped_width, &cropped_height, &out_width, &out_height)); in TEST()
1152 EXPECT_EQ(640, cropped_width); in TEST()
[all …]
Dvideo_adapter.h46 int* cropped_width,
/external/webrtc/test/
Dtest_video_capturer.cc25 int cropped_width = 0; in OnFrame() local
34 &cropped_width, &cropped_height, &out_width, &out_height)) { in OnFrame()
/external/webp/tests/fuzzer/
Dfuzz_utils.h187 const int cropped_width = Max(1, pic->width / width_ratio); in ExtractAndCropOrScale() local
189 const int cropped_left = (pic->width - cropped_width) / left_ratio; in ExtractAndCropOrScale()
191 return WebPPictureCrop(pic, cropped_left, cropped_top, cropped_width, in ExtractAndCropOrScale()
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner.cc43 const int cropped_width = in CropAndZoom() local
60 v_plane, frame->StrideV(), cropped_width, cropped_height, in CropAndZoom()
/external/webrtc/video/
Dvideo_stream_encoder.cc1382 int cropped_width = video_frame.width() - crop_width_; in EncodeVideoFrame() local
1385 I420Buffer::Create(cropped_width, cropped_height); in EncodeVideoFrame()
1391 crop_height_ / 2, cropped_width, in EncodeVideoFrame()
1396 VideoFrame::UpdateRect{0, 0, cropped_width, cropped_height}); in EncodeVideoFrame()
1404 VideoFrame::UpdateRect{0, 0, cropped_width, cropped_height}; in EncodeVideoFrame()
Dvideo_stream_encoder_unittest.cc518 int cropped_width = 0; in IncomingCapturedFrame() local
525 video_frame.timestamp_us() * 1000, &cropped_width, in IncomingCapturedFrame()