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

Unified Diff: media/gpu/vaapi_jpeg_decode_accelerator.h

Issue 2061823003: media: Drop "media::" in media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: work around clang format by adding an empty line Created 4 years, 6 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/v4l2_video_encode_accelerator.cc ('k') | media/gpu/vaapi_jpeg_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_jpeg_decode_accelerator.h
diff --git a/media/gpu/vaapi_jpeg_decode_accelerator.h b/media/gpu/vaapi_jpeg_decode_accelerator.h
index 353d6574c3ebd81a93431d22343f45ea690a064e..efa4e6391d83c0c782b30b49d5372f4c9a2193ee 100644
--- a/media/gpu/vaapi_jpeg_decode_accelerator.h
+++ b/media/gpu/vaapi_jpeg_decode_accelerator.h
@@ -34,16 +34,16 @@ namespace media {
// stopped during |this->Destroy()|, so any tasks posted to the decoder thread
// can assume |*this| is still alive. See |weak_this_| below for more details.
class MEDIA_GPU_EXPORT VaapiJpegDecodeAccelerator
- : public media::JpegDecodeAccelerator {
+ : public JpegDecodeAccelerator {
public:
VaapiJpegDecodeAccelerator(
const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner);
~VaapiJpegDecodeAccelerator() override;
- // media::JpegDecodeAccelerator implementation.
- bool Initialize(media::JpegDecodeAccelerator::Client* client) override;
- void Decode(const media::BitstreamBuffer& bitstream_buffer,
- const scoped_refptr<media::VideoFrame>& video_frame) override;
+ // JpegDecodeAccelerator implementation.
+ bool Initialize(JpegDecodeAccelerator::Client* client) override;
+ void Decode(const BitstreamBuffer& bitstream_buffer,
+ const scoped_refptr<VideoFrame>& video_frame) override;
bool IsSupported() override;
private:
@@ -52,12 +52,12 @@ class MEDIA_GPU_EXPORT VaapiJpegDecodeAccelerator
struct DecodeRequest {
DecodeRequest(int32_t bitstream_buffer_id,
std::unique_ptr<SharedMemoryRegion> shm,
- const scoped_refptr<media::VideoFrame>& video_frame);
+ const scoped_refptr<VideoFrame>& video_frame);
~DecodeRequest();
int32_t bitstream_buffer_id;
std::unique_ptr<SharedMemoryRegion> shm;
- scoped_refptr<media::VideoFrame> video_frame;
+ scoped_refptr<VideoFrame> video_frame;
};
// Notifies the client that an error has occurred and decoding cannot
@@ -74,7 +74,7 @@ class MEDIA_GPU_EXPORT VaapiJpegDecodeAccelerator
// client for output.
bool OutputPicture(VASurfaceID va_surface_id,
int32_t input_buffer_id,
- const scoped_refptr<media::VideoFrame>& video_frame);
+ const scoped_refptr<VideoFrame>& video_frame);
// ChildThread's task runner.
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
« no previous file with comments | « media/gpu/v4l2_video_encode_accelerator.cc ('k') | media/gpu/vaapi_jpeg_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698