OLD | NEW |
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 #include "media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h" | 5 #include "media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 channel_->RemoveFilter(filter_.get()); | 447 channel_->RemoveFilter(filter_.get()); |
448 filter_ = nullptr; | 448 filter_ = nullptr; |
449 } | 449 } |
450 } | 450 } |
451 | 451 |
452 bool GpuJpegDecodeAccelerator::Send(IPC::Message* message) { | 452 bool GpuJpegDecodeAccelerator::Send(IPC::Message* message) { |
453 DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); | 453 DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); |
454 return channel_->Send(message); | 454 return channel_->Send(message); |
455 } | 455 } |
456 | 456 |
| 457 void GpuJpegDecodeAccelerator::Initialize(InitializeCallback callback) { |
| 458 // TODO(c.padhi): see http://crbug.com/699255. |
| 459 NOTIMPLEMENTED(); |
| 460 } |
| 461 |
| 462 void GpuJpegDecodeAccelerator::Decode( |
| 463 mojom::BitstreamBufferPtr input_buffer, |
| 464 const gfx::Size& coded_size, |
| 465 mojo::ScopedSharedBufferHandle output_handle, |
| 466 uint32_t output_buffer_size, |
| 467 DecodeCallback callback) { |
| 468 // TODO(c.padhi): see http://crbug.com/699255. |
| 469 NOTIMPLEMENTED(); |
| 470 } |
| 471 |
| 472 void GpuJpegDecodeAccelerator::Uninitialize() { |
| 473 // TODO(c.padhi): see http://crbug.com/699255. |
| 474 NOTIMPLEMENTED(); |
| 475 } |
| 476 |
457 } // namespace media | 477 } // namespace media |
OLD | NEW |