| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2012 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 disable_cpu_flags_, benchmark_cpu_info_); | 255 disable_cpu_flags_, benchmark_cpu_info_); |
| 256 } | 256 } |
| 257 | 257 |
| 258 TEST_F(LibYUVRotateTest, DISABLED_NV12Rotate270_Odd) { | 258 TEST_F(LibYUVRotateTest, DISABLED_NV12Rotate270_Odd) { |
| 259 NV12TestRotate(benchmark_width_ - 3, benchmark_height_ - 1, | 259 NV12TestRotate(benchmark_width_ - 3, benchmark_height_ - 1, |
| 260 benchmark_height_ - 1, benchmark_width_ - 3, | 260 benchmark_height_ - 1, benchmark_width_ - 3, |
| 261 kRotate270, benchmark_iterations_, | 261 kRotate270, benchmark_iterations_, |
| 262 disable_cpu_flags_, benchmark_cpu_info_); | 262 disable_cpu_flags_, benchmark_cpu_info_); |
| 263 } | 263 } |
| 264 | 264 |
| 265 TEST_F(LibYUVRotateTest, NV12Rotate0_Inverted) { | 265 TEST_F(LibYUVRotateTest, NV12Rotate0_Invert) { |
| 266 NV12TestRotate(benchmark_width_, -benchmark_height_, | 266 NV12TestRotate(benchmark_width_, -benchmark_height_, |
| 267 benchmark_width_, benchmark_height_, | 267 benchmark_width_, benchmark_height_, |
| 268 kRotate0, benchmark_iterations_, | 268 kRotate0, benchmark_iterations_, |
| 269 disable_cpu_flags_, benchmark_cpu_info_); | 269 disable_cpu_flags_, benchmark_cpu_info_); |
| 270 } | 270 } |
| 271 | 271 |
| 272 TEST_F(LibYUVRotateTest, NV12Rotate90_Inverted) { | 272 TEST_F(LibYUVRotateTest, NV12Rotate90_Invert) { |
| 273 NV12TestRotate(benchmark_width_, -benchmark_height_, | 273 NV12TestRotate(benchmark_width_, -benchmark_height_, |
| 274 benchmark_height_, benchmark_width_, | 274 benchmark_height_, benchmark_width_, |
| 275 kRotate90, benchmark_iterations_, | 275 kRotate90, benchmark_iterations_, |
| 276 disable_cpu_flags_, benchmark_cpu_info_); | 276 disable_cpu_flags_, benchmark_cpu_info_); |
| 277 } | 277 } |
| 278 | 278 |
| 279 TEST_F(LibYUVRotateTest, NV12Rotate180_Inverted) { | 279 TEST_F(LibYUVRotateTest, NV12Rotate180_Invert) { |
| 280 NV12TestRotate(benchmark_width_, -benchmark_height_, | 280 NV12TestRotate(benchmark_width_, -benchmark_height_, |
| 281 benchmark_width_, benchmark_height_, | 281 benchmark_width_, benchmark_height_, |
| 282 kRotate180, benchmark_iterations_, | 282 kRotate180, benchmark_iterations_, |
| 283 disable_cpu_flags_, benchmark_cpu_info_); | 283 disable_cpu_flags_, benchmark_cpu_info_); |
| 284 } | 284 } |
| 285 | 285 |
| 286 TEST_F(LibYUVRotateTest, NV12Rotate270_Inverted) { | 286 TEST_F(LibYUVRotateTest, NV12Rotate270_Invert) { |
| 287 NV12TestRotate(benchmark_width_, -benchmark_height_, | 287 NV12TestRotate(benchmark_width_, -benchmark_height_, |
| 288 benchmark_height_, benchmark_width_, | 288 benchmark_height_, benchmark_width_, |
| 289 kRotate270, benchmark_iterations_, | 289 kRotate270, benchmark_iterations_, |
| 290 disable_cpu_flags_, benchmark_cpu_info_); | 290 disable_cpu_flags_, benchmark_cpu_info_); |
| 291 } | 291 } |
| 292 | 292 |
| 293 | 293 |
| 294 | 294 |
| 295 | 295 |
| 296 | 296 |
| 297 } // namespace libyuv | 297 } // namespace libyuv |
| OLD | NEW |