1mlib_VideoInterpXY_U8_U8(3MmLeIdBi)aLib Library Functmiloinbs_VideoInterpXY_U8_U8(3MLIB)
2
3
4
6 mlib_VideoInterpXY_U8_U8 - half-pixel interpolation in the X and Y
7 directions
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoInterpXY_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_VideoInterpXY_U8_U8() function performs half-pixel interpola‐
20 tion in the X and Y directions for a reference block of data type
21 mlib_u8 and a current block of data type mlib_u8. In this mode, the
22 motion-compensated reference block becomes the current block. Thus, the
23 stride applies to both the input reference block and the current block.
24
26 The function takes the following arguments:
27
28 curr_block Pointer to the current block. curr_block must be 8-byte
29 aligned.
30
31
32 ref_block Pointer to the reference block.
33
34
35 width Width of the blocks.
36
37
38 height Height of the blocks.
39
40
41 frm_stride Stride, in bytes, between adjacent rows in a frame in
42 both the current block and reference block. frm_stride
43 must be a multiple of eight.
44
45
46 fld_stride Stride, in bytes, between adjacent rows in a field in
47 both the current block and reference block. fld_stride
48 must be a multiple of eight.
49
50
52 The function returns MLIB_SUCCESS if successful. Otherwise it returns
53 MLIB_FAILURE.
54
56 See attributes(5) for descriptions of the following attributes:
57
58
59
60
61 ┌─────────────────────────────┬─────────────────────────────┐
62 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │Interface Stability │Committed │
65 ├─────────────────────────────┼─────────────────────────────┤
66 │MT-Level │MT-Safe │
67 └─────────────────────────────┴─────────────────────────────┘
68
70 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
71 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopyRef_U8_U8(3MLIB),
72 mlib_VideoCopyRef_U8_U8_16x16(3MLIB), mlib_VideoCopyRe‐
73 fAve_U8_U8(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
74 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
75 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
76 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
77 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
78 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
79 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
80 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
81 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
82 pXY_U8_U8_16x16(3MLIB), mlib_VideoInterpY_S16_U8(3MLIB), mlib_VideoInt‐
83 erpY_S16_U8_16x16(3MLIB), mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoIn‐
84 terpY_U8_U8_16x16(3MLIB), mlib_VideoP64Decimate_U8_U8(3MLIB),
85 mlib_VideoP64Loop_S16_U8(3MLIB), mlib_VideoP64Loop_U8_U8(3MLIB),
86 attributes(5)
87
88
89
90SunOS 5.11 2 Mar 2007 mlib_VideoInterpXY_U8_U8(3MLIB)