summaryrefslogtreecommitdiffstats
path: root/src/lib/util/vbiparse.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/lib/util/vbiparse.h
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/lib/util/vbiparse.h')
-rw-r--r--src/lib/util/vbiparse.h20
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__ */