1mlib_VideoCopyRef_U8_U8(3MLmIeBd)iaLib Library Functimolnisb_VideoCopyRef_U8_U8(3MLIB)
2
3
4
6 mlib_VideoCopyRef_U8_U8 - copies a block from the reference block to
7 the current block
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoCopyRef_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_VideoCopyRef_U8_U8() function copies a block from the refer‐
20 ence block to the current block. The stride applies to both the input
21 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(3MLIB), mlib_Video‐
66 CopyRefAve_U8_U8_16x16(3MLIB), mlib_VideoH263Over‐
67 lappedMC_S16_U8(3MLIB), mlib_VideoH263OverlappedMC_U8_U8(3MLIB),
68 mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoInter‐
69 pAveX_U8_U8_16x16(3MLIB), mlib_VideoInterpAveXY_U8_U8(3MLIB),
70 mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB), mlib_VideoInter‐
71 pAveY_U8_U8(3MLIB), mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
72 mlib_VideoInterpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
73 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
74 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
75 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
76 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
77 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
78 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
79 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
80
81
82
83SunOS 5.11 2 Mar 2007 mlib_VideoCopyRef_U8_U8(3MLIB)