1mlib_VideoReversibleColorRGmBe2dYiUaVL_iUbm8l_LiUib8b_(rV3aiMrdLyeIoBFR)uenvcetrisoinbsleColorRGB2YUV_U8_U8(3MLIB)
2
3
4
6 mlib_VideoReversibleColorRGB2YUV_U8_U8, mlib_VideoReversibleColor‐
7 RGB2YUV_S16_U8, mlib_VideoReversibleColorRGB2YUV_S16_S16, mlib_VideoRe‐
8 versibleColorRGB2YUV_S32_S16 - reversible color space conversion for
9 wavelet transformation
10
12 cc [ flag... ] file... -lmlib [ library... ]
13 #include <mlib.h>
14
15 mlib_status mlib_VideoReversibleColorRGB2YUV_U8_U8(mlib_u8 *y,
16 mlib_u8 *u, mlib_u8 *v, const mlib_u8 *r, const mlib_u8 *g,
17 const mlib_u8 *b, mlib_s32 n, mlib_s32 depth);
18
19
20 mlib_status mlib_VideoReversibleColorRGB2YUV_S16_U8(mlib_s16 *y,
21 mlib_s16 *u, mlib_s16 *v, const mlib_u8 *r, const mlib_u8 *g,
22 const mlib_u8 *b,
23 mlib_s32 n, mlib_s32 depth);
24
25
26 mlib_status mlib_VideoReversibleColorRGB2YUV_S16_S16(mlib_s16 *y,
27 mlib_s16 *u, mlib_s16 *v, const mlib_s16 *r, const mlib_s16 *g,
28 const mlib_s16 *b, mlib_s32 n, mlib_s32 depth);
29
30
31 mlib_status mlib_VideoReversibleColorRGB2YUV_S32_S16(mlib_s32 *y,
32 mlib_s32 *u, mlib_s32 *v, const mlib_s16 *r, const mlib_s16 *g,
33 const mlib_s16 *b, mlib_s32 n, mlib_s32 depth);
34
35
37 Each of the functions provides support to reversible wavelet transfor‐
38 mation. It is for reversible color space conversion.
39
41 Each of the functions takes the following arguments:
42
43 y Pointer to destination Y component.
44
45
46 u Pointer to destination U component.
47
48
49 v Pointer to destination V component.
50
51
52 r Pointer to source R component.
53
54
55 g Pointer to source G component.
56
57
58 b Pointer to source B component.
59
60
61 n Length of data.
62
63
64 depth Number of bit planes required to store the original R, G, and
65 B components.
66
67
69 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
70 returns MLIB_FAILURE.
71
73 See attributes(5) for descriptions of the following attributes:
74
75
76
77
78 ┌─────────────────────────────┬─────────────────────────────┐
79 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
80 ├─────────────────────────────┼─────────────────────────────┤
81 │Interface Stability │Committed │
82 ├─────────────────────────────┼─────────────────────────────┤
83 │MT-Level │MT-Safe │
84 └─────────────────────────────┴─────────────────────────────┘
85
87 mlib_VideoReversibleColorYUV2RGB_U8_U8(3MLIB), attributes(5)
88
89
90
91SunOS 5.11 m2liMba_rVi2d0e0o7ReversibleColorRGB2YUV_U8_U8(3MLIB)