| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/renderer/video_decode_accelerator_host.h" | 5 #include "content/renderer/video_decode_accelerator_host.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/task.h" | 8 #include "base/task.h" |
| 9 | 9 |
| 10 using media::VideoDecodeAccelerator; | 10 using media::VideoDecodeAccelerator; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 NOTIMPLEMENTED(); | 57 NOTIMPLEMENTED(); |
| 58 return false; | 58 return false; |
| 59 } | 59 } |
| 60 | 60 |
| 61 void VideoDecodeAcceleratorHost::AssignPictureBuffer( | 61 void VideoDecodeAcceleratorHost::AssignPictureBuffer( |
| 62 std::vector<PictureBuffer*> picture_buffers) { | 62 std::vector<PictureBuffer*> picture_buffers) { |
| 63 // TODO(vmr): implement. | 63 // TODO(vmr): implement. |
| 64 NOTIMPLEMENTED(); | 64 NOTIMPLEMENTED(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 void VideoDecodeAcceleratorHost::ReusePictureBuffer( | 67 void VideoDecodeAcceleratorHost::ReusePictureBuffer(uint32 picture_buffer_id) { |
| 68 PictureBuffer* picture_buffer) { | |
| 69 // TODO(vmr): implement. | 68 // TODO(vmr): implement. |
| 70 NOTIMPLEMENTED(); | 69 NOTIMPLEMENTED(); |
| 71 } | 70 } |
| 72 | 71 |
| 73 bool VideoDecodeAcceleratorHost::Flush( | 72 bool VideoDecodeAcceleratorHost::Flush( |
| 74 VideoDecodeAcceleratorCallback* callback) { | 73 VideoDecodeAcceleratorCallback* callback) { |
| 75 // TODO(vmr): implement. | 74 // TODO(vmr): implement. |
| 76 NOTIMPLEMENTED(); | 75 NOTIMPLEMENTED(); |
| 77 return false; | 76 return false; |
| 78 } | 77 } |
| 79 | 78 |
| 80 bool VideoDecodeAcceleratorHost::Abort( | 79 bool VideoDecodeAcceleratorHost::Abort( |
| 81 VideoDecodeAcceleratorCallback* callback) { | 80 VideoDecodeAcceleratorCallback* callback) { |
| 82 // TODO(vmr): implement. | 81 // TODO(vmr): implement. |
| 83 NOTIMPLEMENTED(); | 82 NOTIMPLEMENTED(); |
| 84 return false; | 83 return false; |
| 85 } | 84 } |
| 86 | 85 |
| 87 DISABLE_RUNNABLE_METHOD_REFCOUNT(VideoDecodeAcceleratorHost); | 86 DISABLE_RUNNABLE_METHOD_REFCOUNT(VideoDecodeAcceleratorHost); |
| OLD | NEW |