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

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

Issue 1160103002: Cherry pick: VP8: For high overshoot, force drop frame and max-out QP. (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/vp8/encoder/onyx_if.c ('k') | source/libvpx/vp8/encoder/ratectrl.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 * 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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 519
520 // Frame counter for the temporal pattern. Counter is rest when the temporal 520 // Frame counter for the temporal pattern. Counter is rest when the temporal
521 // layers are changed dynamically (run-time change). 521 // layers are changed dynamically (run-time change).
522 unsigned int temporal_pattern_counter; 522 unsigned int temporal_pattern_counter;
523 // Temporal layer id. 523 // Temporal layer id.
524 int temporal_layer_id; 524 int temporal_layer_id;
525 525
526 // Measure of average squared difference between source and denoised signal. 526 // Measure of average squared difference between source and denoised signal.
527 int mse_source_denoised; 527 int mse_source_denoised;
528 528
529 int force_maxqp;
530
529 #if CONFIG_MULTITHREAD 531 #if CONFIG_MULTITHREAD
530 /* multithread data */ 532 /* multithread data */
531 int * mt_current_mb_col; 533 int * mt_current_mb_col;
532 int mt_sync_range; 534 int mt_sync_range;
533 int b_multi_threaded; 535 int b_multi_threaded;
534 int encoding_thread_count; 536 int encoding_thread_count;
535 int b_lpf_running; 537 int b_lpf_running;
536 538
537 pthread_t *h_encoding_thread; 539 pthread_t *h_encoding_thread;
538 pthread_t h_filter_thread; 540 pthread_t h_filter_thread;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 if(!lval) \ 737 if(!lval) \
736 vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,\ 738 vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,\
737 "Failed to allocate "#lval);\ 739 "Failed to allocate "#lval);\
738 } while(0) 740 } while(0)
739 #endif 741 #endif
740 #ifdef __cplusplus 742 #ifdef __cplusplus
741 } // extern "C" 743 } // extern "C"
742 #endif 744 #endif
743 745
744 #endif // VP8_ENCODER_ONYX_INT_H_ 746 #endif // VP8_ENCODER_ONYX_INT_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/onyx_if.c ('k') | source/libvpx/vp8/encoder/ratectrl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698