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

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

Issue 1339513003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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_reconinter.c ('k') | source/libvpx/vp9/common/vp9_tile_common.c » ('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 * 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
11 #include "./vpx_config.h" 11 #include "./vpx_config.h"
12 #include "vpx_dsp/vpx_dsp_common.h"
12 #include "vpx_mem/vpx_mem.h" 13 #include "vpx_mem/vpx_mem.h"
13 #include "vp9/common/vp9_entropymode.h" 14 #include "vp9/common/vp9_entropymode.h"
14 #include "vp9/common/vp9_thread_common.h" 15 #include "vp9/common/vp9_thread_common.h"
15 #include "vp9/common/vp9_reconinter.h" 16 #include "vp9/common/vp9_reconinter.h"
16 #include "vp9/common/vp9_loopfilter.h" 17 #include "vp9/common/vp9_loopfilter.h"
17 18
18 #if CONFIG_MULTITHREAD 19 #if CONFIG_MULTITHREAD
19 static INLINE void mutex_lock(pthread_mutex_t *const mutex) { 20 static INLINE void mutex_lock(pthread_mutex_t *const mutex) {
20 const int kMaxTryLocks = 4000; 21 const int kMaxTryLocks = 4000;
21 int locked = 0; 22 int locked = 0;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 } 428 }
428 429
429 for (i = 0; i < MV_OFFSET_BITS; i++) 430 for (i = 0; i < MV_OFFSET_BITS; i++)
430 for (j = 0; j < 2; j++) 431 for (j = 0; j < 2; j++)
431 comps->bits[i][j] += comps_t->bits[i][j]; 432 comps->bits[i][j] += comps_t->bits[i][j];
432 433
433 for (i = 0; i < MV_FP_SIZE; i++) 434 for (i = 0; i < MV_FP_SIZE; i++)
434 comps->fp[i] += comps_t->fp[i]; 435 comps->fp[i] += comps_t->fp[i];
435 } 436 }
436 } 437 }
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_reconinter.c ('k') | source/libvpx/vp9/common/vp9_tile_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698