1mlib_VideoDCT8x8Quantize_S1m6e_dUi8a(L3iMbLILBi)brarmyliFbu_nVcitdieoonDsCT8x8Quantize_S16_U8(3MLIB)
2
3
4

NAME

6       mlib_VideoDCT8x8Quantize_S16_U8  -  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(
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() function computes the forward DCT
20       and  then  quantizes  the  DCT  coefficients.  It's  a  combination  of
21       mlib_VideoDCT8x8_S16_U8() and mlib_VideoQuantize_S16() for better  per‐
22       formance.
23
24
25       The source and destination buffer addresses must be 8-byte aligned.
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. Note that  coeffs
35                  must be 8-byte aligned.
36
37
38       block      Pointer  to  an  8x8  block.  Note that block must be 8-byte
39                  aligned.
40
41
42       dqtable    Pointer to the quantization table generated  by  mlib_Video‐
43                  QuantizeInit_S16().
44
45
46       stride     Stride  in  bytes  between  adjacent rows in the block. Note
47                  that stride must be a multiple of eight.
48
49

RETURN VALUES

51       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
52       MLIB_FAILURE.
53

ATTRIBUTES

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

SEE ALSO

69       mlib_VideoDCT8x8Quantize_S16_S16_B12(3MLIB),      mlib_VideoDCT8x8Quan‐
70       tize_S16_S16_B12_NA(3MLIB),  mlib_VideoDCT8x8Quantize_S16_U8_NA(3MLIB),
71       mlib_VideoQuantizeInit_S16(3MLIB), attributes(5)
72
73
74
75SunOS 5.11                        2 Mar 2m0l0i7b_VideoDCT8x8Quantize_S16_U8(3MLIB)
Impressum