MLT 7.30.0
mlt_luma_map.h File Reference
#include <stdint.h>
#include <stdio.h>

Go to the source code of this file.

Data Structures

struct  mlt_luma_map_s

Typedefs

typedef struct mlt_luma_map_smlt_luma_map

Functions

int mlt_luma_map_from_pgm (const char *filename, uint16_t **map, int *width, int *height)
 Load the luma map from PGM stream.
void mlt_luma_map_from_yuv422 (uint8_t *image, uint16_t **map, int width, int height)
 Generate a 16-bit luma map from an 8-bit image.
void mlt_luma_map_init (mlt_luma_map self)
mlt_luma_map mlt_luma_map_new (const char *path)
uint16_t * mlt_luma_map_render (mlt_luma_map self)

Typedef Documentation

◆ mlt_luma_map

typedef struct mlt_luma_map_s* mlt_luma_map

Function Documentation

◆ mlt_luma_map_from_pgm()

int mlt_luma_map_from_pgm ( const char * filename,
uint16_t ** map,
int * width,
int * height )
extern

Load the luma map from PGM stream.

◆ mlt_luma_map_from_yuv422()

void mlt_luma_map_from_yuv422 ( uint8_t * image,
uint16_t ** map,
int width,
int height )
extern

Generate a 16-bit luma map from an 8-bit image.

◆ mlt_luma_map_init()

void mlt_luma_map_init ( mlt_luma_map self)
extern

◆ mlt_luma_map_new()

mlt_luma_map mlt_luma_map_new ( const char * path)
extern

◆ mlt_luma_map_render()

uint16_t * mlt_luma_map_render ( mlt_luma_map self)
extern