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

Unified Diff: media/gpu/avda_codec_allocator.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_video_encode_accelerator.cc ('k') | media/gpu/avda_codec_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/avda_codec_allocator.h
diff --git a/media/gpu/avda_codec_allocator.h b/media/gpu/avda_codec_allocator.h
index b1b9a405d3de2e01d9cf9b7e30494cb6d751f51a..d8428de7fed5fde20a86961023467e894539be62 100644
--- a/media/gpu/avda_codec_allocator.h
+++ b/media/gpu/avda_codec_allocator.h
@@ -99,7 +99,7 @@ class AVDACodecAllocatorClient {
// Called on the main thread when a new MediaCodec is configured.
// |media_codec| will be null if configuration failed.
virtual void OnCodecConfigured(
- std::unique_ptr<VideoCodecBridge> media_codec) = 0;
+ std::unique_ptr<MediaCodecBridge> media_codec) = 0;
protected:
~AVDACodecAllocatorClient() {}
@@ -135,7 +135,7 @@ class MEDIA_GPU_EXPORT AVDACodecAllocator {
void DeallocateSurface(AVDACodecAllocatorClient* client, int surface_id);
// Create and configure a MediaCodec synchronously.
- std::unique_ptr<VideoCodecBridge> CreateMediaCodecSync(
+ std::unique_ptr<MediaCodecBridge> CreateMediaCodecSync(
scoped_refptr<CodecConfig> codec_config);
// Create and configure a MediaCodec asynchronously. The result is delivered
@@ -147,7 +147,7 @@ class MEDIA_GPU_EXPORT AVDACodecAllocator {
// Asynchronously release |media_codec| with the attached surface.
// TODO(watk): Bundle the MediaCodec and surface together so you can't get
// this pairing wrong.
- void ReleaseMediaCodec(std::unique_ptr<VideoCodecBridge> media_codec,
+ void ReleaseMediaCodec(std::unique_ptr<MediaCodecBridge> media_codec,
TaskType task_type,
int surface_id);
« no previous file with comments | « media/gpu/android_video_encode_accelerator.cc ('k') | media/gpu/avda_codec_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698