Home
last modified time | relevance | path

Searched refs:crop_region (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner.cc36 const CropRegion& crop_region, in CropAndZoom() argument
38 RTC_CHECK(IsValidRegion(crop_region, frame)); in CropAndZoom()
40 const int uv_crop_left = crop_region.left / 2; in CropAndZoom()
41 const int uv_crop_top = crop_region.top / 2; in CropAndZoom()
44 frame->width() - crop_region.left - crop_region.right; in CropAndZoom()
46 frame->height() - crop_region.top - crop_region.bottom; in CropAndZoom()
50 frame->DataY() + frame->StrideY() * crop_region.top + crop_region.left; in CropAndZoom()
Dvideo_geometry_aligner_unittest.cc137 CropRegion crop_region; in TEST_F() local
138 crop_region.left = 2; in TEST_F()
139 crop_region.top = 4; in TEST_F()
140 crop_region.right = 5; in TEST_F()
141 crop_region.bottom = 3; in TEST_F()
146 EXPECT_EQ(crop_region, in TEST_F()
147 CalculateCropRegion(frame, CropAndZoom(crop_region, frame))); in TEST_F()
Dvideo_geometry_aligner.h32 const CropRegion& crop_region,