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 #ifndef EbPictureDecisionReorderQueue_h
13 #define EbPictureDecisionReorderQueue_h
14 
15 #include "EbDefinitions.h"
16 #include "EbSystemResourceManager.h"
17 #include "EbObject.h"
18 
19 /************************************************
20  * Packetization Reorder Queue Entry
21  ************************************************/
22 typedef struct PictureDecisionReorderEntry {
23     EbDctor          dctor;
24     uint64_t         picture_number;
25     EbObjectWrapper *parent_pcs_wrapper_ptr;
26 } PictureDecisionReorderEntry;
27 
28 extern EbErrorType picture_decision_reorder_entry_ctor(PictureDecisionReorderEntry *entry_ptr,
29                                                        uint32_t                     picture_number);
30 
31 #endif //EbPictureDecisionReorderQueue_h
32