1mlib_VideoColorJFIFYCC2RGB4m2e2d(i3aMLLiIbB)LibrarymFluinbc_tViiodnesoColorJFIFYCC2RGB422(3MLIB)
2
3
4

NAME

6       mlib_VideoColorJFIFYCC2RGB422 - JFIF YCbCr to RGB color conversion
7

SYNOPSIS

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

DESCRIPTION

18       The  mlib_VideoColorJFIFYCC2RGB422() function performs color space con‐
19       version from YCbCr to RGB 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       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

RETURN VALUES

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

ATTRIBUTES

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

SEE ALSO

63       mlib_VideoColorJFIFYCC2RGB420(3MLIB),               mlib_VideoColorJFI‐
64       FYCC2RGB420_Nearest(3MLIB),         mlib_VideoColorJFIFYCC2RGB422_Near‐
65       est(3MLIB), attributes(5)
66
67
68
69SunOS 5.11                        23 May 20m0l7ib_VideoColorJFIFYCC2RGB422(3MLIB)
Impressum