1mlib_VideoP64Decimate_U8_U8m(e3dMiLaILBi)b Library Fumnlcitbi_oVnisdeoP64Decimate_U8_U8(3MLIB)
2
3
4
6 mlib_VideoP64Decimate_U8_U8 - averages the source raster image over 2x2
7 blocks and writes the results to the destination raster image
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoP64Decimate_U8_U8(mlib_u8 *dst,
14 const mlib_u8 *src, mlib_s32 width, mlib_s32 height,
15 mlib_s32 dst_stride, mlib_s32 src_stride);
16
17
19 The mlib_VideoP64Decimate_U8_U8() function averages the source raster
20 image over 2x2 blocks and writes the results to the destination raster
21 image. This function is used when the remote side is only capable of
22 QCIF and our scanned image is source to the encoder in CIF format.
23
25 The function takes the following arguments:
26
27 dst Pointer to the destination raster image.
28
29
30 src Pointer to the source raster image.
31
32
33 width Width of the image.
34
35
36 height Height of the image.
37
38
39 dst_stride Stride, in bytes, between adjacent rows in the destina‐
40 tion image.
41
42
43 src_stride Stride, in bytes, between adjacent rows in the source
44 image.
45
46
48 The function returns MLIB_SUCCESS if successful. Otherwise it returns
49 MLIB_FAILURE.
50
52 See attributes(5) for descriptions of the following attributes:
53
54
55
56
57 ┌─────────────────────────────┬─────────────────────────────┐
58 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │Interface Stability │Committed │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │MT-Level │MT-Safe │
63 └─────────────────────────────┴─────────────────────────────┘
64
66 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
67 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopy‐
68 Ref_U8_U8_16x16(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
69 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
70 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
71 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
72 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
73 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
74 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
75 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
76 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
77 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
78 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
79 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
80 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
81 mlib_VideoP64Loop_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
82 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
83
84
85
86SunOS 5.11 2 Mar 2007mlib_VideoP64Decimate_U8_U8(3MLIB)