Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

DCTFwdGetSize

Computes the size of all buffers required for the forward DCT.

Syntax

IppStatus ippsDCTFwdGetSize_32f(int
len
, IppHintAlgorithm
hint
, int*
pSpecSize
, int*
pSpecBufferSize
, int*
pBufferSize
);
IppStatus ippsDCTFwdGetSize_64f(int
len
, IppHintAlgorithm
hint
, int*
pSpecSize
, int*
pSpecBufferSize
, int*
pBufferSize
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
len
Number of samples in the DCT.
hint
This parameter is deprecated. Set the value to
ippAlgHintNone
.
pSpecSize
Pointer to the size of the forward DCT specification structure.
pSpecBufferSize
Pointer to the size of the work buffer for the initialization function.
pBufferSize
Pointer to the size of the forward DCT work buffer.
Description
This function computes the size
pSpecSize
for the forward DCT structure with the following parameters: the transform
len
, and the specific code
hint
. Additionally the function computes the size
pSpecBufferSize
of the work buffer for the initialization function
ippsDCTFwdInit
, and the size
pBufferSize
of the work buffer for the function
ippsDCTFwd
.
The function
ippsDCTFwdGetSize
should be called prior to them.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error if one of the specified pointers is
NULL
.
ippStsSizeErr
Indicates an error when
len
is less than or equal to 0.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804