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