DescriptionFixed bug in ExtractFrameFromY4mFile API which was not extracting the frames correctly.
Issue: This API was calculating the file_header and frame_header offset only for the first frame which is not the right logic. We need to skip the file and frame header every time we extract a new frame.
Also added a unit test case which compares the extracted frame with the frame stored in text file.
NOPRESUBMIT=true
NOTRY=true
BUG=webrtc:6761
Committed: https://crrev.com/1b5b22dc1797e38a0e6fcce59cf2b6ea92dfcccc
Cr-Commit-Position: refs/heads/master@{#15288}
Patch Set 1 #
Created: 4 years ago
(Patch set is too large to download)
Messages
Total messages: 22 (16 generated)
|