1mlib_VideoColorJFIFYCC2RGB4m2e2d_iNaeLairbemsLltii(bb3r_MaVLriIydBe)FouCnocltoiroJnFsIFYCC2RGB422_Nearest(3MLIB)
2
3
4
6 mlib_VideoColorJFIFYCC2RGB422_Nearest - JFIF YCbCr to RGB color conver‐
7 sion
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoColorJFIFYCC2RGB422_Nearest(mlib_u8 *rgb,
14 const mlib_u8 *y, const mlib_u8 *cb, const mlib_u8 *cr, mlib_s32 n);
15
16
18 The mlib_VideoColorJFIFYCC2RGB422_Nearest() function performs color
19 space conversion from YCbCr to RGB together with sampling rate conver‐
20 sion when used in the JPEG File Interchange Format (JFIF).
21
23 The function takes the following arguments:
24
25 rgb Pointer to destination RGB multi-component row. rgb must be
26 8-byte aligned.
27
28
29 y Pointer to destination Y component row. y must be 8-byte
30 aligned.
31
32
33 cb Pointer to source Cb component row. cb must be 8-byte aligned.
34
35
36 cr Pointer to source Cr component row. cr must be 8-byte aligned.
37
38
39 n Length of Y component row. n must be even. The length of Cb and
40 Cr component rows must be n/2. The length of the RGB multi-com‐
41 ponent row must be 3*n.
42
43
45 The function returns MLIB_SUCCESS if successful. Otherwise it returns
46 MLIB_FAILURE.
47
49 See attributes(5) for descriptions of the following attributes:
50
51
52
53
54 ┌─────────────────────────────┬─────────────────────────────┐
55 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │Interface Stability │Committed │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │MT-Level │MT-Safe │
60 └─────────────────────────────┴─────────────────────────────┘
61
63 mlib_VideoColorJFIFYCC2RGB420(3MLIB), mlib_VideoColorJFI‐
64 FYCC2RGB420_Nearest(3MLIB), mlib_VideoColorJFIFYCC2RGB422(3MLIB),
65 attributes(5)
66
67
68
69SunOS 5.11 2m3liMba_yVi2d0e0o7ColorJFIFYCC2RGB422_Nearest(3MLIB)