Searched refs:cropped_height (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/media/base/ |
D | video_adapter.cc | 190 int* cropped_height, in AdaptFrameResolution() argument 240 *cropped_height = in_height; in AdaptFrameResolution() 247 *cropped_height = in AdaptFrameResolution() 251 FindScale(*cropped_width, *cropped_height, target_pixel_count, in AdaptFrameResolution() 257 *cropped_height = roundUp( in AdaptFrameResolution() 258 *cropped_height, scale.denominator * resolution_alignment_, in_height); in AdaptFrameResolution() 260 RTC_DCHECK_EQ(0, *cropped_height % scale.denominator); in AdaptFrameResolution() 264 *out_height = *cropped_height / scale.denominator * scale.numerator; in AdaptFrameResolution()
|
D | video_adapter_unittest.cc | 72 int cropped_height = 0; member 84 int cropped_height; in AdaptFrame() local 90 &cropped_width, &cropped_height, &out_width, &out_height)) { in AdaptFrame() 92 stats_.cropped_height = cropped_height; in AdaptFrame() 96 (in_width == cropped_width && in_height == cropped_height && in AdaptFrame() 113 int cropped_height, in VerifyAdaptedResolution() argument 117 EXPECT_EQ(cropped_height, stats.cropped_height); in VerifyAdaptedResolution() 1146 int cropped_height; in TEST() local 1151 &cropped_width, &cropped_height, &out_width, &out_height)); in TEST() 1153 EXPECT_EQ(360, cropped_height); in TEST() [all …]
|
D | video_adapter.h | 47 int* cropped_height,
|
/external/webrtc/test/ |
D | test_video_capturer.cc | 26 int cropped_height = 0; in OnFrame() local 34 &cropped_width, &cropped_height, &out_width, &out_height)) { in OnFrame()
|
/external/webp/tests/fuzzer/ |
D | fuzz_utils.h | 188 const int cropped_height = Max(1, pic->height / height_ratio); in ExtractAndCropOrScale() local 190 const int cropped_top = (pic->height - cropped_height) / top_ratio; in ExtractAndCropOrScale() 192 cropped_height); in ExtractAndCropOrScale()
|
/external/webrtc/rtc_tools/frame_analyzer/ |
D | video_geometry_aligner.cc | 45 const int cropped_height = in CropAndZoom() local 60 v_plane, frame->StrideV(), cropped_width, cropped_height, in CropAndZoom()
|
/external/webrtc/video/ |
D | video_stream_encoder.cc | 1383 int cropped_height = video_frame.height() - crop_height_; in EncodeVideoFrame() local 1385 I420Buffer::Create(cropped_width, cropped_height); in EncodeVideoFrame() 1392 cropped_height); 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 | 519 int cropped_height = 0; in IncomingCapturedFrame() local 526 &cropped_height, &out_width, &out_height)) { in IncomingCapturedFrame()
|