66#ifndef __video_compress_h
67#define __video_compress_h
71#define VIDEO_COMPRESS_ABI_VERSION 12
200 std::vector<module_option>
opts;
struct video_frame * frame
std::shared_ptr< video_frame >(* compress_frame_t)(struct module *state, std::shared_ptr< video_frame > frame)
Compresses video frame.
struct module *(* compress_init_t)(struct module *parent, const char *cfg)
Initializes video compression.
void show_compress_help(bool full)
Displays list of available compressions.
std::shared_ptr< video_frame > compress_pop(struct compress_state *)
void compress_frame(struct compress_state *, std::shared_ptr< video_frame >)
std::shared_ptr< video_frame >(* compress_tile_async_pop_t)(struct module *state)
Fetches compressed tile passed with compress_tile_async_push()
int compress_init(struct module *parent, const char *config_string, struct compress_state **)
This function initializes video compression.
std::shared_ptr< video_frame >(* compress_tile_t)(struct module *state, std::shared_ptr< video_frame > in_frame)
Compresses tile of a video frame.
void(* compress_tile_async_push_t)(struct module *state, std::shared_ptr< video_frame > in_frame)
Passes tile to compress module for async processing.
std::shared_ptr< video_frame >(* compress_frame_async_pop_t)(struct module *state)
Fetches compressed frame passed with compress_frame_async_push()
void compress_done(struct compress_state *)
Video compression cleanup function.
void(* compress_frame_async_push_t)(struct module *state, std::shared_ptr< video_frame > in_frame)
Passes frame to compress module for async processing.
std::vector< encoder > encoders
std::vector< codec > codecs
std::vector< module_option > opts
std::string placeholder_text
compress_tile_async_push_t compress_tile_async_push_func
Async tile API.
compress_frame_async_pop_t compress_frame_async_pop_func
Async API.
compress_init_t init_func
compress driver initialization function
compress_frame_async_push_t compress_frame_async_push_func
Async API.
const char * name
not used
compress_module_info(* get_module_info)()
compress_frame_t compress_frame_func
compress function for Frame API
compress_tile_t compress_tile_func
compress function for Tile API
compress_tile_async_pop_t compress_tile_async_pop_func
Async tile API.
This file contains some common data types.