1mlib_VideoQuantizeInit_S16(m3eMdLiIaBL)ib Library Funmcltiibo_nVsideoQuantizeInit_S16(3MLIB)
2
3
4

NAME

6       mlib_VideoQuantizeInit_S16  -  quantization  of forward Discrete Cosine
7       Transform (DCT) coefficients
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_VideoQuantizeInit_S16(mlib_d64 dqtable[64],
14            const mlib_s16 iqtable[64]);
15
16

DESCRIPTION

18       The mlib_VideoQuantizeInit_S16() function initializes the  quantization
19       table.
20
21
22       The following equation is used:
23
24         dqtable[i] = 1.0 / iqtable[i];  0 ≤ i < 64
25
26

PARAMETERS

28       The function takes the following arguments:
29
30       dqtable    Pointer to quantizer table coefficients.
31
32
33       iqtable    Pointer to original quantizer table coefficients:
34
35                    0 < iqtable[i] < 128
36
37
38

RETURN VALUES

40       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
41       MLIB_FAILURE.
42

ATTRIBUTES

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

SEE ALSO

58       mlib_VideoDCT2x2_S16_S16(3MLIB),       mlib_VideoDCT4x4_S16_S16(3MLIB),
59       mlib_VideoDCT8x8_S16_S16(3MLIB),   mlib_VideoDCT8x8_S16_S16_B12(3MLIB),
60       mlib_VideoDCT8x8_S16_S16_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), mlib_VideoDeQuantize_S16(3MLIB),
63       mlib_VideoDeQuantizeInit_S16(3MLIB),     mlib_VideoQuantize_S16(3MLIB),
64       attributes(5)
65
66
67
68SunOS 5.11                        2 Mar 2007 mlib_VideoQuantizeInit_S16(3MLIB)
Impressum