1mlib_VideoDCT8x8Quantize_S1m6e_dUi8a_LNiAb(3LMiLbmIrlBai)rby_VFiudnecotDiCoTn8sx8Quantize_S16_U8_NA(3MLIB)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

19       The mlib_VideoDCT8x8Quantize_S16_U8_NA() function computes the  forward
20       DCT  and  then  quantizes  the  DCT coefficients. It's a combination of
21       mlib_VideoDCT8x8_S16_U8_NA() and  mlib_VideoQuantize_S16()  for  better
22       performance.
23
24
25       This function requires no special address alignment.
26
27
28       This  function can be used in JPEG with 8-bit precision, or in MPEG for
29       the intra mode.
30

PARAMETERS

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

RETURN VALUES

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

ATTRIBUTES

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

SEE ALSO

66       mlib_VideoDCT8x8Quantize_S16_S16_B12(3MLIB),      mlib_VideoDCT8x8Quan‐
67       tize_S16_S16_B12_NA(3MLIB),     mlib_VideoDCT8x8Quantize_S16_U8(3MLIB),
68       mlib_VideoQuantizeInit_S16(3MLIB), attributes(5)
69
70
71
72SunOS 5.11                        2 Mamrli2b0_0V7ideoDCT8x8Quantize_S16_U8_NA(3MLIB)
Impressum