TUT HEVC Encoder
Loading...
Searching...
No Matches
imagelist.c File Reference
#include "imagelist.h"
#include <stdio.h>
#include <stdlib.h>
#include "image.h"
#include "threads.h"
Include dependency graph for imagelist.c:

Functions

image_list_tkvz_image_list_alloc (int size)
 Allocate memory for image_list.
 
int kvz_image_list_resize (image_list_t *list, unsigned size)
 Resize image_list array.
 
int kvz_image_list_destroy (image_list_t *list)
 Free memory allocated to the picture_list.
 
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.
 
int kvz_image_list_rem (image_list_t *const list, const unsigned n)
 Remove picture from picturelist.
 
int kvz_image_list_copy_contents (image_list_t *target, image_list_t *source)
 

Function Documentation

◆ kvz_image_list_add()

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] )
Parameters
picpicture pointer to add
picture_listlist to use
Returns
1 on success
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_image_list_alloc()

image_list_t * kvz_image_list_alloc ( int size)
Parameters
sizeinitial array size
Returns
image_list pointer, NULL on failure
Here is the caller graph for this function:

◆ kvz_image_list_copy_contents()

int kvz_image_list_copy_contents ( image_list_t * target,
image_list_t * source )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_image_list_destroy()

int kvz_image_list_destroy ( image_list_t * list)
Parameters
listimage_list pointer
Returns
1 on success, 0 on failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_image_list_rem()

int kvz_image_list_rem ( image_list_t *const list,
const unsigned n )
Parameters
listlist to use
nindex to remove
Returns
1 on success
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_image_list_resize()

int kvz_image_list_resize ( image_list_t * list,
unsigned size )
Parameters
listimage_list pointer
sizenew array size
Returns
1 on success, 0 on failure
Here is the caller graph for this function: