TUT HEVC Encoder
Functions
input_frame_buffer.c File Reference
#include "input_frame_buffer.h"
#include "encoder.h"
#include "encoderstate.h"
#include "image.h"
Include dependency graph for input_frame_buffer.c:

Functions

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

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: