1mlib_VideoDownSample420(3MLmIeBd)iaLib Library Functimolnisb_VideoDownSample420(3MLIB)
2
3
4
6 mlib_VideoDownSample420 - down sampling rate conversion in JFIF
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoDownSample420(mlib_u8 *dst, const mlib_u8 *src0,
13 const mlib_u8 *src1, mlib_s32 n);
14
15
17 The mlib_VideoDownSample420() function performs down sampling rate con‐
18 version used in JPEG File Interchange Format (JFIF).
19
21 The function takes the following arguments:
22
23 dst Pointer to destination row. dst must be 8-byte aligned.
24
25
26 src0 Pointer to upper source row. src0 must be 8-byte aligned.
27
28
29 src1 Pointer to middle source row. src1 must be 8-byte aligned.
30
31
32 n Length of source rows. n must be greater than 1.
33
34
36 The function returns MLIB_SUCCESS if successful. Otherwise it returns
37 MLIB_FAILURE.
38
40 See attributes(5) for descriptions of the following attributes:
41
42
43
44
45 ┌─────────────────────────────┬─────────────────────────────┐
46 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │Interface Stability │Committed │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │MT-Level │MT-Safe │
51 └─────────────────────────────┴─────────────────────────────┘
52
54 mlib_VideoDownSample420_S16(3MLIB), mlib_VideoDownSample422(3MLIB),
55 mlib_VideoDownSample422_S16(3MLIB), mlib_VideoUpSample420(3MLIB),
56 mlib_VideoUpSample420_Nearest(3MLIB), mlib_VideoUpSample420_Near‐
57 est_S16(3MLIB), mlib_VideoUpSample420_S16(3MLIB), mlib_VideoUpSam‐
58 ple422(3MLIB), mlib_VideoUpSample422_S16(3MLIB), mlib_VideoUpSam‐
59 ple422_Nearest(3MLIB), mlib_VideoUpSample422_Nearest_S16(3MLIB),
60 attributes(5)
61
62
63
64SunOS 5.11 2 Mar 2007 mlib_VideoDownSample420(3MLIB)