OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
6 #define MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
10 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
11 #include "media/cast/cast_config.h" | 13 #include "media/cast/cast_config.h" |
12 #include "media/cast/sender/software_video_encoder.h" | 14 #include "media/cast/sender/software_video_encoder.h" |
13 #include "third_party/libvpx_new/source/libvpx/vpx/vpx_encoder.h" | 15 #include "third_party/libvpx_new/source/libvpx/vpx/vpx_encoder.h" |
14 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
15 | 17 |
16 namespace media { | 18 namespace media { |
17 class VideoFrame; | 19 class VideoFrame; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // TODO(miu): Remove after discovering cause. http://crbug.com/519022 | 78 // TODO(miu): Remove after discovering cause. http://crbug.com/519022 |
77 bool has_seen_zero_length_encoded_frame_; | 79 bool has_seen_zero_length_encoded_frame_; |
78 | 80 |
79 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); | 81 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); |
80 }; | 82 }; |
81 | 83 |
82 } // namespace cast | 84 } // namespace cast |
83 } // namespace media | 85 } // namespace media |
84 | 86 |
85 #endif // MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 87 #endif // MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
OLD | NEW |