1mlib_VideoInterpX_U8_U8_16xm1e6d(i3aMLLiIbB)LibrarymFluinbc_tViiodnesoInterpX_U8_U8_16x16(3MLIB)
2
3
4
6 mlib_VideoInterpX_U8_U8_16x16, mlib_VideoInterpX_U8_U8_16x8,
7 mlib_VideoInterpX_U8_U8_8x16, mlib_VideoInterpX_U8_U8_8x8,
8 mlib_VideoInterpX_U8_U8_8x4 - half-pixel interpolation in the X direc‐
9 tion
10
12 cc [ flag... ] file... -lmlib [ library... ]
13 #include <mlib.h>
14
15 mlib_status mlib_VideoInterpX_U8_U8_16x16(mlib_u8 *curr_block,
16 const mlib_u8 *ref_block, mlib_s32 frm_stride,
17 mlib_s32 fld_stride);
18
19
20 mlib_status mlib_VideoInterpX_U8_U8_16x8(mlib_u8 *curr_block,
21 const mlib_u8 *ref_block, mlib_s32 frm_stride,
22 mlib_s32 fld_stride);
23
24
25 mlib_status mlib_VideoInterpX_U8_U8_8x16(mlib_u8 *curr_block,
26 const mlib_u8 *ref_block, mlib_s32 frm_stride,
27 mlib_s32 fld_stride);
28
29
30 mlib_status mlib_VideoInterpX_U8_U8_8x8(mlib_u8 *curr_block,
31 const mlib_u8 *ref_block, mlib_s32 frm_stride,
32 mlib_s32 fld_stride);
33
34
35 mlib_status mlib_VideoInterpX_U8_U8_8x4(mlib_u8 *curr_block,
36 const mlib_u8 *ref_block, mlib_s32 frm_stride,
37 mlib_s32 fld_stride);
38
39
41 Each of these functions performs half-pixel interpolation in the X
42 direction for a reference block of data type mlib_u8 and a current
43 block of data type mlib_u8. In this mode, the motion-compensated refer‐
44 ence block becomes the current block. Thus, the stride applies to both
45 the input reference block and the current block.
46
48 Each of the functions takes the following arguments:
49
50 curr_block Pointer to the current block. curr_block must be 8-byte
51 aligned.
52
53
54 ref_block Pointer to the reference block.
55
56
57 frm_stride Stride, in bytes, between adjacent rows in a frame in
58 both the current block and reference block. frm_stride
59 must be a multiple of eight.
60
61
62 fld_stride Stride, in bytes, between adjacent rows in a field in
63 both the current block and reference block. fld_stride
64 must be a multiple of eight.
65
66
68 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
69 returns MLIB_FAILURE.
70
72 See attributes(5) for descriptions of the following attributes:
73
74
75
76
77 ┌─────────────────────────────┬─────────────────────────────┐
78 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
79 ├─────────────────────────────┼─────────────────────────────┤
80 │Interface Stability │Committed │
81 ├─────────────────────────────┼─────────────────────────────┤
82 │MT-Level │MT-Safe │
83 └─────────────────────────────┴─────────────────────────────┘
84
86 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
87 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopyRef_U8_U8(3MLIB),
88 mlib_VideoCopyRef_U8_U8_16x16(3MLIB), mlib_VideoCopyRe‐
89 fAve_U8_U8(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
90 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
91 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
92 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
93 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
94 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
95 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_U8_U8(3MLIB),
96 mlib_VideoInterpXY_S16_U8(3MLIB), mlib_VideoInter‐
97 pXY_S16_U8_16x16(3MLIB), mlib_VideoInterpXY_U8_U8(3MLIB), mlib_VideoIn‐
98 terpXY_U8_U8_16x16(3MLIB), mlib_VideoInterpY_S16_U8(3MLIB),
99 mlib_VideoInterpY_S16_U8_16x16(3MLIB), mlib_VideoInterpY_U8_U8(3MLIB),
100 mlib_VideoInterpY_U8_U8_16x16(3MLIB), mlib_VideoP64Deci‐
101 mate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
102 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
103
104
105
106SunOS 5.11 2 Mar 200m7lib_VideoInterpX_U8_U8_16x16(3MLIB)