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

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

Issue 2283493003: Delete browser MSE implementation. (Closed)
Patch Set: Actually delete MSP. Cleanse references. Remove AudioTrack usage. Created 4 years, 2 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_MEDIA_CODEC_BRIDGE_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // |data_size|). |data_size| must be less than kint32max (because Java). 96 // |data_size|). |data_size| must be less than kint32max (because Java).
97 MediaCodecStatus QueueSecureInputBuffer( 97 MediaCodecStatus QueueSecureInputBuffer(
98 int index, 98 int index,
99 const uint8_t* data, 99 const uint8_t* data,
100 size_t data_size, 100 size_t data_size,
101 const std::string& key_id, 101 const std::string& key_id,
102 const std::string& iv, 102 const std::string& iv,
103 const std::vector<SubsampleEntry>& subsamples, 103 const std::vector<SubsampleEntry>& subsamples,
104 base::TimeDelta presentation_time); 104 base::TimeDelta presentation_time);
105 105
106 // Same QueueSecureInputBuffer overriden for the use with MediaSourcePlayer 106 // Same QueueSecureInputBuffer overriden for the use with MediaCodecPlayer.
wolenetz 2016/09/30 23:23:24 But.. no MediaCodecPlayer is in the code as of Aug
DaleCurtis 2016/09/30 23:34:24 Comment updated.
107 // and MediaCodecPlayer.
108 // TODO(timav): remove this method and keep only the one above after we 107 // TODO(timav): remove this method and keep only the one above after we
109 // switch to the Spitzer pipeline. 108 // switch to the Spitzer pipeline.
110 virtual MediaCodecStatus QueueSecureInputBuffer( 109 virtual MediaCodecStatus QueueSecureInputBuffer(
111 int index, 110 int index,
112 const uint8_t* data, 111 const uint8_t* data,
113 size_t data_size, 112 size_t data_size,
114 const std::vector<char>& key_id, 113 const std::vector<char>& key_id,
115 const std::vector<char>& iv, 114 const std::vector<char>& iv,
116 const SubsampleEntry* subsamples, 115 const SubsampleEntry* subsamples,
117 int subsamples_size, 116 int subsamples_size,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 bool FillInputBuffer(int index, 184 bool FillInputBuffer(int index,
186 const uint8_t* data, 185 const uint8_t* data,
187 size_t data_size) WARN_UNUSED_RESULT; 186 size_t data_size) WARN_UNUSED_RESULT;
188 187
189 DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge); 188 DISALLOW_COPY_AND_ASSIGN(MediaCodecBridge);
190 }; 189 };
191 190
192 } // namespace media 191 } // namespace media
193 192
194 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_ 193 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698