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

Unified Diff: media/filters/ffmpeg_bitstream_converter.h

Issue 691233002: Added aac bitstream converter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
Index: media/filters/ffmpeg_bitstream_converter.h
diff --git a/media/filters/ffmpeg_bitstream_converter.h b/media/filters/ffmpeg_bitstream_converter.h
new file mode 100644
index 0000000000000000000000000000000000000000..559d2e6ce8bd28bd2aa9428cbe8951bfbdf1f242
--- /dev/null
+++ b/media/filters/ffmpeg_bitstream_converter.h
@@ -0,0 +1,26 @@
+// Copyright 2014 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_FILTERS_FFMPEG_BITSTREAM_CONVERTER_H_
+#define MEDIA_FILTERS_FFMPEG_BITSTREAM_CONVERTER_H_
+
+#include "base/basictypes.h"
+
+struct AVPacket;
+
+namespace media {
+
+// Interface for classes that allow reformating of FFmpeg bitstreams
+class FFmpegBitstreamConverter {
+ public:
+ virtual ~FFmpegBitstreamConverter() {};
+
+ // Reads the data in packet, and then overwrites this data with the
+ // converted version of packet
+ virtual bool ConvertPacket(AVPacket* packet) = 0;
xhwang 2014/11/06 04:35:28 What's the return value?
kjoswiak 2014/11/07 02:14:38 Done.
+};
+
+} // namespace media
+
+#endif // MEDIA_FILTERS_FFMPEG_BITSTREAM_CONVERTER_H_

Powered by Google App Engine
This is Rietveld 408576698