1mlib_VideoColorJFIFYCC2RGB4m2e0d(i3aMLLiIbB)LibrarymFluinbc_tViiodnesoColorJFIFYCC2RGB420(3MLIB)
2
3
4

NAME

6       mlib_VideoColorJFIFYCC2RGB420 - JFIF YCbCr to RGB color conversion
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_VideoColorJFIFYCC2RGB420(mlib_u8 *rgb0,
13            mlib_u8 *rgb1, const mlib_u8 *y0,
14            const mlib_u8 *y1, const mlib_u8 *cb0,
15            const mlib_u8 *cr0, const mlib_u8 *cb1,
16            const mlib_u8 *cr1, const mlib_u8 *cb2,
17            const mlib_u8 *cr2, mlib_s32 n);
18
19

DESCRIPTION

21       The  mlib_VideoColorJFIFYCC2RGB420() function performs color space con‐
22       version from YCbCr to RGB together with sampling rate  conversion  when
23       used in the JPEG File Interchange Format (JFIF).
24

PARAMETERS

26       The function takes the following arguments:
27
28       rgb0    Pointer to upper destination RGB multi-component row. rgb0 must
29               be 8-byte aligned.
30
31
32       rgb1    Pointer to lower destination RGB multi-component row. rgb1 must
33               be 8-byte aligned.
34
35
36       y0      Pointer to upper destination Y component row. y0 must be 8-byte
37               aligned.
38
39
40       y1      Pointer to lower destination Y component row. y1 must be 8-byte
41               aligned.
42
43
44       cb0     Pointer  to  source  upper Cb component row. cb0 must be 8-byte
45               aligned.
46
47
48       cr0     Pointer to source upper Cr component row. cr0  must  be  8-byte
49               aligned.
50
51
52       cb1     Pointer  to  source middle Cb component row. cb1 must be 8-byte
53               aligned.
54
55
56       cr1     Pointer to source middle Cr component row. cr1 must  be  8-byte
57               aligned.
58
59
60       cb2     Pointer  to  source  lower Cb component row. cb2 must be 8-byte
61               aligned.
62
63
64       cr2     Pointer to source lower Cr component row. cr2  must  be  8-byte
65               aligned.
66
67
68       n       Length of Y component row. n must be even. The length of Cb and
69               Cr component rows must be n/2. The length of the RGB multi-com‐
70               ponent row must be 3*n.
71
72

RETURN VALUES

74       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
75       MLIB_FAILURE.
76

ATTRIBUTES

78       See attributes(5) for descriptions of the following attributes:
79
80
81
82
83       ┌─────────────────────────────┬─────────────────────────────┐
84       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
85       ├─────────────────────────────┼─────────────────────────────┤
86       │Interface Stability          │Committed                    │
87       ├─────────────────────────────┼─────────────────────────────┤
88       │MT-Level                     │MT-Safe                      │
89       └─────────────────────────────┴─────────────────────────────┘
90

SEE ALSO

92       mlib_VideoColorJFIFYCC2RGB420_Nearest(3MLIB),       mlib_VideoColorJFI‐
93       FYCC2RGB422(3MLIB),       mlib_VideoColorJFIFYCC2RGB422_Nearest(3MLIB),
94       attributes(5)
95
96
97
98SunOS 5.11                        23 May 20m0l7ib_VideoColorJFIFYCC2RGB420(3MLIB)
Impressum