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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_encoder.h

Issue 1217053002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 5 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/encoder/vp9_encodeframe.c ('k') | source/libvpx/vp9/encoder/vp9_encoder.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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 struct lookahead_entry *alt_ref_source; 299 struct lookahead_entry *alt_ref_source;
300 300
301 YV12_BUFFER_CONFIG *Source; 301 YV12_BUFFER_CONFIG *Source;
302 YV12_BUFFER_CONFIG *Last_Source; // NULL for first frame and alt_ref frames 302 YV12_BUFFER_CONFIG *Last_Source; // NULL for first frame and alt_ref frames
303 YV12_BUFFER_CONFIG *un_scaled_source; 303 YV12_BUFFER_CONFIG *un_scaled_source;
304 YV12_BUFFER_CONFIG scaled_source; 304 YV12_BUFFER_CONFIG scaled_source;
305 YV12_BUFFER_CONFIG *unscaled_last_source; 305 YV12_BUFFER_CONFIG *unscaled_last_source;
306 YV12_BUFFER_CONFIG scaled_last_source; 306 YV12_BUFFER_CONFIG scaled_last_source;
307 307
308 TileDataEnc *tile_data; 308 TileDataEnc *tile_data;
309 int allocated_tiles; // Keep track of memory allocated for tiles.
309 310
310 // For a still frame, this flag is set to 1 to skip partition search. 311 // For a still frame, this flag is set to 1 to skip partition search.
311 int partition_search_skippable_frame; 312 int partition_search_skippable_frame;
312 313
313 int scaled_ref_idx[MAX_REF_FRAMES]; 314 int scaled_ref_idx[MAX_REF_FRAMES];
314 int lst_fb_idx; 315 int lst_fb_idx;
315 int gld_fb_idx; 316 int gld_fb_idx;
316 int alt_fb_idx; 317 int alt_fb_idx;
317 318
318 int refresh_last_frame; 319 int refresh_last_frame;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 472
472 int multi_arf_allowed; 473 int multi_arf_allowed;
473 int multi_arf_enabled; 474 int multi_arf_enabled;
474 int multi_arf_last_grp_enabled; 475 int multi_arf_last_grp_enabled;
475 476
476 #if CONFIG_VP9_TEMPORAL_DENOISING 477 #if CONFIG_VP9_TEMPORAL_DENOISING
477 VP9_DENOISER denoiser; 478 VP9_DENOISER denoiser;
478 #endif 479 #endif
479 480
480 int resize_pending; 481 int resize_pending;
482 int resize_state;
483 int resize_scale_num;
484 int resize_scale_den;
485 int resize_avg_qp;
486 int resize_buffer_underflow;
487 int resize_count;
481 488
482 // VAR_BASED_PARTITION thresholds 489 // VAR_BASED_PARTITION thresholds
483 // 0 - threshold_64x64; 1 - threshold_32x32; 490 // 0 - threshold_64x64; 1 - threshold_32x32;
484 // 2 - threshold_16x16; 3 - vbp_threshold_8x8; 491 // 2 - threshold_16x16; 3 - vbp_threshold_8x8;
485 int64_t vbp_thresholds[4]; 492 int64_t vbp_thresholds[4];
486 int64_t vbp_threshold_minmax; 493 int64_t vbp_threshold_minmax;
487 int64_t vbp_threshold_sad; 494 int64_t vbp_threshold_sad;
488 BLOCK_SIZE vbp_bsize_min; 495 BLOCK_SIZE vbp_bsize_min;
489 496
490 // Multi-threading 497 // Multi-threading
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 652
646 void vp9_new_framerate(VP9_COMP *cpi, double framerate); 653 void vp9_new_framerate(VP9_COMP *cpi, double framerate);
647 654
648 #define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl)) 655 #define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl))
649 656
650 #ifdef __cplusplus 657 #ifdef __cplusplus
651 } // extern "C" 658 } // extern "C"
652 #endif 659 #endif
653 660
654 #endif // VP9_ENCODER_VP9_ENCODER_H_ 661 #endif // VP9_ENCODER_VP9_ENCODER_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_encodeframe.c ('k') | source/libvpx/vp9/encoder/vp9_encoder.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698