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

Side by Side Diff: media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc

Issue 2905823002: Add Mojo interfaces for GpuJpegDecodeAccelerator and GpuJpegDecodeAcceleratorHost (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h ('k') | media/gpu/mojo/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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
OLDNEW
« no previous file with comments | « media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h ('k') | media/gpu/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698