FFmpeg
|
Go to the source code of this file.
Macros | |
#define | CHECK_KEYWORD(key) |
#define | CHECK_VALUE(key, val) |
Functions | |
int | avpriv_fits_header_init (FITSHeader *header, FITSHeaderState state) |
Initialize a single header line. More... | |
static int | dict_set_if_not_null (AVDictionary ***metadata, char *keyword, char *value) |
static int | read_keyword_value (const uint8_t *ptr8, char *keyword, char *value) |
Extract keyword and value from a header line (80 bytes) and store them in keyword and value strings respectively. More... | |
int | avpriv_fits_header_parse_line (void *avcl, FITSHeader *header, const uint8_t line[80], AVDictionary ***metadata) |
Parse a single header line. More... | |
#define CHECK_KEYWORD | ( | key | ) |
Definition at line 96 of file fits.c.
Referenced by avpriv_fits_header_parse_line().
Definition at line 102 of file fits.c.
Referenced by avpriv_fits_header_parse_line().
int avpriv_fits_header_init | ( | FITSHeader * | header, |
FITSHeaderState | state | ||
) |
Initialize a single header line.
header | pointer to the header |
state | current state of parsing the header |
Definition at line 26 of file fits.c.
Referenced by fits_read_header(), and fits_read_packet().
|
static |
Definition at line 43 of file fits.c.
Referenced by avpriv_fits_header_parse_line().
Extract keyword and value from a header line (80 bytes) and store them in keyword and value strings respectively.
ptr8 | pointer to the data |
keyword | pointer to the char array in which keyword is to be stored |
value | pointer to the char array in which value is to be stored |
Definition at line 57 of file fits.c.
Referenced by avpriv_fits_header_parse_line().
int avpriv_fits_header_parse_line | ( | void * | avcl, |
FITSHeader * | header, | ||
const uint8_t | line[80], | ||
AVDictionary *** | metadata | ||
) |
Parse a single header line.
avcl | used in av_log |
header | pointer to the header |
line | one header line |
metadata | used to store metadata while decoding |
Definition at line 108 of file fits.c.
Referenced by fits_read_header(), and is_image().