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

Side by Side Diff: media/base/android/video_decoder_job.h

Issue 323563002: support adaptive playback in MSE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ANDROID_VIDEO_DECODER_JOB_H_ 5 #ifndef MEDIA_BASE_ANDROID_VIDEO_DECODER_JOB_H_
6 #define MEDIA_BASE_ANDROID_VIDEO_DECODER_JOB_H_ 6 #define MEDIA_BASE_ANDROID_VIDEO_DECODER_JOB_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "media/base/android/media_decoder_job.h" 10 #include "media/base/android/media_decoder_job.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 private: 48 private:
49 // MediaDecoderJob implementation. 49 // MediaDecoderJob implementation.
50 virtual void ReleaseOutputBuffer( 50 virtual void ReleaseOutputBuffer(
51 int output_buffer_index, 51 int output_buffer_index,
52 size_t size, 52 size_t size,
53 bool render_output, 53 bool render_output,
54 base::TimeDelta current_presentation_timestamp, 54 base::TimeDelta current_presentation_timestamp,
55 const ReleaseOutputCompletionCallback& callback) OVERRIDE; 55 const ReleaseOutputCompletionCallback& callback) OVERRIDE;
56 virtual bool ComputeTimeToRender() const OVERRIDE; 56 virtual bool ComputeTimeToRender() const OVERRIDE;
57 virtual void UpdateDemuxerConfigs(const DemuxerConfigs& configs) OVERRIDE; 57 virtual void UpdateDemuxerConfigs(const DemuxerConfigs& configs) OVERRIDE;
58 virtual bool IsCodecReconfigureNeeded(
59 const DemuxerConfigs& configs) const OVERRIDE;
58 virtual bool AreDemuxerConfigsChanged( 60 virtual bool AreDemuxerConfigsChanged(
59 const DemuxerConfigs& configs) const OVERRIDE; 61 const DemuxerConfigs& configs) const OVERRIDE;
60 virtual bool CreateMediaCodecBridgeInternal() OVERRIDE; 62 virtual bool CreateMediaCodecBridgeInternal() OVERRIDE;
61 virtual void CurrentDataConsumed(bool is_config_change) OVERRIDE; 63 virtual void CurrentDataConsumed(bool is_config_change) OVERRIDE;
62 virtual void OnMediaCodecBridgeReleased() OVERRIDE; 64 virtual void OnMediaCodecBridgeReleased() OVERRIDE;
63 65
64 // Returns true if a protected surface is required for video playback. 66 // Returns true if a protected surface is required for video playback.
65 bool IsProtectedSurfaceRequired(); 67 bool IsProtectedSurfaceRequired();
66 68
67 // Video configs from the demuxer. 69 // Video configs from the demuxer.
(...skipping 12 matching lines...) Expand all
80 // unit after Flush() and CurrentDataConsumed(true) is guaranteed to be an 82 // unit after Flush() and CurrentDataConsumed(true) is guaranteed to be an
81 // I-frame. 83 // I-frame.
82 bool next_video_data_is_iframe_; 84 bool next_video_data_is_iframe_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(VideoDecoderJob); 86 DISALLOW_COPY_AND_ASSIGN(VideoDecoderJob);
85 }; 87 };
86 88
87 } // namespace media 89 } // namespace media
88 90
89 #endif // MEDIA_BASE_ANDROID_VIDEO_DECODER_JOB_H_ 91 #endif // MEDIA_BASE_ANDROID_VIDEO_DECODER_JOB_H_
OLDNEW
« no previous file with comments | « media/base/android/media_source_player_unittest.cc ('k') | media/base/android/video_decoder_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698