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

Side by Side Diff: services/media/framework_ffmpeg/ffmpeg_decoder.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_DECODER_H_ 5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_DECODER_H_
6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_DECODER_H_ 6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_DECODER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "services/media/framework/parts/decoder.h" 10 #include "services/media/framework/parts/decoder.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace media { 13 namespace media {
14 14
15 // Abstract base class for ffmpeg-based decoders, just the create function. 15 // Abstract base class for ffmpeg-based decoders, just the create function.
16 // We don't want the base class implementation here, because we don't want 16 // We don't want the base class implementation here, because we don't want
17 // dependent targets to have to deal with ffmpeg includes. 17 // dependent targets to have to deal with ffmpeg includes.
18 class FfmpegDecoder : public Decoder { 18 class FfmpegDecoder : public Decoder {
19 public: 19 public:
20 // Creates an ffmpeg-based Decoder object for a given media type. 20 // Creates an ffmpeg-based Decoder object for a given media type.
21 static Result Create( 21 static Result Create(const StreamType& stream_type,
22 const StreamType& stream_type, 22 std::shared_ptr<Decoder>* decoder_out);
23 std::shared_ptr<Decoder>* decoder_out);
24 }; 23 };
25 24
26 } // namespace media 25 } // namespace media
27 } // namespace mojo 26 } // namespace mojo
28 27
29 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_DECODER_H_ 28 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_DECODER_H_
OLDNEW
« no previous file with comments | « services/media/framework_ffmpeg/ffmpeg_audio_decoder.cc ('k') | services/media/framework_ffmpeg/ffmpeg_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698