Searched refs:crop_region (Results 1 – 3 of 3) sorted by relevance
36 const CropRegion& crop_region, in CropAndZoom() argument38 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()
137 CropRegion crop_region; in TEST_F() local138 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()
32 const CropRegion& crop_region,