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

Side by Side 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: Figured it out 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_FILTERS_FFMPEG_BITSTREAM_CONVERTER_H_
6 #define MEDIA_FILTERS_FFMPEG_BITSTREAM_CONVERTER_H_
7
8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
10
11 struct AVPacket;
12
13 namespace media {
14
15 // Interface for classes that allow reformating of FFmpeg bitstreams
16 class MEDIA_EXPORT FFmpegBitstreamConverter {
17 public:
18 virtual ~FFmpegBitstreamConverter() {};
19
20 // Reads the data in packet, and then overwrites this data with the
21 // converted version of packet
22 //
23 // Returns false if conversion failed. In this case, |packet| should not be
24 // changed.
25 virtual bool ConvertPacket(AVPacket* packet) = 0;
26 };
27
28 } // namespace media
29
30 #endif // MEDIA_FILTERS_FFMPEG_BITSTREAM_CONVERTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698