OLD | NEW |
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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 598 |
599 return get_token_alloc(tile_mb_rows, tile_mb_cols); | 599 return get_token_alloc(tile_mb_rows, tile_mb_cols); |
600 } | 600 } |
601 | 601 |
602 int64_t vp9_get_y_sse(const YV12_BUFFER_CONFIG *a, const YV12_BUFFER_CONFIG *b); | 602 int64_t vp9_get_y_sse(const YV12_BUFFER_CONFIG *a, const YV12_BUFFER_CONFIG *b); |
603 #if CONFIG_VP9_HIGHBITDEPTH | 603 #if CONFIG_VP9_HIGHBITDEPTH |
604 int64_t vp9_highbd_get_y_sse(const YV12_BUFFER_CONFIG *a, | 604 int64_t vp9_highbd_get_y_sse(const YV12_BUFFER_CONFIG *a, |
605 const YV12_BUFFER_CONFIG *b); | 605 const YV12_BUFFER_CONFIG *b); |
606 #endif // CONFIG_VP9_HIGHBITDEPTH | 606 #endif // CONFIG_VP9_HIGHBITDEPTH |
607 | 607 |
608 void vp9_alloc_compressor_data(VP9_COMP *cpi); | |
609 | |
610 void vp9_scale_references(VP9_COMP *cpi); | 608 void vp9_scale_references(VP9_COMP *cpi); |
611 | 609 |
612 void vp9_update_reference_frames(VP9_COMP *cpi); | 610 void vp9_update_reference_frames(VP9_COMP *cpi); |
613 | 611 |
614 void vp9_set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv); | 612 void vp9_set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv); |
615 | 613 |
616 YV12_BUFFER_CONFIG *vp9_scale_if_required(VP9_COMMON *cm, | 614 YV12_BUFFER_CONFIG *vp9_scale_if_required(VP9_COMMON *cm, |
617 YV12_BUFFER_CONFIG *unscaled, | 615 YV12_BUFFER_CONFIG *unscaled, |
618 YV12_BUFFER_CONFIG *scaled); | 616 YV12_BUFFER_CONFIG *scaled); |
619 | 617 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 651 |
654 void vp9_new_framerate(VP9_COMP *cpi, double framerate); | 652 void vp9_new_framerate(VP9_COMP *cpi, double framerate); |
655 | 653 |
656 #define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl)) | 654 #define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl)) |
657 | 655 |
658 #ifdef __cplusplus | 656 #ifdef __cplusplus |
659 } // extern "C" | 657 } // extern "C" |
660 #endif | 658 #endif |
661 | 659 |
662 #endif // VP9_ENCODER_VP9_ENCODER_H_ | 660 #endif // VP9_ENCODER_VP9_ENCODER_H_ |
OLD | NEW |