Searched refs:cropped_width (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/media/base/ |
D | video_adapter.cc | 189 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()
|
D | video_adapter_unittest.cc | 71 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 …]
|
D | video_adapter.h | 46 int* cropped_width,
|
/external/webrtc/test/ |
D | test_video_capturer.cc | 25 int cropped_width = 0; in OnFrame() local 34 &cropped_width, &cropped_height, &out_width, &out_height)) { in OnFrame()
|
/external/webp/tests/fuzzer/ |
D | fuzz_utils.h | 187 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/ |
D | video_geometry_aligner.cc | 43 const int cropped_width = in CropAndZoom() local 60 v_plane, frame->StrideV(), cropped_width, cropped_height, in CropAndZoom()
|
/external/webrtc/video/ |
D | video_stream_encoder.cc | 1382 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()
|
D | video_stream_encoder_unittest.cc | 518 int cropped_width = 0; in IncomingCapturedFrame() local 525 video_frame.timestamp_us() * 1000, &cropped_width, in IncomingCapturedFrame()
|