Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: media/base/sample_format.h

Issue 21953003: Added logging calls to FFmpegDemuxer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: switched to using double instead of string for file size Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/media_log_event.h ('k') | media/base/sample_format.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_SAMPLE_FORMAT_H 5 #ifndef MEDIA_BASE_SAMPLE_FORMAT_H
6 #define MEDIA_BASE_SAMPLE_FORMAT_H 6 #define MEDIA_BASE_SAMPLE_FORMAT_H
7 7
8 #include "media/base/media_export.h" 8 #include "media/base/media_export.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 11 matching lines...) Expand all
22 kSampleFormatPlanarF32, // Float 32-bit planar. 22 kSampleFormatPlanarF32, // Float 32-bit planar.
23 23
24 // Must always be last! 24 // Must always be last!
25 kSampleFormatMax 25 kSampleFormatMax
26 }; 26 };
27 27
28 // Returns the number of bytes used per channel for the specified 28 // Returns the number of bytes used per channel for the specified
29 // |sample_format|. 29 // |sample_format|.
30 MEDIA_EXPORT int SampleFormatToBytesPerChannel(SampleFormat sample_format); 30 MEDIA_EXPORT int SampleFormatToBytesPerChannel(SampleFormat sample_format);
31 31
32 // Returns the name of the sample format as a string
33 MEDIA_EXPORT const char* SampleFormatToString(SampleFormat sample_format);
34
32 } // namespace media 35 } // namespace media
33 36
34 #endif // MEDIA_BASE_SAMPLE_FORMAT_H 37 #endif // MEDIA_BASE_SAMPLE_FORMAT_H
OLDNEW
« no previous file with comments | « media/base/media_log_event.h ('k') | media/base/sample_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698