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

Side by Side Diff: content/common/gpu/media/v4l2_slice_video_decode_accelerator.h

Issue 906413003: Update {virtual,override} to follow C++11 style in content/common/gpu/media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indentation Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_
6 #define CONTENT_COMMON_GPU_MEDIA_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ 6 #define CONTENT_COMMON_GPU_MEDIA_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <linux/videodev2.h> 8 #include <linux/videodev2.h>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...) Expand all
32 public: 32 public:
33 class V4L2DecodeSurface; 33 class V4L2DecodeSurface;
34 34
35 V4L2SliceVideoDecodeAccelerator( 35 V4L2SliceVideoDecodeAccelerator(
36 const scoped_refptr<V4L2Device>& device, 36 const scoped_refptr<V4L2Device>& device,
37 EGLDisplay egl_display, 37 EGLDisplay egl_display,
38 EGLContext egl_context, 38 EGLContext egl_context,
39 const base::WeakPtr<Client>& io_client_, 39 const base::WeakPtr<Client>& io_client_,
40 const base::Callback<bool(void)>& make_context_current, 40 const base::Callback<bool(void)>& make_context_current,
41 const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy); 41 const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy);
42 virtual ~V4L2SliceVideoDecodeAccelerator() override; 42 ~V4L2SliceVideoDecodeAccelerator() override;
43 43
44 // media::VideoDecodeAccelerator implementation. 44 // media::VideoDecodeAccelerator implementation.
45 bool Initialize(media::VideoCodecProfile profile, 45 bool Initialize(media::VideoCodecProfile profile,
46 VideoDecodeAccelerator::Client* client) override; 46 VideoDecodeAccelerator::Client* client) override;
47 void Decode(const media::BitstreamBuffer& bitstream_buffer) override; 47 void Decode(const media::BitstreamBuffer& bitstream_buffer) override;
48 void AssignPictureBuffers( 48 void AssignPictureBuffers(
49 const std::vector<media::PictureBuffer>& buffers) override; 49 const std::vector<media::PictureBuffer>& buffers) override;
50 void ReusePictureBuffer(int32 picture_buffer_id) override; 50 void ReusePictureBuffer(int32 picture_buffer_id) override;
51 void Flush() override; 51 void Flush() override;
52 void Reset() override; 52 void Reset() override;
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 DISALLOW_COPY_AND_ASSIGN(V4L2SliceVideoDecodeAccelerator); 386 DISALLOW_COPY_AND_ASSIGN(V4L2SliceVideoDecodeAccelerator);
387 }; 387 };
388 388
389 class V4L2H264Picture; 389 class V4L2H264Picture;
390 class V4L2VP8Picture; 390 class V4L2VP8Picture;
391 391
392 } // namespace content 392 } // namespace content
393 393
394 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ 394 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/dxva_video_decode_accelerator.h ('k') | content/common/gpu/media/v4l2_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698