TUT HEVC Encoder
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
videoframe.h File Reference

Container for the frame currently being encoded. More...

#include "cu.h"
#include "global.h"
#include "kvazaar.h"
Include dependency graph for videoframe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  videoframe
 Struct which contains all picture data. More...
 

Typedefs

typedef struct videoframe videoframe_t
 Struct which contains all picture data.
 

Functions

videoframe_tkvz_videoframe_alloc (int32_t width, int32_t height, enum kvz_chroma_format chroma_format)
 Allocate new frame.
 
int kvz_videoframe_free (videoframe_t *const frame)
 Free memory allocated to frame.
 
void kvz_videoframe_set_poc (videoframe_t *frame, int32_t poc)
 

Typedef Documentation

◆ videoframe_t

Function Documentation

◆ kvz_videoframe_alloc()

videoframe_t * kvz_videoframe_alloc ( int32_t  width,
int32_t  height,
enum kvz_chroma_format  chroma_format 
)
Parameters
picpicture pointer
Returns
picture pointer
Here is the caller graph for this function:

◆ kvz_videoframe_free()

int kvz_videoframe_free ( videoframe_t *const  frame)
Parameters
picpicture 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_videoframe_set_poc()

void kvz_videoframe_set_poc ( videoframe_t frame,
int32_t  poc 
)
Here is the caller graph for this function: