1mlib_VideoDCT8x8_S16_U8_NA(m3eMdLiIaBL)ib Library Funmcltiibo_nVsideoDCT8x8_S16_U8_NA(3MLIB)
2
3
4
6 mlib_VideoDCT8x8_S16_U8_NA - forward Discrete Cosine Transform (DCT)
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoDCT8x8_S16_U8_NA(mlib_s16 coeffs[64],
13 const mlib_u8 *block, mlib_s32 stride);
14
15
17 The mlib_VideoDCT8x8_S16_U8_NA() function computes the forward DCT for
18 the destination DCT coefficients of data type mlib_s16 and source block
19 of data type mlib_u8. The stride applies to the block that is part of
20 the frame currently being encoded.
21
22
23 This function requires no special address alignment.
24
25
26 This function can be used in JPEG with 8-bit precision, or in MPEG for
27 the intra mode.
28
30 The function takes the following arguments:
31
32 coeffs Pointer to the destination DCT coefficients.
33
34
35 block Pointer to an 8x8 block in the current frame.
36
37
38 stride Stride in bytes between adjacent rows in the block.
39
40
42 The function returns MLIB_SUCCESS if successful. Otherwise it returns
43 MLIB_FAILURE.
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Interface Stability │Committed │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │MT-Level │MT-Safe │
57 └─────────────────────────────┴─────────────────────────────┘
58
60 mlib_VideoDCT2x2_S16_S16(3MLIB), mlib_VideoDCT4x4_S16_S16(3MLIB),
61 mlib_VideoDCT8x8_S16_S16_B10(3MLIB),
62 mlib_VideoDCT8x8_S16_S16_B10_NA(3MLIB),
63 mlib_VideoDCT8x8_S16_S16_B12(3MLIB), mlib_VideoDCT8x8_S16_U8(3MLIB),
64 mlib_VideoDCT16x16_S16_S16(3MLIB),
65 mlib_VideoDCT16x16_S16_S16_B10(3MLIB), mlib_VideoDeQuantize_S16(3MLIB),
66 mlib_VideoDeQuantizeInit_S16(3MLIB), mlib_VideoQuantize_S16(3MLIB),
67 mlib_VideoQuantizeInit_S16(3MLIB), attributes(5)
68
69
70
71SunOS 5.11 2 Mar 2007 mlib_VideoDCT8x8_S16_U8_NA(3MLIB)