1mlib_VideoP64Loop_S16_U8(3MmLeIdBi)aLib Library Functmiloinbs_VideoP64Loop_S16_U8(3MLIB)
2
3
4
6 mlib_VideoP64Loop_S16_U8 - applies a 2-dimensional (2D) 3x3 spatial
7 filter on the reference block
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoP64Loop_S16_U8(mlib_s16 mc_block[64],
14 const mlib_u8 *ref_block, mlib_s32 stride);
15
16
18 The mlib_VideoP64Loop_S16_U8() function applies a 2-dimensional (2D)
19 3x3 spatial filter on the reference block. The filter is separable into
20 1D horizontal and vertical functions, where the filter coefficients are
21 0.25, 0.5, 0.25, except at the block edges where the coefficients are
22 0, 1, 0. In this mode, the output must be added to the IDCT output to
23 reconstruct the block in the current frame. Thus, the stride applies
24 only to the input reference block. This function requires the motion-
25 compensated block to be 8-bit aligned.
26
28 The function takes the following arguments:
29
30 mc_block Pointer to the motion-compensated reference block.
31
32
33 ref_block Pointer to the reference block.
34
35
36 stride Stride, in bytes, between adjacent rows in the reference
37 block.
38
39
41 The function returns MLIB_SUCCESS if successful. Otherwise it returns
42 MLIB_FAILURE.
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Interface Stability │Committed │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │MT-Level │MT-Safe │
56 └─────────────────────────────┴─────────────────────────────┘
57
59 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
60 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopy‐
61 Ref_U8_U8_16x16(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
62 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
63 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
64 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
65 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
66 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
67 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
68 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
69 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
70 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
71 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
72 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
73 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_U8_U8(3MLIB),
74 attributes(5)
75
76
77
78SunOS 5.11 2 Mar 2007 mlib_VideoP64Loop_S16_U8(3MLIB)