| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright 2011 The LibYuv Project Authors. All rights reserved. |    2  *  Copyright 2011 The LibYuv Project Authors. All rights reserved. | 
|    3  * |    3  * | 
|    4  *  Use of this source code is governed by a BSD-style license |    4  *  Use of this source code is governed by a BSD-style license | 
|    5  *  that can be found in the LICENSE file in the root of the source |    5  *  that can be found in the LICENSE file in the root of the source | 
|    6  *  tree. An additional intellectual property rights grant can be found |    6  *  tree. An additional intellectual property rights grant can be found | 
|    7  *  in the file PATENTS. All contributing project authors may |    7  *  in the file PATENTS. All contributing project authors may | 
|    8  *  be found in the AUTHORS file in the root of the source tree. |    8  *  be found in the AUTHORS file in the root of the source tree. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
|   27 } FilterModeEnum; |   27 } FilterModeEnum; | 
|   28  |   28  | 
|   29 // Scale a YUV plane. |   29 // Scale a YUV plane. | 
|   30 LIBYUV_API |   30 LIBYUV_API | 
|   31 void ScalePlane(const uint8* src, int src_stride, |   31 void ScalePlane(const uint8* src, int src_stride, | 
|   32                 int src_width, int src_height, |   32                 int src_width, int src_height, | 
|   33                 uint8* dst, int dst_stride, |   33                 uint8* dst, int dst_stride, | 
|   34                 int dst_width, int dst_height, |   34                 int dst_width, int dst_height, | 
|   35                 enum FilterMode filtering); |   35                 enum FilterMode filtering); | 
|   36  |   36  | 
 |   37 LIBYUV_API | 
|   37 void ScalePlane_16(const uint16* src, int src_stride, |   38 void ScalePlane_16(const uint16* src, int src_stride, | 
|   38                    int src_width, int src_height, |   39                    int src_width, int src_height, | 
|   39                    uint16* dst, int dst_stride, |   40                    uint16* dst, int dst_stride, | 
|   40                    int dst_width, int dst_height, |   41                    int dst_width, int dst_height, | 
|   41                    enum FilterMode filtering); |   42                    enum FilterMode filtering); | 
|   42  |   43  | 
|   43 // Scales a YUV 4:2:0 image from the src width and height to the |   44 // Scales a YUV 4:2:0 image from the src width and height to the | 
|   44 // dst width and height. |   45 // dst width and height. | 
|   45 // If filtering is kFilterNone, a simple nearest-neighbor algorithm is |   46 // If filtering is kFilterNone, a simple nearest-neighbor algorithm is | 
|   46 // used. This produces basic (blocky) quality at the fastest speed. |   47 // used. This produces basic (blocky) quality at the fastest speed. | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   93 LIBYUV_API |   94 LIBYUV_API | 
|   94 void SetUseReferenceImpl(LIBYUV_BOOL use); |   95 void SetUseReferenceImpl(LIBYUV_BOOL use); | 
|   95 #endif  // __cplusplus |   96 #endif  // __cplusplus | 
|   96  |   97  | 
|   97 #ifdef __cplusplus |   98 #ifdef __cplusplus | 
|   98 }  // extern "C" |   99 }  // extern "C" | 
|   99 }  // namespace libyuv |  100 }  // namespace libyuv | 
|  100 #endif |  101 #endif | 
|  101  |  102  | 
|  102 #endif  // INCLUDE_LIBYUV_SCALE_H_  NOLINT |  103 #endif  // INCLUDE_LIBYUV_SCALE_H_  NOLINT | 
| OLD | NEW |