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

Side by Side Diff: media/base/demuxer_stream.h

Issue 363813002: Update to Pipeline Metadata and Decoder Stream for Orientation Data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Merge Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | media/base/fake_text_track_stream.h » ('j') | media/base/video_rotation.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 MEDIA_BASE_DEMUXER_STREAM_H_ 5 #ifndef MEDIA_BASE_DEMUXER_STREAM_H_
6 #define MEDIA_BASE_DEMUXER_STREAM_H_ 6 #define MEDIA_BASE_DEMUXER_STREAM_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
11 #include "media/base/video_rotation.h"
11 12
12 namespace media { 13 namespace media {
13 14
14 class AudioDecoderConfig; 15 class AudioDecoderConfig;
15 class DecoderBuffer; 16 class DecoderBuffer;
16 class VideoDecoderConfig; 17 class VideoDecoderConfig;
17 18
18 class MEDIA_EXPORT DemuxerStream { 19 class MEDIA_EXPORT DemuxerStream {
19 public: 20 public:
20 enum Type { 21 enum Type {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Whether or not this DemuxerStream allows midstream configuration changes. 74 // Whether or not this DemuxerStream allows midstream configuration changes.
74 // 75 //
75 // A DemuxerStream that returns 'true' to this may return the 'kConfigChange' 76 // A DemuxerStream that returns 'true' to this may return the 'kConfigChange'
76 // status from a Read() call. In this case the client is expected to be 77 // status from a Read() call. In this case the client is expected to be
77 // capable of taking appropriate action to handle config changes. Otherwise 78 // capable of taking appropriate action to handle config changes. Otherwise
78 // audio_decoder_config() and video_decoder_config()'s return values are 79 // audio_decoder_config() and video_decoder_config()'s return values are
79 // guaranteed to remain constant, and the client may make optimizations based 80 // guaranteed to remain constant, and the client may make optimizations based
80 // on this. 81 // on this.
81 virtual bool SupportsConfigChanges() = 0; 82 virtual bool SupportsConfigChanges() = 0;
82 83
84 virtual VideoRotation video_rotation() = 0;
85
83 protected: 86 protected:
84 // Only allow concrete implementations to get deleted. 87 // Only allow concrete implementations to get deleted.
85 virtual ~DemuxerStream(); 88 virtual ~DemuxerStream();
86 }; 89 };
87 90
88 } // namespace media 91 } // namespace media
89 92
90 #endif // MEDIA_BASE_DEMUXER_STREAM_H_ 93 #endif // MEDIA_BASE_DEMUXER_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/fake_text_track_stream.h » ('j') | media/base/video_rotation.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698