Chromium Code Reviews| Index: media/ffmpeg/ffmpeg_common.h |
| =================================================================== |
| --- media/ffmpeg/ffmpeg_common.h (revision 186233) |
| +++ media/ffmpeg/ffmpeg_common.h (working copy) |
| @@ -91,6 +91,9 @@ |
| // good guess about the plausible channel layout based on number of channels. |
| ChannelLayout ChannelLayoutToChromeChannelLayout(int64_t layout, |
| int channels); |
| +// Given the number of channels, return the best layout, |
| +// or return CHANNEL_LAYOUT_UNSUPPORTED if there is no good match. |
| +ChannelLayout GuessChannelLayout(int channels); |
|
DaleCurtis
2013/03/07 02:41:39
Needs to be moved to channel_layout
Chris Rogers
2013/03/09 01:37:50
Done.
|
| // Converts FFmpeg's pixel formats to its corresponding supported video format. |
| VideoFrame::Format PixelFormatToVideoFormat(PixelFormat pixel_format); |