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

Unified Diff: media/base/android/video_media_codec_decoder.h

Issue 1682923003: Rename browser side MediaCodec-based decoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reformatted to make bots happy Created 4 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/base/android/media_codec_video_decoder.cc ('k') | media/base/android/video_media_codec_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/video_media_codec_decoder.h
diff --git a/media/base/android/media_codec_video_decoder.h b/media/base/android/video_media_codec_decoder.h
similarity index 92%
rename from media/base/android/media_codec_video_decoder.h
rename to media/base/android/video_media_codec_decoder.h
index b7fc3950a24ef64c7a53554250708a8841b32b87..03497269ba1175b8307240ff7638d15b0104ec16 100644
--- a/media/base/android/media_codec_video_decoder.h
+++ b/media/base/android/video_media_codec_decoder.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_VIDEO_DECODER_H_
-#define MEDIA_BASE_ANDROID_MEDIA_CODEC_VIDEO_DECODER_H_
+#ifndef MEDIA_BASE_ANDROID_VIDEO_MEDIA_CODEC_DECODER_H_
+#define MEDIA_BASE_ANDROID_VIDEO_MEDIA_CODEC_DECODER_H_
#include <stddef.h>
@@ -16,7 +16,7 @@
namespace media {
// Video decoder for MediaCodecPlayer
-class MediaCodecVideoDecoder : public MediaCodecDecoder {
+class VideoMediaCodecDecoder : public MediaCodecDecoder {
public:
// Typedefs for the notification callbacks
typedef base::Callback<void(const gfx::Size& video_size)>
@@ -29,7 +29,7 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
// codec_created_cb: reports that video codec has been created. A controller
// class might use it to release more resources so that this
// decoder can use them.
- MediaCodecVideoDecoder(
+ VideoMediaCodecDecoder(
const scoped_refptr<base::SingleThreadTaskRunner>& media_runner,
FrameStatistics* frame_statistics,
const base::Closure& request_data_cb,
@@ -40,7 +40,7 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
const base::Closure& error_cb,
const SetTimeCallback& update_current_time_cb,
const VideoSizeChangedCallback& video_size_changed_cb);
- ~MediaCodecVideoDecoder() override;
+ ~VideoMediaCodecDecoder() override;
const char* class_name() const override;
@@ -122,9 +122,9 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
// Mantain the last seen PTS for stand-alone EOS.
base::TimeDelta last_seen_pts_;
- DISALLOW_COPY_AND_ASSIGN(MediaCodecVideoDecoder);
+ DISALLOW_COPY_AND_ASSIGN(VideoMediaCodecDecoder);
};
} // namespace media
-#endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_VIDEO_DECODER_H_
+#endif // MEDIA_BASE_ANDROID_VIDEO_MEDIA_CODEC_DECODER_H_
« no previous file with comments | « media/base/android/media_codec_video_decoder.cc ('k') | media/base/android/video_media_codec_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698