Index: media/base/sample_format.h |
diff --git a/media/base/sample_format.h b/media/base/sample_format.h |
index 7a488433ab8925726b3a6a15cad85b1cb788e6ee..fe6fc50c0ed228f79cf369f93124fb4d97139c94 100644 |
--- a/media/base/sample_format.h |
+++ b/media/base/sample_format.h |
@@ -34,6 +34,9 @@ MEDIA_EXPORT int SampleFormatToBytesPerChannel(SampleFormat sample_format); |
// Returns the name of the sample format as a string |
MEDIA_EXPORT const char* SampleFormatToString(SampleFormat sample_format); |
+// Returns true if |sample_format| is planar, false otherwise. |
+MEDIA_EXPORT bool IsPlanar(SampleFormat sample_format); |
+ |
} // namespace media |
#endif // MEDIA_BASE_SAMPLE_FORMAT_H |