| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_BASE_ENCODER_VP8_H_ | 5 #ifndef REMOTING_CODEC_VIDEO_ENCODER_VP8_H_ |
| 6 #define REMOTING_BASE_ENCODER_VP8_H_ | 6 #define REMOTING_CODEC_VIDEO_ENCODER_VP8_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "remoting/base/encoder.h" | 9 #include "remoting/codec/video_encoder.h" |
| 10 #include "third_party/skia/include/core/SkRegion.h" | 10 #include "third_party/skia/include/core/SkRegion.h" |
| 11 | 11 |
| 12 typedef struct vpx_codec_ctx vpx_codec_ctx_t; | 12 typedef struct vpx_codec_ctx vpx_codec_ctx_t; |
| 13 typedef struct vpx_image vpx_image_t; | 13 typedef struct vpx_image vpx_image_t; |
| 14 | 14 |
| 15 namespace remoting { | 15 namespace remoting { |
| 16 | 16 |
| 17 // A class that uses VP8 to perform encoding. | 17 // A class that uses VP8 to perform encoding. |
| 18 class EncoderVp8 : public Encoder { | 18 class EncoderVp8 : public Encoder { |
| 19 public: | 19 public: |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 int last_timestamp_; | 54 int last_timestamp_; |
| 55 | 55 |
| 56 // Buffer for storing the yuv image. | 56 // Buffer for storing the yuv image. |
| 57 scoped_array<uint8> yuv_image_; | 57 scoped_array<uint8> yuv_image_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(EncoderVp8); | 59 DISALLOW_COPY_AND_ASSIGN(EncoderVp8); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace remoting | 62 } // namespace remoting |
| 63 | 63 |
| 64 #endif // REMOTING_BASE_ENCODER_VP8_H_ | 64 #endif // REMOTING_CODEC_VIDEO_ENCODER_VP8_H_ |
| OLD | NEW |