Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

change of usc.h file between version5.0 and 5.1

laurent_schweizer
1,121 Views

Hello,

I see that the usc.h file inthe samplepackage has changedbetween theversion 5.0and 5.1 andin the 5.1the structUSC_CodecInfo don't have the attribute "framesize". What is the equivalent in this new version ?

Laurent

USC_CodecInfo for 5.0

/* USC codec information */
typedef struct {
const char *name; /* codec name */
int framesize; /* PCM frame size in bytes */
int maxbitsize; /* bitstream max frame size in bytes */
USC_Option params; /* what is supported */
USC_PCMType pcmType; /* codec audio source */
int nRates;
const USC_Rates *pRateTbl; /* supported bitrates lookup table */
}USC_CodecInfo;

USC_CodecInfo for 5.1

/* USC codec information */
typedef struct {
const char *name; /* codec name */
int maxbitsize; /* bitstream max frame size in bytes */
USC_PCMType pcmType; /* codec audio source */
int nRates;
const USC_Rates *pRateTbl; /* supported bitrates lookup table */
USC_Option params; /* what is supported */
}USC_CodecInfo;

0 Kudos
1 Reply
Vyacheslav_Baranniko
New Contributor II
1,121 Views

Hellow Laurent

On one hand, USCI is under development yetand may be changed in any IPP samples release without prior notification. On other hand, IPP trysto make it as stable as possible and backward compatible (not yet declared officially though).

Please refer fordetailsto USCIdocumentation included into IPP speech coding samples package.

Specifically for framesize parameter, since IPP 5.1 it moved to USC_Option sub-structure of USC_CodecInfo structure.

Hope this help, best regards

Vyacheslav (Slava)

Intel, IPP, Speech Coding

0 Kudos
Reply