1mlib_VideoAddBlock_U8_S16(3mMeLdIiBa)Lib Library Funcmtliiobn_sVideoAddBlock_U8_S16(3MLIB)
2
3
4
6 mlib_VideoAddBlock_U8_S16 - adds motion-compensated 8x8 block to the
7 current block
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoAddBlock_U8_S16(mlib_u8 *curr_block,
14 const mlib_s16 *mc_block, mlib_s32 stride);
15
16
18 The mlib_VideoAddBlock_U8_S16() function performs additions of predic‐
19 tion and coefficient data. In other words, the function adds a motion-
20 compensated 8x8 block to the current block. The stride applies to the
21 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 mc_block Pointer to an 8x8 motion-compensated block (prediction
31 data). mc_block must be 8-byte aligned.
32
33
34 stride Stride, in bytes, between adjacent rows in the current
35 block. stride must be a multiple of eight.
36
37
39 The function returns MLIB_SUCCESS if successful. Otherwise it returns
40 MLIB_FAILURE.
41
43 See attributes(5) for descriptions of the following attributes:
44
45
46
47
48 ┌─────────────────────────────┬─────────────────────────────┐
49 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │Interface Stability │Committed │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │MT-Level │MT-Safe │
54 └─────────────────────────────┴─────────────────────────────┘
55
57 mlib_VideoCopyRef_S16_U8(3MLIB), mlib_VideoCopyRef_S16_U8_16x16(3MLIB),
58 mlib_VideoCopyRef_U8_U8_16x16(3MLIB), mlib_VideoCopyRe‐
59 fAve_U8_U8_16x16(3MLIB), mlib_VideoH263OverlappedMC_S16_U8(3MLIB),
60 mlib_VideoH263OverlappedMC_U8_U8(3MLIB), mlib_VideoInter‐
61 pAveX_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8_16x16(3MLIB),
62 mlib_VideoInterpAveXY_U8_U8(3MLIB), mlib_VideoInter‐
63 pAveXY_U8_U8_16x16(3MLIB), mlib_VideoInterpAveY_U8_U8(3MLIB),
64 mlib_VideoInterpAveY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
65 erpX_S16_U8(3MLIB), mlib_VideoInterpX_S16_U8_16x16(3MLIB),
66 mlib_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_S16_U8(3MLIB),
67 mlib_VideoInterpXY_S16_U8_16x16(3MLIB), mlib_VideoInter‐
68 pXY_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8_16x16(3MLIB), mlib_VideoInt‐
69 erpY_S16_U8(3MLIB), mlib_VideoInterpY_S16_U8_16x16(3MLIB),
70 mlib_VideoInterpY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8_16x16(3MLIB),
71 mlib_VideoP64Decimate_U8_U8(3MLIB), mlib_VideoP64Loop_S16_U8(3MLIB),
72 mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
73
74
75
76SunOS 5.11 2 Mar 2007 mlib_VideoAddBlock_U8_S16(3MLIB)