1mlib_VideoDCT8x8_S16_S16_B1m0e(d3iMaLLIiBb)Library Fmulnicbt_iVoindseoDCT8x8_S16_S16_B10(3MLIB)
2
3
4
6 mlib_VideoDCT8x8_S16_S16_B10, mlib_VideoDCT8x8_S16_S16 - forward Dis‐
7 crete Cosine Transform (DCT)
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoDCT8x8_S16_S16_B10(
14 mlib_s16 coeffs[64], const mlib_s16 block[64]);
15
16
17 mlib_status mlib_VideoDCT8x8_S16_S16(
18 mlib_s16 coeffs[64], const mlib_s16 block[64]);
19
20
22 The mlib_VideoDCT8x8_S16_S16_B10() function computes the forward DCT
23 for the destination DCT coefficients of data type mlib_s16 and a source
24 block of data type mlib_s16. The input to the DCT routine is the dif‐
25 ference between the current block and the reference block. The differ‐
26 ence pixel can occupy nine bits and is represented as a 16-bit datum.
27
28
29 The source and destination buffer addresses must be 8-byte aligned.
30
31
32 Since mediaLib 2.5, mlib_VideoDCT8x8_S16_S16() has been renamed to
33 mlib_VideoDCT8x8_S16_S16_B10(). Now mlib_VideoDCT8x8_S16_S16() is an
34 alias of mlib_VideoDCT8x8_S16_S16_B10().
35
37 The function takes the following arguments:
38
39 coeffs Pointer to the destination DCT coefficients. coeffs must be
40 8-byte aligned.
41
42
43 block Pointer to an 8x8 motion-compensated block that is the dif‐
44 ference between the reference block and the current block.
45 block must be 8-byte aligned.
46
47
49 The function returns MLIB_SUCCESS if successful. Otherwise it returns
50 MLIB_FAILURE.
51
53 See attributes(5) for descriptions of the following attributes:
54
55
56
57
58 ┌─────────────────────────────┬─────────────────────────────┐
59 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │Interface Stability │Committed │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │MT-Level │MT-Safe │
64 └─────────────────────────────┴─────────────────────────────┘
65
67 mlib_VideoDCT2x2_S16_S16(3MLIB), mlib_VideoDCT4x4_S16_S16(3MLIB),
68 mlib_VideoDCT8x8_S16_S16_B10_NA(3MLIB),
69 mlib_VideoDCT8x8_S16_S16_B12(3MLIB), mlib_VideoDCT8x8_S16_U8(3MLIB),
70 mlib_VideoDCT8x8_S16_U8_NA(3MLIB), mlib_VideoDCT16x16_S16_S16(3MLIB),
71 mlib_VideoDCT16x16_S16_S16_B10(3MLIB), attributes(5)
72
73
74
75SunOS 5.11 2 Mar 2007mlib_VideoDCT8x8_S16_S16_B10(3MLIB)