Add a VEA test case to check no output before input |
|||||||
Issue descriptionTo prevent issue 641600 from happening again, we need to add a new test case in VideoEncodeAcceleratorUnittest. Make sure the encoder does not return an encoded frame before getting any input.
,
Sep 23 2016
,
Sep 30 2016
,
Sep 30 2016
Yes, output size=0 may indicate that the encoder did not fit into the bitrate budget and decided to drop the frame.
,
Sep 30 2016
We talked to Pawel offline. - It is valid to have an size 0 output buffer during encoding. For example, if an encoder decides it can't fit in the bitrate window, it can decide to drop a frame. But since we always expect a buffer for each source frame, we send an empty buffer. - Encoder should not generate an output if there's no input even given to the encoder. Henry. Please go ahead and add the test. I think Franky doesn't have time to finish it before he's gone.
,
Oct 4 2016
,
Oct 19 2016
Friendly ping. We should add this for M56.
,
Oct 26 2016
Ping.
,
Nov 1 2016
,
Nov 3 2016
,
Nov 7 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a4b8c15b3b178281c8f4d92afc3b38ff607480f6 commit a4b8c15b3b178281c8f4d92afc3b38ff607480f6 Author: henryhsu <henryhsu@chromium.org> Date: Mon Nov 07 06:32:33 2016 Add a test case to make sure no output before getting any input This is used to test crbug.com/641600. VEA driver should not return an output buffer without any input. BUG= 648861 TEST=test on device. Review-Url: https://codereview.chromium.org/2472923002 Cr-Commit-Position: refs/heads/master@{#430223} [modify] https://crrev.com/a4b8c15b3b178281c8f4d92afc3b38ff607480f6/media/gpu/video_encode_accelerator_unittest.cc
,
Nov 7 2016
,
Jan 26 2017
Verified |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by henryhsu@chromium.org
, Sep 21 2016