1mlib_VideoInterpAveX_U8_U8(m3eMdLiIaBL)ib Library Funmcltiibo_nVsideoInterpAveX_U8_U8(3MLIB)
2
3
4
6 mlib_VideoInterpAveX_U8_U8 - half-pixel interpolation in the X direc‐
7 tion and averaging for reference block
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoInterpAveX_U8_U8(mlib_u8 *curr_block,
14 const mlib_u8 *ref_block, mlib_s32 width, mlib_s32 height,
15 mlib_s32 frm_stride, mlib_s32 fld_stride);
16
17
19 The mlib_VideoInterpAveX_U8_U8() function performs half-pixel interpo‐
20 lation in the X direction and averaging for a reference block of data
21 type mlib_u8 and a current block of data type mlib_u8. The stride
22 applies to both the input reference block and the current block.
23
25 The function takes the following arguments:
26
27 curr_block Pointer to the current block. curr_block must be 8-byte
28 aligned.
29
30
31 ref_block Pointer to the reference block.
32
33
34 width Width of the blocks.
35
36
37 height Height of the blocks.
38
39
40 frm_stride Stride, in bytes, between adjacent rows in a frame in
41 both the current block and the reference block.
42 frm_stride must be a multiple of eight.
43
44
45 fld_stride Stride, in bytes, between adjacent rows in a field in
46 both the current block and reference block. fld_stride
47 must be a multiple of eight.
48
49
51 The function returns MLIB_SUCCESS if successful. Otherwise it returns
52 MLIB_FAILURE.
53
55 See attributes(5) for descriptions of the following attributes:
56
57
58
59
60 ┌─────────────────────────────┬─────────────────────────────┐
61 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │Interface Stability │Committed │
64 ├─────────────────────────────┼─────────────────────────────┤
65 │MT-Level │MT-Safe │
66 └─────────────────────────────┴─────────────────────────────┘
67
69 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
70 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopyRef_U8_U8(3MLIB),
71 mlib_VideoCopyRef_U8_U8_16x16(3MLIB), mlib_VideoCopyRe‐
72 fAve_U8_U8(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
73 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
74 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8_16x16(3MLIB),
75 mlib_VideoInterpAveXY_U8_U8(3MLIB), mlib_VideoInter‐
76 pAveXY_U8_U8_16x16(3MLIB), mlib_VideoInterpAveY_U8_U8(3MLIB),
77 mlib_VideoInterpAveY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
78 erpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
79 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
80 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
81 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
82 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
83 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
84 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
85 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
86
87
88
89SunOS 5.11 2 Mar 2007 mlib_VideoInterpAveX_U8_U8(3MLIB)