MLT  7.28.0
Data Structures | Typedefs | Functions
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. More...
 
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. More...
 
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 
)

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 
)

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

◆ mlt_luma_map_init()

void mlt_luma_map_init ( mlt_luma_map  self)

◆ mlt_luma_map_new()

mlt_luma_map mlt_luma_map_new ( const char *  path)

◆ mlt_luma_map_render()

uint16_t* mlt_luma_map_render ( mlt_luma_map  self)