1mlib_VideoDCT8x8_S16_U8(3MLmIeBd)iaLib Library Functimolnisb_VideoDCT8x8_S16_U8(3MLIB)
2
3
4

NAME

6       mlib_VideoDCT8x8_S16_U8 - forward Discrete Cosine Transform (DCT)
7

SYNOPSIS

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

DESCRIPTION

17       The mlib_VideoDCT8x8_S16_U8() function computes the forward DCT for the
18       destination DCT coefficients of data type mlib_s16 and source block  of
19       data  type mlib_u8. The stride applies to the block that is part of the
20       frame currently being encoded.
21
22
23       The source and destination buffer addresses must be 8-byte aligned.
24
25
26       This function can be used in JPEG with 8-bit precision, or in MPEG  for
27       the intra mode.
28

PARAMETERS

30       The function takes the following arguments:
31
32       coeffs    Pointer to the destination DCT coefficients. Note that coeffs
33                 must be 8-byte aligned.
34
35
36       block     Pointer to an 8x8 block in the current frame. Note that block
37                 must be 8-byte aligned.
38
39
40       stride    Stride in bytes between adjacent rows in the block. Note that
41                 stride must be a multiple of eight.
42
43

RETURN VALUES

45       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
46       MLIB_FAILURE.
47

ATTRIBUTES

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

SEE ALSO

63       mlib_VideoDCT2x2_S16_S16(3MLIB),       mlib_VideoDCT4x4_S16_S16(3MLIB),
64       mlib_VideoDCT8x8_S16_S16_B10(3MLIB),
65       mlib_VideoDCT8x8_S16_S16_B10_NA(3MLIB),
66       mlib_VideoDCT8x8_S16_S16_B12(3MLIB), mlib_VideoDCT8x8_S16_U8_NA(3MLIB),
67       mlib_VideoDCT16x16_S16_S16(3MLIB),
68       mlib_VideoDCT16x16_S16_S16_B10(3MLIB), mlib_VideoDeQuantize_S16(3MLIB),
69       mlib_VideoDeQuantizeInit_S16(3MLIB),     mlib_VideoQuantize_S16(3MLIB),
70       mlib_VideoQuantizeInit_S16(3MLIB), attributes(5)
71
72
73
74SunOS 5.11                        2 Mar 2007    mlib_VideoDCT8x8_S16_U8(3MLIB)
Impressum