1mlib_VideoColorARGB2JFIFYCCm4e2d2i(a3LMiLbIBL)ibrarymlFiubn_cVtiidoenosColorARGB2JFIFYCC422(3MLIB)
2
3
4

NAME

6       mlib_VideoColorARGB2JFIFYCC422 - ARGB to JFIF YCbCr color conversion
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_VideoColorARGB2JFIFYCC422(mlib_u8 *y, mlib_u8 *cb,
13            mlib_u8 *cr, const mlib_u8 *argb, mlib_s32 n);
14
15

DESCRIPTION

17       The mlib_VideoColorARGB2JFIFYCC422() function performs color space con‐
18       version from ARGB to YCbCr together with sampling rate conversion  when
19       used in the JPEG File Interchange Format (JFIF).
20

PARAMETERS

22       The function takes the following arguments:
23
24       y       Pointer  to  destination  Y  component  row.  y  must be 8-byte
25               aligned.
26
27
28       cb      Pointer to destination Cb component  row.  cb  must  be  8-byte
29               aligned.
30
31
32       cr      Pointer  to  destination  Cr  component  row. cr must be 8-byte
33               aligned.
34
35
36       argb    Pointer to source ARGB multi-component row. argb must be 8-byte
37               aligned.
38
39
40       n       Length of Y component row. n must be even. The length of Cb and
41               Cr component rows must be n/2. The length of  the  ARGB  multi-
42               component row must be 4*n.
43
44

RETURN VALUES

46       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
47       MLIB_FAILURE.
48

ATTRIBUTES

50       See attributes(5) for descriptions of the following attributes:
51
52
53
54
55       ┌─────────────────────────────┬─────────────────────────────┐
56       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │Interface Stability          │Committed                    │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │MT-Level                     │MT-Safe                      │
61       └─────────────────────────────┴─────────────────────────────┘
62

SEE ALSO

64       mlib_VideoColorABGR2JFIFYCC420(3MLIB),         mlib_VideoColorABGR2JFI‐
65       FYCC422(3MLIB), mlib_VideoColorARGB2JFIFYCC420(3MLIB), mlib_VideoColor‐
66       RGB2JFIFYCC420(3MLIB),            mlib_VideoColorRGB2JFIFYCC422(3MLIB),
67       attributes(5)
68
69
70
71SunOS 5.11                        23 May 2m0l0i7b_VideoColorARGB2JFIFYCC422(3MLIB)
Impressum