1mlib_VideoDCT8x8Quantize_S1m6e_dSi1a6L_imBbl1i2Lb_i_NbVAri(ad3reMyoLDIFCBuT)n8cxt8iQounasntize_S16_S16_B12_NA(3MLIB)
2
3
4

NAME

6       mlib_VideoDCT8x8Quantize_S16_S16_B12_NA   -   forward  Discrete  Cosine
7       Transform (DCT) and quantization
8

SYNOPSIS

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

DESCRIPTION

19       The  mlib_VideoDCT8x8Quantize_S16_S16_B12_NA()  function  computes  the
20       forward DCT and then quantizes the DCT coefficients. It's a combination
21       of mlib_VideoDCT8x8_S16_S16_B12_NA() and  mlib_VideoQuantize_S16()  for
22       better  performance.  The source to the DCT routine can occupy up to 12
23       bits for each of its elements, i.e., should  be  within  the  range  of
24       [-2048, 2047].
25
26
27       This function requires no special address alignment.
28
29
30       This function can be used in JPEG with 12-bit precision, or in MPEG for
31       the inter mode.
32

PARAMETERS

34       The function takes the following arguments:
35
36       coeffs     Pointer to the quantized DCT coefficients.
37
38
39       block      Pointer to an 8x8 block.
40
41
42       dqtable    Pointer to the quantization table generated  by  mlib_Video‐
43                  QuantizeInit_S16().
44
45

RETURN VALUES

47       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
48       MLIB_FAILURE.
49

ATTRIBUTES

51       See attributes(5) for descriptions of the following attributes:
52
53
54
55
56       ┌─────────────────────────────┬─────────────────────────────┐
57       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
58       ├─────────────────────────────┼─────────────────────────────┤
59       │Interface Stability          │Committed                    │
60       ├─────────────────────────────┼─────────────────────────────┤
61       │MT-Level                     │MT-Safe                      │
62       └─────────────────────────────┴─────────────────────────────┘
63

SEE ALSO

65       mlib_VideoDCT8x8Quantize_S16_S16_B12(3MLIB),      mlib_VideoDCT8x8Quan‐
66       tize_S16_U8(3MLIB),          mlib_VideoDCT8x8Quantize_S16_U8_NA(3MLIB),
67       mlib_VideoQuantizeInit_S16(3MLIB), attributes(5)
68
69
70
71SunOS 5.11                      ml2ibM_aVrid2e0o0D7CT8x8Quantize_S16_S16_B12_NA(3MLIB)
Impressum