| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "remoting/base/decoder_vp8.h" | 5 #include "remoting/base/decoder_vp8.h" |
| 6 | 6 |
| 7 #include "base/logging.h" |
| 7 #include "media/base/media.h" | 8 #include "media/base/media.h" |
| 8 #include "media/base/yuv_convert.h" | 9 #include "media/base/yuv_convert.h" |
| 9 #include "remoting/base/util.h" | 10 #include "remoting/base/util.h" |
| 10 | 11 |
| 11 extern "C" { | 12 extern "C" { |
| 12 #define VPX_CODEC_DISABLE_COMPAT 1 | 13 #define VPX_CODEC_DISABLE_COMPAT 1 |
| 13 #include "third_party/libvpx/libvpx.h" | 14 #include "third_party/libvpx/libvpx.h" |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace remoting { | 17 namespace remoting { |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 dest_rect, | 226 dest_rect, |
| 226 scaled_rect, | 227 scaled_rect, |
| 227 last_image_->stride[0], | 228 last_image_->stride[0], |
| 228 last_image_->stride[1], | 229 last_image_->stride[1], |
| 229 stride); | 230 stride); |
| 230 output_rects->push_back(scaled_rect); | 231 output_rects->push_back(scaled_rect); |
| 231 } | 232 } |
| 232 } | 233 } |
| 233 | 234 |
| 234 } // namespace remoting | 235 } // namespace remoting |
| OLD | NEW |