| Index: media/gpu/android_video_encode_accelerator.h
|
| diff --git a/content/common/gpu/media/android_video_encode_accelerator.h b/media/gpu/android_video_encode_accelerator.h
|
| similarity index 91%
|
| rename from content/common/gpu/media/android_video_encode_accelerator.h
|
| rename to media/gpu/android_video_encode_accelerator.h
|
| index 025814a742e1e24718d7dd3111e41d4bccec599e..071a1611723f62f1245eecc9135da8163cfa7868 100644
|
| --- a/content/common/gpu/media/android_video_encode_accelerator.h
|
| +++ b/media/gpu/android_video_encode_accelerator.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 CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_
|
| -#define CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_
|
| +#ifndef MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_
|
| +#define MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| @@ -18,22 +18,22 @@
|
| #include "base/threading/thread_checker.h"
|
| #include "base/timer/timer.h"
|
| #include "base/tuple.h"
|
| -#include "content/common/content_export.h"
|
| #include "media/base/android/sdk_media_codec_bridge.h"
|
| +#include "media/gpu/media_gpu_export.h"
|
| #include "media/video/video_encode_accelerator.h"
|
|
|
| namespace media {
|
| class BitstreamBuffer;
|
| } // namespace media
|
|
|
| -namespace content {
|
| +namespace media {
|
|
|
| // Android-specific implementation of media::VideoEncodeAccelerator, enabling
|
| // hardware-acceleration of video encoding, based on Android's MediaCodec class
|
| // (http://developer.android.com/reference/android/media/MediaCodec.html). This
|
| // class expects to live and be called on a single thread (the GPU process'
|
| // ChildThread).
|
| -class CONTENT_EXPORT AndroidVideoEncodeAccelerator
|
| +class MEDIA_GPU_EXPORT AndroidVideoEncodeAccelerator
|
| : public media::VideoEncodeAccelerator {
|
| public:
|
| AndroidVideoEncodeAccelerator();
|
| @@ -110,6 +110,6 @@ class CONTENT_EXPORT AndroidVideoEncodeAccelerator
|
| DISALLOW_COPY_AND_ASSIGN(AndroidVideoEncodeAccelerator);
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace media
|
|
|
| -#endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_
|
| +#endif // MEDIA_GPU_ANDROID_VIDEO_ENCODE_ACCELERATOR_H_
|
|
|