1mlib_VideoColorARGB2JFIFYCCm4e2d0i(a3LMiLbIBL)ibrarymlFiubn_cVtiidoenosColorARGB2JFIFYCC420(3MLIB)
2
3
4

NAME

6       mlib_VideoColorARGB2JFIFYCC420 - ARGB to JFIF YCbCr color conversion
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_VideoColorARGB2JFIFYCC420(mlib_u8 *y0,
13            mlib_u8 *y1, mlib_u8 *cb, mlib_u8 *cr, const mlib_u8 *argb0,
14            const mlib_u8 *argb1, mlib_s32 n);
15
16

DESCRIPTION

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

PARAMETERS

23       The function takes the following arguments:
24
25       y0       Pointer  to  upper  destination  Y  component  row. y0 must be
26                8-byte aligned.
27
28
29       y1       Pointer to lower destination  Y  component  row.  y1  must  be
30                8-byte aligned.
31
32
33       cb       Pointer  to  destination  Cb  component row. cb must be 8-byte
34                aligned.
35
36
37       cr       Pointer to destination Cr component row.  cr  must  be  8-byte
38                aligned.
39
40
41       argb0    Pointer  to  upper source ARGB multi-component row. argb0 must
42                be 8-byte aligned.
43
44
45       argb1    Pointer to lower source ARGB multi-component row.  argb1  must
46                be 8-byte aligned.
47
48
49       n        Length  of  Y  component row. n must be even. The length of Cb
50                and Cr component rows must be n/2.  The  length  of  the  ARGB
51                multi-component row must be 4*n.
52
53

RETURN VALUES

55       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
56       MLIB_FAILURE.
57

ATTRIBUTES

59       See attributes(5) for descriptions of the following attributes:
60
61
62
63
64       ┌─────────────────────────────┬─────────────────────────────┐
65       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │Interface Stability          │Committed                    │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │MT-Level                     │MT-Safe                      │
70       └─────────────────────────────┴─────────────────────────────┘
71

SEE ALSO

73       mlib_VideoColorABGR2JFIFYCC420(3MLIB),         mlib_VideoColorABGR2JFI‐
74       FYCC422(3MLIB), mlib_VideoColorARGB2JFIFYCC422(3MLIB), mlib_VideoColor‐
75       RGB2JFIFYCC420(3MLIB),            mlib_VideoColorRGB2JFIFYCC422(3MLIB),
76       attributes(5)
77
78
79
80SunOS 5.11                        23 May 2m0l0i7b_VideoColorARGB2JFIFYCC420(3MLIB)
Impressum