/work/svt-av1/Source/Lib/Codec/pd_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 "pd_results.h" |
15 | | |
16 | 1.89k | static EbErrorType picture_decision_result_ctor(PictureDecisionResults* object_ptr, EbPtr object_init_data_ptr) { |
17 | 1.89k | (void)object_ptr; |
18 | 1.89k | (void)object_init_data_ptr; |
19 | | |
20 | 1.89k | return EB_ErrorNone; |
21 | 1.89k | } |
22 | | |
23 | 1.89k | EbErrorType svt_aom_picture_decision_result_creator(EbPtr* object_dbl_ptr, EbPtr object_init_data_ptr) { |
24 | 1.89k | PictureDecisionResults* obj; |
25 | | |
26 | 1.89k | *object_dbl_ptr = NULL; |
27 | 1.89k | EB_NEW(obj, picture_decision_result_ctor, object_init_data_ptr); |
28 | 1.89k | *object_dbl_ptr = obj; |
29 | | |
30 | 1.89k | return EB_ErrorNone; |
31 | 1.89k | } |