DescriptionReland:Refactored pixel format resize operations in media/video/capture into a function called VideoCaptureFormat::GetSizeForVideoPixelFormat().
Relanding Issue https://codereview.chromium.org/897483002.
Refactored pixel format resize operations in media/video/capture into a function called VideoCaptureFormat::GetSizeForVideoPixelFormat().
TEST=VideoCaptureDeviceTest.* in media_unittests pass.
Committed: https://crrev.com/79288ba0b63021e8731e0401b8a4a9055d33fa10
Cr-Commit-Position: refs/heads/master@{#315175}
Committed: https://crrev.com/73c490dfcc4acd88d10f252b3029a89cd8fa5767
Cr-Commit-Position: refs/heads/master@{#317373}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Made the check WIN specific. #
Total comments: 1
Patch Set 3 : Moved DCHECK earlier to detect 0 length. #Patch Set 4 : Changed handling of length equals 0. #Patch Set 5 : Fixed size for VCC unittest. #
Messages
Total messages: 25 (11 generated)
|