1mlib_VideoDCT8x8_S16_S16_B1m2e(d3iMaLLIiBb)Library Fmulnicbt_iVoindseoDCT8x8_S16_S16_B12(3MLIB)
2
3
4
6 mlib_VideoDCT8x8_S16_S16_B12 - forward Discrete Cosine Transform (DCT)
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoDCT8x8_S16_S16_B12(
13 mlib_s16 coeffs[64], const mlib_s16 block[64]);
14
15
17 This function computes the forward DCT for the destination DCT coeffi‐
18 cients of data type mlib_s16 and source block of data type mlib_s16.
19 The source to the DCT routine can occupy up to 12 bits for each of its
20 elements.
21
22
23 The source and destination buffer addresses must be 8-byte aligned.
24
25
26 This function can be used in JPEG with 12-bit precision.
27
29 The function takes the following arguments:
30
31 coeffs Pointer to the output DCT coefficients. Note that coeffs must
32 be 8-byte aligned.
33
34
35 block Pointer to an 8x8 block. Note that block must be 8-byte
36 aligned.
37
38
40 The function returns MLIB_SUCCESS if successful. Otherwise it returns
41 MLIB_FAILURE.
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Interface Stability │Committed │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │MT-Level │MT-Safe │
55 └─────────────────────────────┴─────────────────────────────┘
56
58 mlib_VideoDCT2x2_S16_S16(3MLIB), mlib_VideoDCT4x4_S16_S16(3MLIB),
59 mlib_VideoDCT8x8_S16_S16_B10(3MLIB),
60 mlib_VideoDCT8x8_S16_S16_B10_NA(3MLIB), mlib_VideoDCT8x8_S16_U8(3MLIB),
61 mlib_VideoDCT8x8_S16_U8_NA(3MLIB), mlib_VideoDCT16x16_S16_S16(3MLIB),
62 mlib_VideoDCT16x16_S16_S16_B10(3MLIB), attributes(5)
63
64
65
66SunOS 5.11 2 Mar 2007mlib_VideoDCT8x8_S16_S16_B12(3MLIB)