'\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved .TH mlib_VideoDeQuantizeIDCT8x8_U8_S16_NA 3MLIB "2 Mar 2007" "SunOS 5.11" "mediaLib Library Functions" .SH NAME mlib_VideoDeQuantizeIDCT8x8_U8_S16_NA \- dequantization and inverse Discrete Cosine Transform (IDCT) .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmlib\fR [ \fIlibrary\fR... ] #include \fBmlib_status\fR \fBmlib_VideoDeQuantizeIDCT8x8_U8_S16_NA\fR( \fBmlib_u8 *\fR\fIblock\fR, \fBconst mlib_s16\fR \fIcoeffs[64]\fR, \fBconst mlib_d64\fR \fIdqtable[64]\fR, \fBmlib_s32\fR \fIstride\fR); .fi .SH DESCRIPTION .sp .LP The \fBmlib_VideoDeQuantizeIDCT8x8_U8_S16_NA()\fR function dequantizes the quantized DCT coefficients and then computes the inverse DCT. It's a combination of \fBmlib_VideoDeQuantize_S16()\fR and \fBmlib_VideoIDCT8x8_U8_S16_NA()\fR for better performance. .sp .LP This function requires no special address alignment. .sp .LP This function can be used in JPEG with 8-bit precision, or in MPEG for the intra mode. .SH PARAMETERS .sp .LP The function takes the following arguments: .sp .ne 2 .mk .na \fB\fIblock\fR\fR .ad .RS 11n .rt Pointer to an 8x8 block. .RE .sp .ne 2 .mk .na \fB\fIcoeffs\fR\fR .ad .RS 11n .rt Pointer to the input quantized DCT coefficients. .RE .sp .ne 2 .mk .na \fB\fIdqtable\fR\fR .ad .RS 11n .rt Pointer to the dequantization table generated by \fBmlib_VideoDeQuantizeInit_S16()\fR. .RE .sp .ne 2 .mk .na \fB\fIstride\fR\fR .ad .RS 11n .rt Stride in bytes between adjacent rows in the block. .RE .SH RETURN VALUES .sp .LP The function returns \fBMLIB_SUCCESS\fR if successful. Otherwise it returns \fBMLIB_FAILURE\fR. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe .TE .SH SEE ALSO .sp .LP \fBmlib_VideoDeQuantizeIDCT8x8_S16_S16_B12\fR(3MLIB), \fBmlib_VideoDeQuantizeIDCT8x8_S16_S16_B12_NA\fR(3MLIB), \fBmlib_VideoDeQuantizeIDCT8x8_U8_S16\fR(3MLIB), \fBmlib_VideoDeQuantizeInit_S16\fR(3MLIB), \fBattributes\fR(5)