diff options
Diffstat (limited to 'src/lib/util/vbiparse.h')
-rw-r--r-- | src/lib/util/vbiparse.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/util/vbiparse.h b/src/lib/util/vbiparse.h index 687f984622c..ed67a3fee9f 100644 --- a/src/lib/util/vbiparse.h +++ b/src/lib/util/vbiparse.h @@ -61,11 +61,11 @@ struct vbi_metadata { - UINT8 white; /* white flag: on or off */ - UINT32 line16; /* line 16 code */ - UINT32 line17; /* line 17 code */ - UINT32 line18; /* line 18 code */ - UINT32 line1718; /* most plausible value from lines 17/18 */ + uint8_t white; /* white flag: on or off */ + uint32_t line16; /* line 16 code */ + uint32_t line17; /* line 17 code */ + uint32_t line18; /* line 18 code */ + uint32_t line1718; /* most plausible value from lines 17/18 */ }; @@ -75,19 +75,19 @@ struct vbi_metadata ***************************************************************************/ /* parse a Manchester code from a line of video data */ -int vbi_parse_manchester_code(const UINT16 *source, int sourcewidth, int sourceshift, int expectedbits, UINT32 *result); +int vbi_parse_manchester_code(const uint16_t *source, int sourcewidth, int sourceshift, int expectedbits, uint32_t *result); /* compute the "white flag" from a line of video data */ -int vbi_parse_white_flag(const UINT16 *source, int sourcewidth, int sourceshift); +int vbi_parse_white_flag(const uint16_t *source, int sourcewidth, int sourceshift); /* parse everything from a video frame */ -void vbi_parse_all(const UINT16 *source, int sourcerowpixels, int sourcewidth, int sourceshift, vbi_metadata *vbi); +void vbi_parse_all(const uint16_t *source, int sourcerowpixels, int sourcewidth, int sourceshift, vbi_metadata *vbi); /* pack the VBI data down into a smaller form for storage */ -void vbi_metadata_pack(UINT8 *dest, UINT32 framenum, const vbi_metadata *vbi); +void vbi_metadata_pack(uint8_t *dest, uint32_t framenum, const vbi_metadata *vbi); /* unpack the VBI data from a smaller form into the full structure */ -void vbi_metadata_unpack(vbi_metadata *vbi, UINT32 *framenum, const UINT8 *source); +void vbi_metadata_unpack(vbi_metadata *vbi, uint32_t *framenum, const uint8_t *source); #endif /* __VBIPARSE_H__ */ |