1mlib_VideoCopyRefAve_U8_U8(m3eMdLiIaBL)ib Library Funmcltiibo_nVsideoCopyRefAve_U8_U8(3MLIB)
2
3
4
6 mlib_VideoCopyRefAve_U8_U8 - copies and averages a block from the ref‐
7 erence block to the current block
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoCopyRefAve_U8_U8(mlib_u8 *curr_block,
14 const mlib_u8 *ref_block, mlib_s32 width, mlib_s32 height,
15 mlib_s32 stride);
16
17
19 The mlib_VideoCopyRefAve_U8_U8() function copies and averages a block
20 from the reference block to the current block. The stride applies to
21 both the input reference block and the current block.
22
24 The function takes the following arguments:
25
26 curr_block Pointer to the current block. curr_block must be 8-byte
27 aligned.
28
29
30 ref_block Pointer to the reference block.
31
32
33 width Width of the blocks
34
35
36 height Height of the blocks.
37
38
39 stride Stride, in bytes, between adjacent rows in both the cur‐
40 rent block and the reference block. stride must be a mul‐
41 tiple of eight.
42
43
45 The function returns MLIB_SUCCESS if successful. Otherwise it returns
46 MLIB_FAILURE.
47
49 See attributes(5) for descriptions of the following attributes:
50
51
52
53
54 ┌─────────────────────────────┬─────────────────────────────┐
55 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │Interface Stability │Committed │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │MT-Level │MT-Safe │
60 └─────────────────────────────┴─────────────────────────────┘
61
63 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopyRef_S16_U8(3MLIB),
64 mlib_VideoCopyRef_S16_U8_16x16(3MLIB), mlib_VideoCopy‐
65 Ref_U8_U8_16x16(3MLIB), mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
66 mlib_VideoH263OverlappedMC_S16_U8(3MLIB), mlib_VideoH263Over‐
67 lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
68 terpAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
69 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
70 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
71 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
72 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
73 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
74 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
75 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
76 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
77 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
78 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
79
80
81
82SunOS 5.11 2 Mar 2007 mlib_VideoCopyRefAve_U8_U8(3MLIB)