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

Unified Diff: media/gpu/android_video_decode_accelerator.h

Issue 2697643003: media: Clean up MediaCodecBridge and remove subclasses (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « media/gpu/android/media_codec_video_decoder.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_video_decode_accelerator.h
diff --git a/media/gpu/android_video_decode_accelerator.h b/media/gpu/android_video_decode_accelerator.h
index 97ce3878e2548611f57ebd7220fa20b7889db1dd..95962377d62b535441ea0677bfad253f0943017d 100644
--- a/media/gpu/android_video_decode_accelerator.h
+++ b/media/gpu/android_video_decode_accelerator.h
@@ -79,7 +79,7 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
void OnSurfaceAvailable(bool success) override;
void OnSurfaceDestroyed() override;
void OnCodecConfigured(
- std::unique_ptr<VideoCodecBridge> media_codec) override;
+ std::unique_ptr<MediaCodecBridge> media_codec) override;
private:
friend class AVDAManager;
@@ -145,7 +145,7 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// Instantiate a media codec using |codec_config|.
// This may be called on any thread.
- static std::unique_ptr<VideoCodecBridge> ConfigureMediaCodecOnAnyThread(
+ static std::unique_ptr<MediaCodecBridge> ConfigureMediaCodecOnAnyThread(
scoped_refptr<CodecConfig> codec_config);
// Sends the decoded frame specified by |codec_buffer_index| to the client.
@@ -266,7 +266,7 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
std::queue<int32_t> free_picture_ids_;
// The low-level decoder which Android SDK provides.
- std::unique_ptr<VideoCodecBridge> media_codec_;
+ std::unique_ptr<MediaCodecBridge> media_codec_;
// Set to true after requesting picture buffers to the client.
bool picturebuffers_requested_;
« no previous file with comments | « media/gpu/android/media_codec_video_decoder.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698