OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
12 #include "media/base/android/demuxer_stream_player_params.h" | 14 #include "media/base/android/demuxer_stream_player_params.h" |
13 #include "media/base/android/media_codec_bridge.h" | 15 #include "media/base/android/media_codec_bridge.h" |
14 #include "ui/gl/android/scoped_java_surface.h" | 16 #include "ui/gl/android/scoped_java_surface.h" |
15 | 17 |
16 namespace base { | 18 namespace base { |
17 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 // This access unit is passed to the decoder during config changes to drain | 363 // This access unit is passed to the decoder during config changes to drain |
362 // the decoder. | 364 // the decoder. |
363 AccessUnit eos_unit_; | 365 AccessUnit eos_unit_; |
364 | 366 |
365 DISALLOW_IMPLICIT_CONSTRUCTORS(MediaDecoderJob); | 367 DISALLOW_IMPLICIT_CONSTRUCTORS(MediaDecoderJob); |
366 }; | 368 }; |
367 | 369 |
368 } // namespace media | 370 } // namespace media |
369 | 371 |
370 #endif // MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_ | 372 #endif // MEDIA_BASE_ANDROID_MEDIA_DECODER_JOB_H_ |
OLD | NEW |