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

Side by Side Diff: source/libvpx/vp8/encoder/onyx_int.h

Issue 12807010: libvpx: Fix pull from upstream (Closed) Base URL: https://src.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 9 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/vp8/encoder/onyx_if.c ('k') | source/libvpx/vp8/encoder/x86/quantize_sse2.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) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 342
343 unsigned int frames_since_key; 343 unsigned int frames_since_key;
344 unsigned int key_frame_frequency; 344 unsigned int key_frame_frequency;
345 unsigned int this_key_frame_forced; 345 unsigned int this_key_frame_forced;
346 unsigned int next_key_frame_forced; 346 unsigned int next_key_frame_forced;
347 347
348 /* Ambient reconstruction err target for force key frames */ 348 /* Ambient reconstruction err target for force key frames */
349 int ambient_err; 349 int ambient_err;
350 350
351 unsigned int mode_check_freq[MAX_MODES]; 351 unsigned int mode_check_freq[MAX_MODES];
352 unsigned int mode_chosen_counts[MAX_MODES];
353 352
354 int rd_baseline_thresh[MAX_MODES]; 353 int rd_baseline_thresh[MAX_MODES];
355 354
356 int RDMULT; 355 int RDMULT;
357 int RDDIV ; 356 int RDDIV ;
358 357
359 CODING_CONTEXT coding_context; 358 CODING_CONTEXT coding_context;
360 359
361 /* Rate targetting variables */ 360 /* Rate targetting variables */
362 int64_t last_prediction_error; 361 int64_t last_prediction_error;
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 } while(0) 709 } while(0)
711 #else 710 #else
712 #define CHECK_MEM_ERROR(lval,expr) do {\ 711 #define CHECK_MEM_ERROR(lval,expr) do {\
713 lval = (expr); \ 712 lval = (expr); \
714 if(!lval) \ 713 if(!lval) \
715 vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,\ 714 vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,\
716 "Failed to allocate "#lval);\ 715 "Failed to allocate "#lval);\
717 } while(0) 716 } while(0)
718 #endif 717 #endif
719 #endif 718 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/onyx_if.c ('k') | source/libvpx/vp8/encoder/x86/quantize_sse2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698