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

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

Issue 2010793003: Clean up media header include guards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update references to the param traits guard Created 4 years, 7 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/null_video_sink.h ('k') | media/base/test_random.h » ('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 {
11 11
12 enum SampleFormat { 12 enum SampleFormat {
13 // These values are histogrammed over time; do not change their ordinal 13 // These values are histogrammed over time; do not change their ordinal
14 // values. When deleting a sample format replace it with a dummy value; when 14 // values. When deleting a sample format replace it with a dummy value; when
15 // adding a sample format, do so at the bottom before kSampleFormatMax, and 15 // adding a sample format, do so at the bottom before kSampleFormatMax, and
16 // update the value of kSampleFormatMax. 16 // update the value of kSampleFormatMax.
(...skipping 19 matching lines...) Expand all
36 MEDIA_EXPORT const char* SampleFormatToString(SampleFormat sample_format); 36 MEDIA_EXPORT const char* SampleFormatToString(SampleFormat sample_format);
37 37
38 // Returns true if |sample_format| is planar, false otherwise. 38 // Returns true if |sample_format| is planar, false otherwise.
39 MEDIA_EXPORT bool IsPlanar(SampleFormat sample_format); 39 MEDIA_EXPORT bool IsPlanar(SampleFormat sample_format);
40 40
41 // Returns true if |sample_format| is interleaved, false otherwise. 41 // Returns true if |sample_format| is interleaved, false otherwise.
42 MEDIA_EXPORT bool IsInterleaved(SampleFormat sample_format); 42 MEDIA_EXPORT bool IsInterleaved(SampleFormat sample_format);
43 43
44 } // namespace media 44 } // namespace media
45 45
46 #endif // MEDIA_BASE_SAMPLE_FORMAT_H 46 #endif // MEDIA_BASE_SAMPLE_FORMAT_H_
OLDNEW
« no previous file with comments | « media/base/null_video_sink.h ('k') | media/base/test_random.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698