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