1mlib_VideoP64Loop_U8_U8(3MLmIeBd)iaLib Library Functimolnisb_VideoP64Loop_U8_U8(3MLIB)
2
3
4
6 mlib_VideoP64Loop_U8_U8 - applies a 2-dimensional (2D) 3x3 spatial fil‐
7 ter on the reference block
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoP64Loop_U8_U8(mlib_u8 *curr_block,
14 const mlib_u8 *ref_block, mlib_s32 stride);
15
16
18 The mlib_VideoP64Loop_U8_U8() function applies a 2-dimensional (2D) 3x3
19 spatial filter on the reference block. The filter is separable into 1D
20 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 motion-compensated reference block becomes
23 the current block. Thus, the stride applies to both the input reference
24 block and the current block.
25
27 The function takes the following arguments:
28
29 curr_block Pointer to the current block.
30
31
32 ref_block Pointer to the reference block.
33
34
35 stride Stride, in bytes, between adjacent rows in both the cur‐
36 rent block and the reference block.
37
38
40 The function returns MLIB_SUCCESS if successful. Otherwise it returns
41 MLIB_FAILURE.
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Interface Stability │Committed │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │MT-Level │MT-Safe │
55 └─────────────────────────────┴─────────────────────────────┘
56
58 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
59 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopy‐
60 Ref_U8_U8_16x16(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
61 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
62 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
63 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
64 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
65 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
66 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
67 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
68 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
69 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
70 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
71 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
72 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
73 attributes(5)
74
75
76
77SunOS 5.11 2 Mar 2007 mlib_VideoP64Loop_U8_U8(3MLIB)