|
SWILIB API (X75)
|
Go to the source code of this file.
Data Structures | |
| struct | OBSevent |
| Event for Obs_TranslateMessageGBS. More... | |
| struct | OBS_FILE_STREAM_METHODS |
| Method table of the Obs file streams (see RamObsFileStreamMethods). More... | |
Typedefs | |
| typedef int | HObj |
| typedef struct OBSevent | OBSevent |
| typedef struct OBS_FILE_STREAM_METHODS | OBS_FILE_STREAM_METHODS |
Enumerations | |
| enum | ObsEventID { OBS_EV_NO_MSG = 0x00 , OBS_EV_GetInfoCon = 0x01 , OBS_EV_ConvDestroyed = 0x05 , OBS_EV_ParamChanged = 0x06 , OBS_EV_StatusChanged = 0x08 , OBS_EV_StatusUpdated = 0x09 , OBS_EV_FrameUpdate = 0x0A , OBS_EV_LoopUpdate = 0x0B , OBS_EV_Error = 0x0C , OBS_EV_StopInd = 0x13 , OBS_EV_PauseInd = 0x14 , OBS_EV_ResumeInd = 0x15 , OBS_EV_StopCon = 0x16 , OBS_EV_PauseCon = 0x17 , OBS_EV_ResumeCon = 0x18 , OBS_EV_EndList = 0x2F } |
| OBS events for async mode. More... | |
Functions | |
| HObj | Obs_CreateObject (int uid_in, int uid_out, int prio, int msg_callback, int emb4, int sync, uint32_t *err) |
| Create OBS object. | |
| int | Obs_DestroyObject (HObj obs) |
| Destroy OBS object. | |
| int | Obs_SetInput_File (HObj obs, int unk, WSHDR *path) |
| Use the file as input. | |
| int | Obs_SetInput_Memory (HObj obs, int unk, char *buf, int len) |
| Use the memory as input. | |
| int | Obs_GetInputImageSize (HObj obs, short *w, short *h) |
| Get the resolution of the input image. | |
| int | Obs_Graphics_SetClipping (HObj obs, short x, short y, short w, short h) |
| Clip image. | |
| int | Obs_SetRenderOffset (HObj obs, short x, short y) |
| Set render offset. | |
| int | Obs_SetOutputImageSize (HObj obs, short w, short h) |
| Resize image. | |
| int | Obs_SetRotation (HObj obs, int angle) |
| Rotate image. | |
| int | Obs_SetScaling (HObj obs, int method) |
| Set scaling method. | |
| int | Obs_Prepare (HObj obs) |
| Prepare before start. | |
| int | Obs_Start (HObj obs) |
| Start processing. | |
| int | Obs_Stop (HObj obs) |
| Stop processing. | |
| int | Obs_Pause (HObj obs) |
| Pause processing. | |
| int | Obs_Resume (HObj obs) |
| Resume paused processing. | |
| int | Obs_Output_GetPictstruct (HObj obs, IMGHDR **img) |
| Get the IMGHDR of the input image. | |
| int | Obs_GetInfo (HObj obs, int unk) |
| Get information from the input file. | |
| int | Obs_TranslateMessageGBS (const GBS_MSG *msg, const OBSevent *handlers) |
| Process async callbacks from GBS message. | |
| int | Obs_SetPosition (HObj obs, int position) |
| Set the given position for playing audio or video. | |
| static int | Obs_GetPosition (HObj obs, int *position) |
| Get the current position of playing audio or video. | |
| static int | Obs_GetDuration (HObj obs, int *position) |
| Get the duration of playing audio or video. | |
| int | Obs_Mam_SetPurpose (HObj obs, char purpose) |
| Set purpose for MAM. | |
| int | Obs_Sound_SetPurpose (HObj obs, int purpose) |
| Set purpose for Sound. | |
| int | Obs_Sound_SetVolumeEx (HObj obs, char volume, char delta) |
| Set sound volume. | |
| int | Obs_Sound_GetVolume (HObj obs, char *volume) |
| Get current sound volume. | |
| int | Obs_Sound_SetAMRFormat (HObj obs, int format) |
| Set AMR format. | |
| int | Obs_Sound_SetAMRDTX (HObj obs, int dtx) |
| Set AMR DTX. | |
| int | Obs_Sound_SetNofChannels (HObj obs, int num_channels) |
| Set count of the channels. | |
| int | Obs_Sound_SetAMRMode (HObj obs, int data_rate) |
| Set AMR data rate. | |
| int | Obs_Sound_SetFIsRecording (HObj obs, int is_recording) |
| Set recording mode. | |
| int | Obs_Sound_SetMaxFileSize (HObj obs, int max_file_size) |
| Set maximum file size. | |
| int | Obs_Sound_SetRecordingMode (HObj obs, int recording_mode) |
| Set mode of the recording. | |
| int | Obs_SetOutput_File (HObj obs, const char *filename) |
| Set output filename. | |
| int | Obs_SetOutput_Uid (HObj obs, int uid) |
| Set output file type (extension UID). | |
| int | Obs_Sound_SetBitrate (HObj obs, int bitrate) |
| Set sound bitrate. | |
| int | Obs_SetUserPointer (HObj obs, void *user_pointer) |
| Set custom user pointer to the OBS object. | |
| int | Obs_SetCSM (HObj obs, CSM_RAM *csm) |
| Link CSM to the OBS object. | |
| int | Obs_GetUserPointer (HObj obs, void **p_user_pointer) |
| Get custom user pointer from the OBS object. | |
| void * | Obs_MemAlloc (int size) |
| Allocate memory from the Obs heap (the pool of the Obs file stream chunks). | |
| void | Obs_MemFree (void *ptr) |
| Free memory allocated with Obs_MemAlloc. | |
| OBS_FILE_STREAM_METHODS * | RamObsFileStreamMethods (void) |
| Get the global method table of the Obs file streams, shared by all file stream objects. | |