Chromium Code Reviews| Index: content/common/gpu/media/v4l2_video_decode_accelerator.h |
| diff --git a/content/common/gpu/media/exynos_video_decode_accelerator.h b/content/common/gpu/media/v4l2_video_decode_accelerator.h |
| similarity index 97% |
| rename from content/common/gpu/media/exynos_video_decode_accelerator.h |
| rename to content/common/gpu/media/v4l2_video_decode_accelerator.h |
| index 52ae989aa91888824cf5780dcd41d39f3519d057..1c4fe29fee3293a33b0a13cf25c4c32a41708cbf 100644 |
| --- a/content/common/gpu/media/exynos_video_decode_accelerator.h |
| +++ b/content/common/gpu/media/v4l2_video_decode_accelerator.h |
| @@ -5,8 +5,8 @@ |
| // This file contains an implementation of VideoDecoderAccelerator |
| // that utilizes the hardware video decoder present on the Exynos SoC. |
|
Pawel Osciak
2014/01/07 04:16:27
There are two remaining mentions of "Exynos" in th
|
| -#ifndef CONTENT_COMMON_GPU_MEDIA_EXYNOS_VIDEO_DECODE_ACCELERATOR_H_ |
| -#define CONTENT_COMMON_GPU_MEDIA_EXYNOS_VIDEO_DECODE_ACCELERATOR_H_ |
| +#ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_ |
| +#define CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_ |
| #include <queue> |
| #include <vector> |
| @@ -56,16 +56,16 @@ class H264Parser; |
| // decoder_thread_, so there are no synchronization issues. |
| // ... well, there are, but it's a matter of getting messages posted in the |
| // right order, not fiddling with locks. |
| -class CONTENT_EXPORT ExynosVideoDecodeAccelerator |
| +class CONTENT_EXPORT V4l2VideoDecodeAccelerator |
|
Pawel Osciak
2014/01/07 04:16:27
Nit: I think we might prefer V4L2 (with capital "L
shivdasp
2014/01/07 04:31:14
Done.
|
| : public VideoDecodeAcceleratorImpl { |
| public: |
| - ExynosVideoDecodeAccelerator( |
| + V4l2VideoDecodeAccelerator( |
| EGLDisplay egl_display, |
| Client* client, |
| const base::WeakPtr<Client>& io_client_, |
| const base::Callback<bool(void)>& make_context_current, |
| const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy); |
| - virtual ~ExynosVideoDecodeAccelerator(); |
| + virtual ~V4l2VideoDecodeAccelerator(); |
| // media::VideoDecodeAccelerator implementation. |
| // Note: Initialize() and Destroy() are synchronous. |
| @@ -302,7 +302,7 @@ class CONTENT_EXPORT ExynosVideoDecodeAccelerator |
| // that this object is still alive. As a result, tasks posted from the child |
| // thread to the decoder or device thread should use base::Unretained(this), |
| // and tasks posted the other way should use |weak_this_|. |
| - base::WeakPtr<ExynosVideoDecodeAccelerator> weak_this_; |
| + base::WeakPtr<V4l2VideoDecodeAccelerator> weak_this_; |
| // To expose client callbacks from VideoDecodeAccelerator. |
| // NOTE: all calls to these objects *MUST* be executed on |
| @@ -419,9 +419,9 @@ class CONTENT_EXPORT ExynosVideoDecodeAccelerator |
| // The codec we'll be decoding for. |
| media::VideoCodecProfile video_profile_; |
| - DISALLOW_COPY_AND_ASSIGN(ExynosVideoDecodeAccelerator); |
| + DISALLOW_COPY_AND_ASSIGN(V4l2VideoDecodeAccelerator); |
| }; |
| } // namespace content |
| -#endif // CONTENT_COMMON_GPU_MEDIA_EXYNOS_VIDEO_DECODE_ACCELERATOR_H_ |
| +#endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_DECODE_ACCELERATOR_H_ |