Chromium Code Reviews
DescriptionV4L2VideoDecodeAccelerator: destroy buffers in decoder thread.
Move destroying input and output buffers from child thread to
decoder thread has two benefits. (1) Book accounting variables
like output_buffer_map_ are only accessed in decoder thread.
(2) kChangingResolution used to mean waiting for output buffers
to destroy or waiting for processor to return frames. Now it
only means waiting for processor. The code is simpler.
BUG=b/29059119
TEST=Run VDA unittest, run video_VideoSeek test and play video on
elm and peach pit.
Committed: https://crrev.com/a9fcabff6db188adb5ef1a16803e7a7a5d8a05eb
Cr-Commit-Position: refs/heads/master@{#420027}
Patch Set 1 : V4L2VideoDecodeAccelerator: destroy buffers in decoder thread. #
Total comments: 4
Patch Set 2 : log a warning if destroying EGL images fails #Patch Set 3 : use EGL_TRUE in GenericV4L2Device::DestroyEGLImage. remove a log. #Patch Set 4 : rebase #
Total comments: 4
Patch Set 5 : rebase #Patch Set 6 : address Pawel's nits in PS4 #
Messages
Total messages: 21 (11 generated)
|
|||||||||||||||||||||||||||||||||||||