TUT HEVC Encoder
Loading...
Searching...
No Matches
imagelist.h
Go to the documentation of this file.
1#ifndef PICTURE_LIST_H_
2#define PICTURE_LIST_H_
3/*****************************************************************************
4 * This file is part of Kvazaar HEVC encoder.
5 *
6 * Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without modification,
10 * are permitted provided that the following conditions are met:
11 *
12 * * Redistributions of source code must retain the above copyright notice, this
13 * list of conditions and the following disclaimer.
14 *
15 * * Redistributions in binary form must reproduce the above copyright notice, this
16 * list of conditions and the following disclaimer in the documentation and/or
17 * other materials provided with the distribution.
18 *
19 * * Neither the name of the Tampere University or ITU/ISO/IEC nor the names of its
20 * contributors may be used to endorse or promote products derived from
21 * this software without specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON
30 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 * INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
33 ****************************************************************************/
34
41#include "cu.h"
42#include "global.h" // IWYU pragma: keep
43#include "kvazaar.h"
44
45
49typedef struct
50{
54 uint8_t (*ref_LXs)[2][16];
57
58
60
62int kvz_image_list_resize(image_list_t *list, unsigned size);
66
68
70
71#endif //PICTURE_LIST_H_
Coding Unit data structure and related functions.
Header that is included in every other header.
#define MAX_TILES_PER_DIM
Definition global.h:232
int kvz_image_list_rem(image_list_t *list, unsigned n)
Remove picture from picturelist.
Definition imagelist.c:166
int kvz_image_list_copy_contents(image_list_t *target, image_list_t *source)
Definition imagelist.c:213
int kvz_image_list_resize(image_list_t *list, unsigned size)
Resize image_list array.
Definition imagelist.c:66
@ REF_PIC_LIST_X
Definition imagelist.h:69
@ REF_PIC_LIST_1
Definition imagelist.h:69
@ REF_PIC_LIST_0
Definition imagelist.h:69
image_list_t * kvz_image_list_alloc(int size)
Allocate memory for image_list.
Definition imagelist.c:47
int kvz_image_list_destroy(image_list_t *list)
Free memory allocated to the picture_list.
Definition imagelist.c:81
int kvz_image_list_add(image_list_t *list, kvz_picture *im, cu_array_t *cua, int32_t poc, uint8_t ref_LX[2][16])
Add picture to the front of the picturelist.
Definition imagelist.c:118
This file defines the public API of Kvazaar when used as a library.
Definition cu.h:196
Struct which contains array of picture structs.
Definition imagelist.h:50
struct kvz_picture ** images
Pointer to array of picture pointers.
Definition imagelist.h:51
int32_t * pocs
Definition imagelist.h:53
uint32_t size
Array size.
Definition imagelist.h:55
cu_array_t ** cu_arrays
Definition imagelist.h:52
uint32_t used_size
Definition imagelist.h:56
Struct which contains all picture data.
Definition kvazaar.h:504