/work/svt-av1/Source/Lib/Codec/pd_queue.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 | | #include "pd_queue.h" |
14 | | |
15 | 3.79k | static void pa_reference_queue_entry_dctor(EbPtr p) { |
16 | 3.79k | UNUSED(p); |
17 | 3.79k | } |
18 | | |
19 | 3.79k | EbErrorType svt_aom_pa_reference_queue_entry_ctor(PaReferenceEntry* entry_ptr) { |
20 | 3.79k | entry_ptr->dctor = pa_reference_queue_entry_dctor; |
21 | 3.79k | entry_ptr->is_valid = 0; |
22 | | |
23 | 3.79k | return EB_ErrorNone; |
24 | 3.79k | } |