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

Buffering of input for reordering. More...

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

Go to the source code of this file.

Data Structures

struct  input_frame_buffer_t
 

Typedefs

typedef struct input_frame_buffer_t input_frame_buffer_t
 

Functions

void kvz_init_input_frame_buffer (input_frame_buffer_t *input_buffer)
 
kvz_picturekvz_encoder_feed_frame (input_frame_buffer_t *buf, struct encoder_state_t *const state, struct kvz_picture *const img_in, int first_done)
 Pass an input frame to the encoder state.
 

Typedef Documentation

◆ input_frame_buffer_t

Function Documentation

◆ kvz_encoder_feed_frame()

kvz_picture * kvz_encoder_feed_frame ( input_frame_buffer_t buf,
encoder_state_t *const  state,
kvz_picture *const  img_in,
int  first_done 
)

Returns the image that should be encoded next if there is a suitable image available.

The caller must not modify img_in after calling this function.

Parameters
bufan input frame buffer
statea main encoder state
img_ininput frame or NULL
first_donewhether the first frame has been done, needed for the OBA rc
Returns
pointer to the next picture, or NULL if no picture is available
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kvz_init_input_frame_buffer()

void kvz_init_input_frame_buffer ( input_frame_buffer_t input_buffer)
Here is the caller graph for this function: