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

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

Issue 290653003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 int active_arnr_frames; // <= cpi->oxcf.arnr_max_frames 384 int active_arnr_frames; // <= cpi->oxcf.arnr_max_frames
385 int active_arnr_strength; // <= cpi->oxcf.arnr_max_strength 385 int active_arnr_strength; // <= cpi->oxcf.arnr_max_strength
386 386
387 int64_t last_time_stamp_seen; 387 int64_t last_time_stamp_seen;
388 int64_t last_end_time_stamp_seen; 388 int64_t last_end_time_stamp_seen;
389 int64_t first_time_stamp_ever; 389 int64_t first_time_stamp_ever;
390 390
391 RATE_CONTROL rc; 391 RATE_CONTROL rc;
392 392
393 vp9_coeff_count coef_counts[TX_SIZES][PLANE_TYPES]; 393 vp9_coeff_count coef_counts[TX_SIZES][PLANE_TYPES];
394 vp9_coeff_probs_model frame_coef_probs[TX_SIZES][PLANE_TYPES];
395 394
396 struct vpx_codec_pkt_list *output_pkt_list; 395 struct vpx_codec_pkt_list *output_pkt_list;
397 396
398 MBGRAPH_FRAME_STATS mbgraph_stats[MAX_LAG_BUFFERS]; 397 MBGRAPH_FRAME_STATS mbgraph_stats[MAX_LAG_BUFFERS];
399 int mbgraph_n_frames; // number of frames filled in the above 398 int mbgraph_n_frames; // number of frames filled in the above
400 int static_mb_pct; // % forced skip mbs by segmentation 399 int static_mb_pct; // % forced skip mbs by segmentation
401 400
402 int pass; 401 int pass;
403 402
404 int ref_frame_flags; 403 int ref_frame_flags;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 YV12_BUFFER_CONFIG *sd); 544 YV12_BUFFER_CONFIG *sd);
546 545
547 int vp9_get_reference_enc(VP9_COMP *cpi, int index, 546 int vp9_get_reference_enc(VP9_COMP *cpi, int index,
548 YV12_BUFFER_CONFIG **fb); 547 YV12_BUFFER_CONFIG **fb);
549 548
550 int vp9_set_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, 549 int vp9_set_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag,
551 YV12_BUFFER_CONFIG *sd); 550 YV12_BUFFER_CONFIG *sd);
552 551
553 int vp9_update_entropy(VP9_COMP *cpi, int update); 552 int vp9_update_entropy(VP9_COMP *cpi, int update);
554 553
555 int vp9_set_roimap(VP9_COMP *cpi, unsigned char *map, 554 int vp9_set_active_map(VP9_COMP *cpi, unsigned char *map, int rows, int cols);
556 unsigned int rows, unsigned int cols,
557 int delta_q[MAX_SEGMENTS],
558 int delta_lf[MAX_SEGMENTS],
559 unsigned int threshold[MAX_SEGMENTS]);
560
561 int vp9_set_active_map(VP9_COMP *cpi, unsigned char *map,
562 unsigned int rows, unsigned int cols);
563 555
564 int vp9_set_internal_size(VP9_COMP *cpi, 556 int vp9_set_internal_size(VP9_COMP *cpi,
565 VPX_SCALING horiz_mode, VPX_SCALING vert_mode); 557 VPX_SCALING horiz_mode, VPX_SCALING vert_mode);
566 558
567 int vp9_set_size_literal(VP9_COMP *cpi, unsigned int width, 559 int vp9_set_size_literal(VP9_COMP *cpi, unsigned int width,
568 unsigned int height); 560 unsigned int height);
569 561
570 void vp9_set_svc(VP9_COMP *cpi, int use_svc); 562 void vp9_set_svc(VP9_COMP *cpi, int use_svc);
571 563
572 int vp9_get_quantizer(struct VP9_COMP *cpi); 564 int vp9_get_quantizer(struct VP9_COMP *cpi);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 : 0]; 620 : 0];
629 xd->block_refs[1] = &cm->frame_refs[ref1 >= LAST_FRAME ? ref1 - LAST_FRAME 621 xd->block_refs[1] = &cm->frame_refs[ref1 >= LAST_FRAME ? ref1 - LAST_FRAME
630 : 0]; 622 : 0];
631 } 623 }
632 624
633 #ifdef __cplusplus 625 #ifdef __cplusplus
634 } // extern "C" 626 } // extern "C"
635 #endif 627 #endif
636 628
637 #endif // VP9_ENCODER_VP9_ENCODER_H_ 629 #endif // VP9_ENCODER_VP9_ENCODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698