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

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

Issue 630853003: Replace OVERRIDE and FINAL with override and final in content/common/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_VT_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_DECODE_ACCELERATOR_H_
6 #define CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_DECODE_ACCELERATOR_H_ 6 #define CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 21 matching lines...) Expand all
32 class VTVideoDecodeAccelerator 32 class VTVideoDecodeAccelerator
33 : public media::VideoDecodeAccelerator, 33 : public media::VideoDecodeAccelerator,
34 public base::NonThreadSafe { 34 public base::NonThreadSafe {
35 public: 35 public:
36 explicit VTVideoDecodeAccelerator(CGLContextObj cgl_context); 36 explicit VTVideoDecodeAccelerator(CGLContextObj cgl_context);
37 virtual ~VTVideoDecodeAccelerator(); 37 virtual ~VTVideoDecodeAccelerator();
38 38
39 // VideoDecodeAccelerator implementation. 39 // VideoDecodeAccelerator implementation.
40 virtual bool Initialize( 40 virtual bool Initialize(
41 media::VideoCodecProfile profile, 41 media::VideoCodecProfile profile,
42 Client* client) OVERRIDE; 42 Client* client) override;
43 virtual void Decode(const media::BitstreamBuffer& bitstream) OVERRIDE; 43 virtual void Decode(const media::BitstreamBuffer& bitstream) override;
44 virtual void AssignPictureBuffers( 44 virtual void AssignPictureBuffers(
45 const std::vector<media::PictureBuffer>& pictures) OVERRIDE; 45 const std::vector<media::PictureBuffer>& pictures) override;
46 virtual void ReusePictureBuffer(int32_t picture_id) OVERRIDE; 46 virtual void ReusePictureBuffer(int32_t picture_id) override;
47 virtual void Flush() OVERRIDE; 47 virtual void Flush() override;
48 virtual void Reset() OVERRIDE; 48 virtual void Reset() override;
49 virtual void Destroy() OVERRIDE; 49 virtual void Destroy() override;
50 virtual bool CanDecodeOnIOThread() OVERRIDE; 50 virtual bool CanDecodeOnIOThread() override;
51 51
52 // Called by OutputThunk() when VideoToolbox finishes decoding a frame. 52 // Called by OutputThunk() when VideoToolbox finishes decoding a frame.
53 void Output( 53 void Output(
54 int32_t bitstream_id, 54 int32_t bitstream_id,
55 OSStatus status, 55 OSStatus status,
56 CVImageBufferRef image_buffer); 56 CVImageBufferRef image_buffer);
57 57
58 private: 58 private:
59 struct DecodedFrame { 59 struct DecodedFrame {
60 DecodedFrame(int32_t bitstream_id, CVImageBufferRef image_buffer); 60 DecodedFrame(int32_t bitstream_id, CVImageBufferRef image_buffer);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // Declared last to ensure that all decoder thread tasks complete before any 160 // Declared last to ensure that all decoder thread tasks complete before any
161 // state is destructed. 161 // state is destructed.
162 base::Thread decoder_thread_; 162 base::Thread decoder_thread_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(VTVideoDecodeAccelerator); 164 DISALLOW_COPY_AND_ASSIGN(VTVideoDecodeAccelerator);
165 }; 165 };
166 166
167 } // namespace content 167 } // namespace content
168 168
169 #endif // CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_DECODE_ACCELERATOR_H_ 169 #endif // CONTENT_COMMON_GPU_MEDIA_VT_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/video_encode_accelerator_unittest.cc ('k') | content/common/gpu/null_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698