1mlib_VideoInterpY_S16_U8(3MmLeIdBi)aLib Library Functmiloinbs_VideoInterpY_S16_U8(3MLIB)
2
3
4
6 mlib_VideoInterpY_S16_U8 - half-pixel interpolation in the Y direction
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoInterpY_S16_U8(mlib_s16 *mc_block,
13 const mlib_u8 *ref_block, mlib_s32 width, mlib_s32 height,
14 mlib_s32 frm_stride, mlib_s32 fld_stride);
15
16
18 The mlib_VideoInterpY_S16_U8() function performs half-pixel interpola‐
19 tion in the Y direction for a reference block of data type mlib_u8 and
20 a current block of data type mlib_s16. In this mode, the output of this
21 function must be added to the IDCT output to reconstruct the block in
22 the current frame. Thus, the stride applies only to the input reference
23 block.
24
26 The function takes the following arguments:
27
28 mc_block Pointer to the motion-compensated reference block.
29 mc_block must be 8-byte 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 the
42 reference block. frm_stride must be a multiple of eight.
43
44
45 fld_stride Stride, in bytes, between adjacent rows in a field in the
46 reference block. fld_stride must be a multiple of eight.
47
48
50 The function returns MLIB_SUCCESS if successful. Otherwise it returns
51 MLIB_FAILURE.
52
54 See attributes(5) for descriptions of the following attributes:
55
56
57
58
59 ┌─────────────────────────────┬─────────────────────────────┐
60 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │Interface Stability │Committed │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │MT-Level │MT-Safe │
65 └─────────────────────────────┴─────────────────────────────┘
66
68 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
69 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopyRef_U8_U8(3MLIB),
70 mlib_VideoCopyRef_U8_U8_16x16(3MLIB), mlib_VideoCopyRe‐
71 fAve_U8_U8(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
72 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
73 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
74 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
75 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
76 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
77 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
78 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
79 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
80 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
81 erpY_S16_U8_16x16(3MLIB), mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoIn‐
82 terpY_U8_U8_16x16(3MLIB), mlib_VideoP64Decimate_U8_U8(3MLIB),
83 mlib_VideoP64Loop_S16_U8(3MLIB), mlib_VideoP64Loop_U8_U8(3MLIB),
84 attributes(5)
85
86
87
88SunOS 5.11 2 Mar 2007 mlib_VideoInterpY_S16_U8(3MLIB)