FFmpeg
Loading...
Searching...
No Matches
ocio_wrapper.hpp File Reference
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef void * OCIOHandle
 

Functions

OCIOHandle ocio_create_display_view_processor (AVFilterContext *ctx, const char *config_path, const char *input_color_space, const char *display, const char *view, int inverse, AVDictionary *params)
 
OCIOHandle ocio_create_output_colorspace_processor (AVFilterContext *ctx, const char *config_path, const char *input_color_space, const char *output_color_space, AVDictionary *params)
 
OCIOHandle ocio_create_file_transform_processor (AVFilterContext *ctx, const char *file_transform, int inverse)
 
int ocio_finalize_processor (AVFilterContext *ctx, OCIOHandle handle, int input_format, int output_format)
 
int ocio_apply (AVFilterContext *ctx, OCIOHandle handle, AVFrame *input_frame, AVFrame *output_frame, int y_start, int height)
 
void ocio_destroy_processor (AVFilterContext *ctx, OCIOHandle handle)
 

Typedef Documentation

◆ OCIOHandle

typedef void* OCIOHandle

Definition at line 28 of file ocio_wrapper.hpp.

Function Documentation

◆ ocio_create_display_view_processor()

OCIOHandle ocio_create_display_view_processor ( AVFilterContext * ctx,
const char * config_path,
const char * input_color_space,
const char * display,
const char * view,
int inverse,
AVDictionary * params )

Definition at line 137 of file ocio_wrapper.cpp.

Referenced by init().

◆ ocio_create_output_colorspace_processor()

OCIOHandle ocio_create_output_colorspace_processor ( AVFilterContext * ctx,
const char * config_path,
const char * input_color_space,
const char * output_color_space,
AVDictionary * params )

Definition at line 99 of file ocio_wrapper.cpp.

Referenced by init().

◆ ocio_create_file_transform_processor()

OCIOHandle ocio_create_file_transform_processor ( AVFilterContext * ctx,
const char * file_transform,
int inverse )

Definition at line 183 of file ocio_wrapper.cpp.

Referenced by init().

◆ ocio_finalize_processor()

int ocio_finalize_processor ( AVFilterContext * ctx,
OCIOHandle handle,
int input_format,
int output_format )

Definition at line 214 of file ocio_wrapper.cpp.

Referenced by config_props().

◆ ocio_apply()

int ocio_apply ( AVFilterContext * ctx,
OCIOHandle handle,
AVFrame * input_frame,
AVFrame * output_frame,
int y_start,
int height )

Definition at line 275 of file ocio_wrapper.cpp.

Referenced by ocio_filter_slice().

◆ ocio_destroy_processor()

void ocio_destroy_processor ( AVFilterContext * ctx,
OCIOHandle handle )

Definition at line 309 of file ocio_wrapper.cpp.

Referenced by uninit().