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

Unified Diff: services/media/framework_ffmpeg/ffmpeg_formatting.h

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat 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 side-by-side diff with in-line comments
Download patch
Index: services/media/framework_ffmpeg/ffmpeg_formatting.h
diff --git a/services/media/framework_ffmpeg/ffmpeg_formatting.h b/services/media/framework_ffmpeg/ffmpeg_formatting.h
index 05b1ebe485d2dfad56f8c3746b34cae58f9940e1..403ba7bab4fa1c0bdc016d32777e120ff9cbc342 100644
--- a/services/media/framework_ffmpeg/ffmpeg_formatting.h
+++ b/services/media/framework_ffmpeg/ffmpeg_formatting.h
@@ -17,59 +17,58 @@ namespace media {
// See services/media/framework/ostream.h for details.
-std::ostream& operator<<(
- std::ostream& os,
- const struct AVCodecTag *const *value);
-std::ostream& operator<<(std::ostream& os, const AVInputFormat *value);
-std::ostream& operator<<(std::ostream& os, const AVOutputFormat *value);
-std::ostream& operator<<(std::ostream& os, const AVIOContext *value);
-std::ostream& operator<<(std::ostream& os, const AVCodecContext *value);
-std::ostream& operator<<(std::ostream& os, const AVCodec *value);
+std::ostream& operator<<(std::ostream& os,
+ const struct AVCodecTag* const* value);
+std::ostream& operator<<(std::ostream& os, const AVInputFormat* value);
+std::ostream& operator<<(std::ostream& os, const AVOutputFormat* value);
+std::ostream& operator<<(std::ostream& os, const AVIOContext* value);
+std::ostream& operator<<(std::ostream& os, const AVCodecContext* value);
+std::ostream& operator<<(std::ostream& os, const AVCodec* value);
std::ostream& operator<<(std::ostream& os, const AVRational& value);
-std::ostream& operator<<(std::ostream& os, const AVStream *value);
-std::ostream& operator<<(std::ostream& os, const AVBufferRef *value);
-std::ostream& operator<<(std::ostream& os, const AVFrame *value);
-std::ostream& operator<<(std::ostream& os, const AVPacket *value);
-std::ostream& operator<<(std::ostream& os, const AVPacketSideData *value);
-std::ostream& operator<<(std::ostream& os, const AVProgram *value);
-std::ostream& operator<<(std::ostream& os, const AVChapter *value);
+std::ostream& operator<<(std::ostream& os, const AVStream* value);
+std::ostream& operator<<(std::ostream& os, const AVBufferRef* value);
+std::ostream& operator<<(std::ostream& os, const AVFrame* value);
+std::ostream& operator<<(std::ostream& os, const AVPacket* value);
+std::ostream& operator<<(std::ostream& os, const AVPacketSideData* value);
+std::ostream& operator<<(std::ostream& os, const AVProgram* value);
+std::ostream& operator<<(std::ostream& os, const AVChapter* value);
std::ostream& operator<<(std::ostream& os, AVCodecID value);
-std::ostream& operator<<(std::ostream& os, const AVDictionary *value);
+std::ostream& operator<<(std::ostream& os, const AVDictionary* value);
std::ostream& operator<<(std::ostream& os, enum AVDiscard value);
std::ostream& operator<<(std::ostream& os, AVDurationEstimationMethod value);
-std::ostream& operator<<(std::ostream& os, const AVFormatContext *value);
+std::ostream& operator<<(std::ostream& os, const AVFormatContext* value);
std::ostream& operator<<(std::ostream& os, AVMediaType value);
std::ostream& operator<<(std::ostream& os, AVSampleFormat value);
std::ostream& operator<<(std::ostream& os, AVColorSpace value);
struct AVPacketSideDataArray {
- AVPacketSideDataArray(const AVPacketSideData *items, unsigned int count) :
- items_(items), count_(count) {}
- const AVPacketSideData *items_;
+ AVPacketSideDataArray(const AVPacketSideData* items, unsigned int count)
+ : items_(items), count_(count) {}
+ const AVPacketSideData* items_;
unsigned int count_;
};
std::ostream& operator<<(std::ostream& os, const AVPacketSideDataArray& value);
struct AVProgramArray {
- AVProgramArray(AVProgram **items, unsigned int count) :
- items_(items), count_(count) {}
- AVProgram **items_;
+ AVProgramArray(AVProgram** items, unsigned int count)
+ : items_(items), count_(count) {}
+ AVProgram** items_;
unsigned int count_;
};
std::ostream& operator<<(std::ostream& os, const AVProgramArray& value);
struct AVChapterArray {
- AVChapterArray(AVChapter **items, unsigned int count) :
- items_(items), count_(count) {}
- AVChapter **items_;
+ AVChapterArray(AVChapter** items, unsigned int count)
+ : items_(items), count_(count) {}
+ AVChapter** items_;
unsigned int count_;
};
std::ostream& operator<<(std::ostream& os, const AVChapterArray& value);
struct AVStreamArray {
- AVStreamArray(AVStream **items, unsigned int count) :
- items_(items), count_(count) {}
- AVStream **items_;
+ AVStreamArray(AVStream** items, unsigned int count)
+ : items_(items), count_(count) {}
+ AVStream** items_;
unsigned int count_;
};
std::ostream& operator<<(std::ostream& os, const AVStreamArray& value);
@@ -113,4 +112,4 @@ std::ostream& operator<<(std::ostream& os, AVFMT_AVOID_NEG_TSFlags value);
} // namespace media
} // namespace mojo
-#endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_FORMATTING_H_
+#endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_FORMATTING_H_
« no previous file with comments | « services/media/framework_ffmpeg/ffmpeg_demux.cc ('k') | services/media/framework_ffmpeg/ffmpeg_formatting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698