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

Unified Diff: media/mp4/avc.h

Issue 10536014: Implement ISO BMFF support in Media Source. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: A thorough sign-ification Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/media.gyp ('k') | media/mp4/avc.cc » ('j') | media/mp4/avc.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mp4/avc.h
diff --git a/media/mp4/avc.h b/media/mp4/avc.h
new file mode 100644
index 0000000000000000000000000000000000000000..8fe01fb8ea0c33202805bebf0386b1ec47d26f40
--- /dev/null
+++ b/media/mp4/avc.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_MP4_AVC_H_
+#define MEDIA_MP4_AVC_H_
+
+#include <vector>
+
+#include "base/basictypes.h"
+#include "media/base/channel_layout.h"
+
+namespace media {
+namespace mp4 {
+
+bool ConvertAVCCToAnnexB(int length_size, std::vector<uint8>* buffer);
+
+ChannelLayout ConvertAACChannelCountToChannelLayout(int count);
+
+} // namespace mp4
+} // namespace media
+
+#endif // MEDIA_MP4_AVC_H_
« no previous file with comments | « media/media.gyp ('k') | media/mp4/avc.cc » ('j') | media/mp4/avc.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698