|
MLT
7.34.0
|
functions to generate and read luma-wipe transition maps More...
#include "mlt_luma_map.h"#include "mlt_pool.h"#include "mlt_types.h"#include <ctype.h>#include <stdlib.h>#include <string.h>Macros | |
| #define | HALF_USHRT_MAX (1 << 15) |
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) |
| static int | sqrti (int n) |
functions to generate and read luma-wipe transition maps
Copyright (C) 2003-2019 Meltytech, LLC
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
| #define HALF_USHRT_MAX (1 << 15) |
| 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 | ) |
|
inlinestatic |