DescriptionRoll FFMpeg for M26. Fix ffmpeg float audio decoding.
FFmpeg now outputs float for some audio decoders. Unfortunately our pipeline
doesn't support float between the FFmpegAudioDecoder and AudioRenderer at
present. As such, we need to convert the data into an integer format first.
As a byproduct of this, AMR support for ChromeOS is finally fixed and adding
support for PCM float is trivial.
In summary this patch adds:
- A SampleFormat property to AudioDecoderConfig.
- AVSampleFormat <-> SampleFormat converters in FFmpegCommon.
- Fixes ChromeOS AMR playback.
- Finally plumbs pcm_f32le support (enabled in FFmpeg long ago).
- Add decoder support for float planar and float interleaved playback.
BUG=109085, 158187, 167069
TEST=unittests, layout tests, and demos all pass under tooling without issue.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175180
Patch Set 1 : Fix AFR. #
Total comments: 15
Patch Set 2 : Rebase. Comments. #Patch Set 3 : Rebase. Add SampleFormat UMA. Update DEPS. #Patch Set 4 : Fix DCHECK. Roll DEPS for fix. #
Total comments: 1
Patch Set 5 : Add support for S16P for MP3 decoding. #Patch Set 6 : Fixes. #Patch Set 7 : Fix hash checks on windows. #
Total comments: 9
Patch Set 8 : Comments. Add F32LE test. #Patch Set 9 : Update DEPS. Explicit S16P check. #Patch Set 10 : Fix rebase. #Patch Set 11 : Rebase. Disable hash checks. #Patch Set 12 : Fix win compile. #Patch Set 13 : Rebase again! #Patch Set 14 : Rebase again... Role DEPS. #Patch Set 15 : ... rebase #Messages
Total messages: 34 (0 generated)
|