1mlib_VideoCopyRef_S16_U8(3MmLeIdBi)aLib Library Functmiloinbs_VideoCopyRef_S16_U8(3MLIB)
2
3
4
6 mlib_VideoCopyRef_S16_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_S16_U8(mlib_s16 *mc_block,
14 const mlib_u8 *ref_block, mlib_s32 width, mlib_s32 height,
15 mlib_s32 stride);
16
17
19 The mlib_VideoCopyRef_S16_U8() function copies a block from the refer‐
20 ence block to the motion-compensated reference block. The stride
21 applies to only the input reference block.
22
24 The function takes the following arguments:
25
26 mc_block Pointer to the motion-compensated reference block.
27 mc_block must be 8-byte 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 the reference
40 block. stride must be a multiple of eight.
41
42
44 The function returns MLIB_SUCCESS if successful. Otherwise it returns
45 MLIB_FAILURE.
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Committed │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │MT-Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 mlib_VideoAddBlock_U8_S16(3MLIB), mlib_VideoCopy‐
63 Ref_S16_U8_16x16(3MLIB), mlib_VideoCopyRef_U8_U8(3MLIB), mlib_Video‐
64 CopyRef_U8_U8_16x16(3MLIB), mlib_VideoCopyRefAve_U8_U8(3MLIB),
65 mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB), mlib_VideoH263Over‐
66 lappedMC_S16_U8(3MLIB), mlib_VideoH263OverlappedMC_U8_U8(3MLIB),
67 mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoInter‐
68 pAveX_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_VideoCopyRef_S16_U8(3MLIB)