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

Unified Diff: media/gpu/avda_codec_allocator.h

Issue 2697643003: media: Clean up MediaCodecBridge and remove subclasses (Closed)
Patch Set: 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
Index: media/gpu/avda_codec_allocator.h
diff --git a/media/gpu/avda_codec_allocator.h b/media/gpu/avda_codec_allocator.h
index 4306a62ba7096b2d2ddf6497324ff41fdfa02914..139a8591f66db011a99582db194e28bd2d93abcb 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
@@ -146,7 +146,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);

Powered by Google App Engine
This is Rietveld 408576698