1mlib_VideoDCT8x8Quantize_S1m6e_dSi1a6L_iBb12Lm(il3biMrbLa_IrVByi)dFeuonDcCtTi8oxn8sQuantize_S16_S16_B12(3MLIB)
2
3
4

NAME

6       mlib_VideoDCT8x8Quantize_S16_S16_B12  -  forward Discrete Cosine Trans‐
7       form (DCT) and quantization
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_VideoDCT8x8Quantize_S16_S16_B12(
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() function computes  the  for‐
20       ward DCT and then quantizes the DCT coefficients. It's a combination of
21       mlib_VideoDCT8x8_S16_S16_B12() and mlib_VideoQuantize_S16() for  better
22       performance. The source to the DCT routine can occupy up to 12 bits for
23       each of its elements, i.e., should  be  within  the  range  of  [-2048,
24       2047].
25
26
27       The source and destination buffer addresses must be 8-byte aligned.
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. Note that  coeffs
37                  must be 8-byte aligned.
38
39
40       block      Pointer  to  an  8x8  block.  Note that block must be 8-byte
41                  aligned.
42
43
44       dqtable    Pointer to the quantization table generated  by  mlib_Video‐
45                  QuantizeInit_S16().
46
47

RETURN VALUES

49       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
50       MLIB_FAILURE.
51

ATTRIBUTES

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

SEE ALSO

67       mlib_VideoDCT8x8Quantize_S16_S16_B12_NA(3MLIB),   mlib_VideoDCT8x8Quan‐
68       tize_S16_U8(3MLIB),          mlib_VideoDCT8x8Quantize_S16_U8_NA(3MLIB),
69       mlib_VideoQuantizeInit_S16(3MLIB), attributes(5)
70
71
72
73SunOS 5.11                        2mMlairb_2V0i0d7eoDCT8x8Quantize_S16_S16_B12(3MLIB)
Impressum