1mlib_VideoQuantize_S16(3MLImBe)diaLib Library Functiomnlsib_VideoQuantize_S16(3MLIB)
2
3
4

NAME

6       mlib_VideoQuantize_S16 - quantization of forward Discrete Cosine Trans‐
7       form (DCT) coefficients
8

SYNOPSIS

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

DESCRIPTION

18       The mlib_VideoQuantize_S16()  function  performs  quantization  on  DCT
19       coefficients.
20
21
22       The following equation is used:
23
24         icoeffs[i] = icoeffs[i] * dqtable[i];  0 ≤ i < 64
25
26

PARAMETERS

28       The function takes the following arguments:
29
30       icoeffs    Pointer to the output DCT coefficients:
31
32                    -2048 < icoeffs[i] < 2048
33
34                  Note that icoeffs must be 8-byte aligned.
35
36
37       dqtable    Pointer to quantizer table coefficients.
38
39

RETURN VALUES

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

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Committed                    │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │MT-Safe                      │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       mlib_VideoDCT2x2_S16_S16(3MLIB),       mlib_VideoDCT4x4_S16_S16(3MLIB),
60       mlib_VideoDCT8x8_S16_S16(3MLIB),   mlib_VideoDCT8x8_S16_S16_B12(3MLIB),
61       mlib_VideoDCT8x8_S16_S16_NA(3MLIB),     mlib_VideoDCT8x8_S16_U8(3MLIB),
62       mlib_VideoDCT8x8_S16_U8_NA(3MLIB),   mlib_VideoDCT16x16_S16_S16(3MLIB),
63       mlib_VideoDCT16x16_S16_S16_B10(3MLIB), mlib_VideoDeQuantize_S16(3MLIB),
64       mlib_VideoDeQuantizeInit_S16(3MLIB), mlib_VideoQuantizeInit_S16(3MLIB),
65       attributes(5)
66
67
68
69SunOS 5.11                        2 Mar 2007     mlib_VideoQuantize_S16(3MLIB)
Impressum