Line data Source code
1 : /*
2 : * Copyright (c) 2016 The WebM project authors. All Rights Reserved.
3 : *
4 : * Use of this source code is governed by a BSD-style license that can be
5 : * found in the LICENSE file in the root of the source tree. An additional
6 : * intellectual property rights grant can be found in the file PATENTS.
7 : * All contributing project authors may be found in the AUTHORS file in
8 : * the root of the source tree.
9 : */
10 :
11 : #include "vp9/encoder/vp9_encoder.h"
12 : #include "vp9/encoder/vp9_alt_ref_aq.h"
13 :
14 : struct ALT_REF_AQ {
15 : int dummy;
16 : };
17 :
18 0 : struct ALT_REF_AQ *vp9_alt_ref_aq_create() {
19 0 : return (struct ALT_REF_AQ *)vpx_malloc(sizeof(struct ALT_REF_AQ));
20 : }
21 :
22 0 : void vp9_alt_ref_aq_destroy(struct ALT_REF_AQ *const self) { vpx_free(self); }
23 :
24 0 : void vp9_alt_ref_aq_upload_map(struct ALT_REF_AQ *const self,
25 : const struct MATX_8U *segmentation_map) {
26 : (void)self;
27 : (void)segmentation_map;
28 0 : }
29 :
30 0 : void vp9_alt_ref_aq_set_nsegments(struct ALT_REF_AQ *const self,
31 : int nsegments) {
32 : (void)self;
33 : (void)nsegments;
34 0 : }
35 :
36 0 : void vp9_alt_ref_aq_setup_mode(struct ALT_REF_AQ *const self,
37 : struct VP9_COMP *const cpi) {
38 : (void)cpi;
39 : (void)self;
40 0 : }
41 :
42 : // set basic segmentation to the altref's one
43 0 : void vp9_alt_ref_aq_setup_map(struct ALT_REF_AQ *const self,
44 : struct VP9_COMP *const cpi) {
45 : (void)cpi;
46 : (void)self;
47 0 : }
48 :
49 : // restore cpi->aq_mode
50 0 : void vp9_alt_ref_aq_unset_all(struct ALT_REF_AQ *const self,
51 : struct VP9_COMP *const cpi) {
52 : (void)cpi;
53 : (void)self;
54 0 : }
55 :
56 0 : int vp9_alt_ref_aq_disable_if(const struct ALT_REF_AQ *self,
57 : int segmentation_overhead, int bandwidth) {
58 : (void)bandwidth;
59 : (void)self;
60 : (void)segmentation_overhead;
61 :
62 0 : return 0;
63 : }
|