OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/common/gpu/media/android_video_decode_accelerator.h" | 5 #include "content/common/gpu/media/android_video_decode_accelerator.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "content/common/gpu/gpu_channel.h" | 10 #include "content/common/gpu/gpu_channel.h" |
11 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 11 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
12 #include "media/base/bitstream_buffer.h" | 12 #include "media/base/bitstream_buffer.h" |
13 #include "media/base/limits.h" | 13 #include "media/base/limits.h" |
14 #include "media/video/picture.h" | 14 #include "media/video/picture.h" |
15 #include "ui/gl/android/scoped_java_surface.h" | 15 #include "ui/gl/android/scoped_java_surface.h" |
16 #include "ui/gl/gl_bindings.h" | 16 #include "ui/gl/gl_bindings.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 void AndroidVideoDecodeAccelerator::NotifyResetDone() { | 465 void AndroidVideoDecodeAccelerator::NotifyResetDone() { |
466 client_->NotifyResetDone(); | 466 client_->NotifyResetDone(); |
467 } | 467 } |
468 | 468 |
469 void AndroidVideoDecodeAccelerator::NotifyError( | 469 void AndroidVideoDecodeAccelerator::NotifyError( |
470 media::VideoDecodeAccelerator::Error error) { | 470 media::VideoDecodeAccelerator::Error error) { |
471 client_->NotifyError(error); | 471 client_->NotifyError(error); |
472 } | 472 } |
473 | 473 |
474 } // namespace content | 474 } // namespace content |
OLD | NEW |