1mlib_VideoInterpXY_S16_U8(3mMeLdIiBa)Lib Library Funcmtliiobn_sVideoInterpXY_S16_U8(3MLIB)
2
3
4
6 mlib_VideoInterpXY_S16_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_S16_U8(mlib_s16 *mc_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_S16_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_s16. In this mode, the
22 output of this function must be added to the IDCT output to reconstruct
23 the block in the current frame. Thus, the stride applies only to the
24 input reference block.
25
27 The function takes the following arguments:
28
29 mc_block Pointer to the motion-compensated reference block.
30 mc_block must be 8-byte aligned.
31
32
33 ref_block Pointer to the reference block.
34
35
36 width Width of the blocks.
37
38
39 height Height of the blocks.
40
41
42 frm_stride Stride, in bytes, between adjacent rows in a frame in the
43 reference block. frm_stride must be a multiple of eight.
44
45
46 fld_stride Stride, in bytes, between adjacent rows in a field in the
47 reference block. fld_stride 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(3MLIB), mlib_VideoIn‐
75 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
76 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
77 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
78 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
79 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8_16x16(3MLIB),
80 mlib_VideoInterpXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB),
81 mlib_VideoInterpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
82 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
83 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
84 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
85
86
87
88SunOS 5.11 2 Mar 2007 mlib_VideoInterpXY_S16_U8(3MLIB)