/work/svt-av1/Source/Lib/Codec/rc_results.c
Line | Count | Source |
1 | | /* |
2 | | * Copyright(c) 2019 Intel Corporation |
3 | | * |
4 | | * This source code is subject to the terms of the BSD 2 Clause License and |
5 | | * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License |
6 | | * was not distributed with this source code in the LICENSE file, you can |
7 | | * obtain it at https://www.aomedia.org/license/software-license. If the Alliance for Open |
8 | | * Media Patent License 1.0 was not distributed with this source code in the |
9 | | * PATENTS file, you can obtain it at https://www.aomedia.org/license/patent-license. |
10 | | */ |
11 | | |
12 | | #include <stdlib.h> |
13 | | |
14 | | #include "rc_results.h" |
15 | | |
16 | 474 | static EbErrorType rate_control_results_ctor(RateControlResults* context_ptr, EbPtr object_init_data_ptr) { |
17 | 474 | (void)context_ptr; |
18 | 474 | (void)object_init_data_ptr; |
19 | | |
20 | 474 | return EB_ErrorNone; |
21 | 474 | } |
22 | | |
23 | 474 | EbErrorType svt_aom_rate_control_results_creator(EbPtr* object_dbl_ptr, EbPtr object_init_data_ptr) { |
24 | 474 | RateControlResults* obj; |
25 | | |
26 | 474 | *object_dbl_ptr = NULL; |
27 | 474 | EB_NEW(obj, rate_control_results_ctor, object_init_data_ptr); |
28 | 474 | *object_dbl_ptr = obj; |
29 | | |
30 | 474 | return EB_ErrorNone; |
31 | 474 | } |