1mlib_VideoIDCT8x8_S16_S16_Bm1e2d(i3aMLLiIbB)LibrarymFluinbc_tViiodnesoIDCT8x8_S16_S16_B12(3MLIB)
2
3
4
6 mlib_VideoIDCT8x8_S16_S16_B12, mlib_VideoIDCT8x8_S16_S16 - inverse Dis‐
7 crete Cosine Transform
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_VideoIDCT8x8_S16_S16_B12(
14 mlib_s16 block[64], const mlib_s16 coeffs[64]);
15
16
17 mlib_status mlib_VideoIDCT8x8_S16_S16(
18 mlib_s16 block[64], const mlib_s16 coeffs[64]);
19
20
22 The mlib_VideoIDCT8x8_S16_S16_B12() function computes the inverse DCT
23 (called IDCT) for the output IDCT block of data type mlib_s16 and input
24 DCT coefficients of data type mlib_s16. This function is not guaranteed
25 to be IEEE-1180-compliant. The output of the IDCT routine should be
26 within the range of [-2048, 2047] if coeffs is obtained from the corre‐
27 sponding forward DCT function mlib_VideoDCT8x8_S16_S16_B12().
28
29
30 The source and destination buffer addresses must be 8-byte aligned.
31
32
33 This function can be used in JPEG with 12-bit precision.
34
35
36 For MPEG, the output, which is really the difference between the cur‐
37 rent block and the reference block, can occupy nine bits and is repre‐
38 sented as a 16-bit datum. The output must be added to the motion-com‐
39 pensated reference block in order to reconstruct the current block.
40
41
42 Since mediaLib 2.5, mlib_VideoIDCT8x8_S16_S16() has been renamed to
43 mlib_VideoIDCT8x8_S16_S16_B12(). Now mlib_VideoIDCT8x8_S16_S16() is an
44 alias of mlib_VideoIDCT8x8_S16_S16_B12().
45
47 The function takes the following arguments:
48
49 block Pointer to an 8x8 block in the current frame or motion-com‐
50 pensated reference block. block must be 8-byte aligned.
51
52
53 coeffs Pointer to the source DCT coefficients. coeffs must be 8-byte
54 aligned.
55
56
58 The function returns MLIB_SUCCESS if successful. Otherwise it returns
59 MLIB_FAILURE.
60
62 See attributes(5) for descriptions of the following attributes:
63
64
65
66
67 ┌─────────────────────────────┬─────────────────────────────┐
68 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
69 ├─────────────────────────────┼─────────────────────────────┤
70 │Interface Stability │Committed │
71 ├─────────────────────────────┼─────────────────────────────┤
72 │MT-Level │MT-Safe │
73 └─────────────────────────────┴─────────────────────────────┘
74
76 mlib_VideoIDCT_IEEE_S16_S16(3MLIB),
77 mlib_VideoIDCT8x8_S16_S16_B12_NA(3MLIB),
78 mlib_VideoIDCT8x8_S16_S16_DC(3MLIB),
79 mlib_VideoIDCT8x8_S16_S16_Q1(3MLIB), mlib_VideoIDCT8x8_S16_S16_Q1_Mis‐
80 match(3MLIB), mlib_VideoIDCT8x8_U8_S16(3MLIB),
81 mlib_VideoIDCT8x8_U8_S16_DC(3MLIB), mlib_VideoIDCT8x8_U8_S16_NA(3MLIB),
82 mlib_VideoIDCT8x8_U8_S16_Q1(3MLIB), attributes(5)
83
84
85
86SunOS 5.11 2 Mar 200m7lib_VideoIDCT8x8_S16_S16_B12(3MLIB)