DescriptionRefactor AnnexB bitstream conversion for AVC/H.264
Having an explicit bitstream converter interface will allow us to move
AnnexB conversion code (PrepareAVCBuffer) from mp4_stream_parser.cc into
avc.cc, resulting in cleaner separation of generic mp4 parser code and
codec-specific parts. Which has two advantages:
1. It will simplify HEVC integration by removing HEVC specific code from
public interfaces and might eventually allow us to toggle HEVC with a
local gyp/gn flag and get rid of the global define that has caused a lot
of contention in the current version of HEVC CL.
2. After some additional work we should be able to unify AnnexB
bitstream conversion code, which is currently duplicated between MSE and
FFmpeg code paths (see crbug.com/455379).
BUG=455379
Committed: https://crrev.com/b199d3440e7b516c98cae679e779af9f5670ef44
Cr-Commit-Position: refs/heads/master@{#343818}
Patch Set 1 #Patch Set 2 : Rebase to ToT #Patch Set 3 : BitstreamConverter doesn't need to have MEDIA_EXPORT #
Total comments: 4
Patch Set 4 : Added a few comments #
Messages
Total messages: 15 (6 generated)
|