| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebM 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 static void copy_mem32x32(const uint8_t *src, int src_stride, | 113 static void copy_mem32x32(const uint8_t *src, int src_stride, |
| 114 uint8_t *dst, int dst_stride) { | 114 uint8_t *dst, int dst_stride) { |
| 115 copy_mem16x16(src, src_stride, dst, dst_stride); | 115 copy_mem16x16(src, src_stride, dst, dst_stride); |
| 116 copy_mem16x16(src + 16, src_stride, dst + 16, dst_stride); | 116 copy_mem16x16(src + 16, src_stride, dst + 16, dst_stride); |
| 117 copy_mem16x16(src + src_stride * 16, src_stride, | 117 copy_mem16x16(src + src_stride * 16, src_stride, |
| 118 dst + dst_stride * 16, dst_stride); | 118 dst + dst_stride * 16, dst_stride); |
| 119 copy_mem16x16(src + src_stride * 16 + 16, src_stride, | 119 copy_mem16x16(src + src_stride * 16 + 16, src_stride, |
| 120 dst + dst_stride * 16 + 16, dst_stride); | 120 dst + dst_stride * 16 + 16, dst_stride); |
| 121 } | 121 } |
| 122 | 122 |
| 123 void copy_mem64x64(const uint8_t *src, int src_stride, | 123 static void copy_mem64x64(const uint8_t *src, int src_stride, |
| 124 uint8_t *dst, int dst_stride) { | 124 uint8_t *dst, int dst_stride) { |
| 125 copy_mem32x32(src, src_stride, dst, dst_stride); | 125 copy_mem32x32(src, src_stride, dst, dst_stride); |
| 126 copy_mem32x32(src + 32, src_stride, dst + 32, dst_stride); | 126 copy_mem32x32(src + 32, src_stride, dst + 32, dst_stride); |
| 127 copy_mem32x32(src + src_stride * 32, src_stride, | 127 copy_mem32x32(src + src_stride * 32, src_stride, |
| 128 dst + src_stride * 32, dst_stride); | 128 dst + src_stride * 32, dst_stride); |
| 129 copy_mem32x32(src + src_stride * 32 + 32, src_stride, | 129 copy_mem32x32(src + src_stride * 32 + 32, src_stride, |
| 130 dst + src_stride * 32 + 32, dst_stride); | 130 dst + src_stride * 32 + 32, dst_stride); |
| 131 } | 131 } |
| 132 | 132 |
| 133 static void copy_block(const uint8_t *y, const uint8_t *u, const uint8_t *v, | 133 static void copy_block(const uint8_t *y, const uint8_t *u, const uint8_t *v, |
| 134 int y_stride, int uv_stride, uint8_t *yd, uint8_t *ud, | 134 int y_stride, int uv_stride, uint8_t *yd, uint8_t *ud, |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 if (frame_is_intra_only(cm)) { | 385 if (frame_is_intra_only(cm)) { |
| 386 mi = mi_prev; | 386 mi = mi_prev; |
| 387 } else { | 387 } else { |
| 388 mi = mi_local; | 388 mi = mi_local; |
| 389 } | 389 } |
| 390 mfqe_partition(cm, mi, BLOCK_64X64, y, u, v, y_stride, uv_stride, yd, ud, | 390 mfqe_partition(cm, mi, BLOCK_64X64, y, u, v, y_stride, uv_stride, yd, ud, |
| 391 vd, yd_stride, uvd_stride); | 391 vd, yd_stride, uvd_stride); |
| 392 } | 392 } |
| 393 } | 393 } |
| 394 } | 394 } |
| OLD | NEW |