OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
SpursSpeexTaskManager Class Reference

#include <SpursSpeexTaskManager.h>

Public Member Functions

 SpursSpeexTaskManager (spursThreadSupportInterface *threadInterface, unsigned int maxNumOutstandingTasks)
 
int initialize ()
 call initialize in the beginning of the frame, before addCollisionPairToTask
 
int issueEncodeTask (int16_t *inBuffer, int inBufferSize, int encodedFrameSize, char *outBuffer, int outBufferSize, SpursSpeexTaskOutput *taskOuput, char *m_userAllocatedSpeexBuffer, int userAllocatedSpeexBufferSize)
 
int issueEncodeInitTask (int theQuality, int theGviSpeexSamplesPerSecond, SpursSpeexTaskOutput *taskOutput, char *m_userAllocatedSpeexBuffer, int userAllocatedSpeexBufferSize)
 
int issueDecodeAddTask (char *decoderStateBuffer, int decoderStateBufferSize, char *inBuffer, int inBufferSize, int encodedFrameSize, short *outBuffer, int outBufferSize, struct SpursSpeexTaskOutput *taskOutput)
 
int issueDecodeSetTask (char *decoderStateBuffer, int decoderStateBufferSize, char *inBuffer, int inBufferSize, int encodedFrameSize, short *outBuffer, int outBufferSize, struct SpursSpeexTaskOutput *taskOutput)
 
int issueDecodeInitTask (char *decoderStateBuffer, int decoderStateBufferSize, int sampleRate, struct SpursSpeexTaskOutput *taskOutput)
 
int flush ()
 call flush to submit potential outstanding work to SPUs and wait for all involved SPUs to be finished
 

Detailed Description

SpuSampleTaskProcess handles SPU processing of collision pairs. When PPU issues a task, it will look for completed task buffers PPU will do postprocessing, dependent on workunit output (not likely)

Member Function Documentation

◆ flush()

int SpursSpeexTaskManager::flush ( )

call flush to submit potential outstanding work to SPUs and wait for all involved SPUs to be finished

Optional PPU-size post processing for each task.


The documentation for this class was generated from the following files: