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

Side by Side Diff: services/media/framework_ffmpeg/ffmpeg_formatting.h

Issue 1686363002: Motown: ffmpeg implementations of framework 'parts' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Retype some const unique_ptr<T>& parameters to const T&. Created 4 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2016 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 SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_FORMATTING_H_
6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_FORMATTING_H_
7
8 #include <ostream>
9
10 #include "services/media/framework/formatting.h"
11 extern "C" {
12 #include "third_party/ffmpeg/libavformat/avformat.h"
13 }
14
15 namespace mojo {
16 namespace media {
17
18 // See services/media/framework/ostream.h for details.
19
20 std::ostream& operator<<(
21 std::ostream& os,
22 const struct AVCodecTag *const *value);
23 std::ostream& operator<<(std::ostream& os, const AVInputFormat *value);
24 std::ostream& operator<<(std::ostream& os, const AVOutputFormat *value);
25 std::ostream& operator<<(std::ostream& os, const AVIOContext *value);
26 std::ostream& operator<<(std::ostream& os, const AVCodecContext *value);
27 std::ostream& operator<<(std::ostream& os, const AVCodec *value);
28 std::ostream& operator<<(std::ostream& os, const AVRational& value);
29 std::ostream& operator<<(std::ostream& os, const AVStream *value);
30 std::ostream& operator<<(std::ostream& os, const AVBufferRef *value);
31 std::ostream& operator<<(std::ostream& os, const AVFrame *value);
32 std::ostream& operator<<(std::ostream& os, const AVPacket *value);
33 std::ostream& operator<<(std::ostream& os, const AVPacketSideData *value);
34 std::ostream& operator<<(std::ostream& os, const AVProgram *value);
35 std::ostream& operator<<(std::ostream& os, const AVChapter *value);
36 std::ostream& operator<<(std::ostream& os, AVCodecID value);
37 std::ostream& operator<<(std::ostream& os, const AVDictionary *value);
38 std::ostream& operator<<(std::ostream& os, enum AVDiscard value);
39 std::ostream& operator<<(std::ostream& os, AVDurationEstimationMethod value);
40 std::ostream& operator<<(std::ostream& os, const AVFormatContext *value);
41 std::ostream& operator<<(std::ostream& os, AVMediaType value);
42 std::ostream& operator<<(std::ostream& os, AVSampleFormat value);
43 std::ostream& operator<<(std::ostream& os, AVColorSpace value);
44
45 struct AVPacketSideDataArray {
46 AVPacketSideDataArray(const AVPacketSideData *items, unsigned int count) :
47 items_(items), count_(count) {}
48 const AVPacketSideData *items_;
49 unsigned int count_;
50 };
51 std::ostream& operator<<(std::ostream& os, const AVPacketSideDataArray& value);
52
53 struct AVProgramArray {
54 AVProgramArray(AVProgram **items, unsigned int count) :
55 items_(items), count_(count) {}
56 AVProgram **items_;
57 unsigned int count_;
58 };
59 std::ostream& operator<<(std::ostream& os, const AVProgramArray& value);
60
61 struct AVChapterArray {
62 AVChapterArray(AVChapter **items, unsigned int count) :
63 items_(items), count_(count) {}
64 AVChapter **items_;
65 unsigned int count_;
66 };
67 std::ostream& operator<<(std::ostream& os, const AVChapterArray& value);
68
69 struct AVStreamArray {
70 AVStreamArray(AVStream **items, unsigned int count) :
71 items_(items), count_(count) {}
72 AVStream **items_;
73 unsigned int count_;
74 };
75 std::ostream& operator<<(std::ostream& os, const AVStreamArray& value);
76
77 struct AVFMTFlags {
78 AVFMTFlags(int flags) : flags_(flags) {}
79 int flags_;
80 };
81 std::ostream& operator<<(std::ostream& os, AVFMTFlags value);
82
83 struct AVFMTCTXFlags {
84 AVFMTCTXFlags(int flags) : flags_(flags) {}
85 int flags_;
86 };
87 std::ostream& operator<<(std::ostream& os, AVFMTCTXFlags value);
88
89 struct AV_DISPOSITIONFlags {
90 AV_DISPOSITIONFlags(int flags) : flags_(flags) {}
91 int flags_;
92 };
93 std::ostream& operator<<(std::ostream& os, AV_DISPOSITIONFlags value);
94
95 struct AVFMT_EVENTFlags {
96 AVFMT_EVENTFlags(int flags) : flags_(flags) {}
97 int flags_;
98 };
99 std::ostream& operator<<(std::ostream& os, AVFMT_EVENTFlags value);
100
101 struct AVSTREAM_EVENTFlags {
102 AVSTREAM_EVENTFlags(int flags) : flags_(flags) {}
103 int flags_;
104 };
105 std::ostream& operator<<(std::ostream& os, AVSTREAM_EVENTFlags value);
106
107 struct AVFMT_AVOID_NEG_TSFlags {
108 AVFMT_AVOID_NEG_TSFlags(int flags) : flags_(flags) {}
109 int flags_;
110 };
111 std::ostream& operator<<(std::ostream& os, AVFMT_AVOID_NEG_TSFlags value);
112
113 } // namespace media
114 } // namespace mojo
115
116 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_FORMATTING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698