summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/vbiparse.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-06-07 17:37:34 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-06-07 17:37:34 +0200
commitb6ce8ee991c7e14ca214a2931bfbc4e4a5a0dc0f (patch)
treeda1e239053b7bfd9e841a103bbb36aefb71c4e7f /src/lib/util/vbiparse.c
parentb6a4cf45ca6fdf842b319806d61d638cf2d8b2d2 (diff)
Licenses for Raphael Nabet (nw)
Diffstat (limited to 'src/lib/util/vbiparse.c')
-rw-r--r--src/lib/util/vbiparse.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/util/vbiparse.c b/src/lib/util/vbiparse.c
index 3f22e51c990..43cfb57c158 100644
--- a/src/lib/util/vbiparse.c
+++ b/src/lib/util/vbiparse.c
@@ -276,6 +276,18 @@ int vbi_parse_white_flag(const UINT16 *source, int sourcewidth, int sourceshift)
frame
-------------------------------------------------*/
+/**
+ * @fn void vbi_parse_all(const UINT16 *source, int sourcerowpixels, int sourcewidth, int sourceshift, vbi_metadata *vbi)
+ *
+ * @brief Vbi parse all.
+ *
+ * @param source Source for the.
+ * @param sourcerowpixels The sourcerowpixels.
+ * @param sourcewidth The sourcewidth.
+ * @param sourceshift The sourceshift.
+ * @param [in,out] vbi If non-null, the vbi.
+ */
+
void vbi_parse_all(const UINT16 *source, int sourcerowpixels, int sourcewidth, int sourceshift, vbi_metadata *vbi)
{
UINT32 bits[2][24];
@@ -338,6 +350,16 @@ void vbi_parse_all(const UINT16 *source, int sourcerowpixels, int sourcewidth, i
into a smaller form for storage
-------------------------------------------------*/
+/**
+ * @fn void vbi_metadata_pack(UINT8 *dest, UINT32 framenum, const vbi_metadata *vbi)
+ *
+ * @brief Vbi metadata pack.
+ *
+ * @param [in,out] dest If non-null, destination for the.
+ * @param framenum The framenum.
+ * @param vbi The vbi.
+ */
+
void vbi_metadata_pack(UINT8 *dest, UINT32 framenum, const vbi_metadata *vbi)
{
dest[0] = framenum >> 16;
@@ -364,6 +386,16 @@ void vbi_metadata_pack(UINT8 *dest, UINT32 framenum, const vbi_metadata *vbi)
from a smaller form into the full structure
-------------------------------------------------*/
+/**
+ * @fn void vbi_metadata_unpack(vbi_metadata *vbi, UINT32 *framenum, const UINT8 *source)
+ *
+ * @brief Vbi metadata unpack.
+ *
+ * @param [in,out] vbi If non-null, the vbi.
+ * @param [in,out] framenum If non-null, the framenum.
+ * @param source Source for the.
+ */
+
void vbi_metadata_unpack(vbi_metadata *vbi, UINT32 *framenum, const UINT8 *source)
{
if (framenum != NULL)