DescriptionVTVDA: Optimize pic_order_cnt_type == 2.
This CL also fixes the behavior of VTVDA with regards to MMCO5, which
should be handled like an IDR for reordering purposes. This follows
(perhaps not obviously) from the spec definition of "picture order
count":
'A variable that is associated with each coded field and each field of
a coded frame and has a value that is non-decreasing with increasing
field position in output order relative to the first output field of
the previous IDR picture in decoding order or relative to the first
output field of the previous picture, in decoding order, that contains
a memory management control operation that marks all reference
pictures as "unused for reference".'
This definition conveniently guarantees that when pic_order_cnt_type is
2, then decode order == presentation order (as one would hope).
BUG=webrtc:7010
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2661423002
Cr-Commit-Position: refs/heads/master@{#456889}
Committed: https://chromium.googlesource.com/chromium/src/+/52dceecdb0a9da763a6f62d0c5b010843692d489
Patch Set 1 #Patch Set 2 : Switch from static to namespace {} #Patch Set 3 : Change POC of MMCO5 frame to 0. #
Total comments: 14
Patch Set 4 : Address comments. #Patch Set 5 : Explain MMCO5 handling in the code. #Patch Set 6 : Fix comment typo. #Patch Set 7 : Fix compile. #Patch Set 8 : Update unit test. #
Messages
Total messages: 28 (17 generated)
|