Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: source/libvpx/vp9/common/vp9_mvref_common.c

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vp9/common/vp9_mfqe.c ('k') | source/libvpx/vp9/common/vp9_onyxc_int.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 3 * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license 5 * Use of this source code is governed by a BSD-style license
6 * that can be found in the LICENSE file in the root of the source 6 * that can be found in the LICENSE file in the root of the source
7 * tree. An additional intellectual property rights grant can be found 7 * tree. An additional intellectual property rights grant can be found
8 * in the file PATENTS. All contributing project authors may 8 * in the file PATENTS. All contributing project authors may
9 * be found in the AUTHORS file in the root of the source tree. 9 * be found in the AUTHORS file in the root of the source tree.
10 */ 10 */
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 nearest_mv->as_int = bmi[2].as_mv[ref].as_int; 217 nearest_mv->as_int = bmi[2].as_mv[ref].as_int;
218 for (n = 0; n < 2 + MAX_MV_REF_CANDIDATES; ++n) 218 for (n = 0; n < 2 + MAX_MV_REF_CANDIDATES; ++n)
219 if (nearest_mv->as_int != candidates[n].as_int) { 219 if (nearest_mv->as_int != candidates[n].as_int) {
220 near_mv->as_int = candidates[n].as_int; 220 near_mv->as_int = candidates[n].as_int;
221 break; 221 break;
222 } 222 }
223 break; 223 break;
224 } 224 }
225 default: 225 default:
226 assert("Invalid block index."); 226 assert(0 && "Invalid block index.");
227 } 227 }
228 } 228 }
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_mfqe.c ('k') | source/libvpx/vp9/common/vp9_onyxc_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698