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

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 *const frame, const int32_t poc)
 

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 *const frame,
const int32_t poc )
Here is the caller graph for this function: