CRI Sofdec2  Last Updated: 2022-11-21 16:25 p
cri_mana.h File Reference
#include <cri_xpt.h>
#include <cri_file_system.h>
#include <cri_atom_ex.h>

Data Structures

struct  CriManaLibConfig
 Mana library initialization parameters. More...
 
struct  CriManaEventPoint
 Event point information. More...
 
struct  CriManaCuePointInfo
 Cuepoint information. More...
 
struct  CriManaPlayerConfig
 Configuration structure for player creation. More...
 
struct  CriManaPlaybackCommonParams
 Basic parameters for playback work. More...
 
struct  CriManaPlaybackVideoParams
 Video-related playback parameters. More...
 
struct  CriManaPlaybackAudioParams
 Audio-related playback parameters. More...
 
struct  CriManaPlaybackSubtitleParams
 Subtitle-related playback parameters. More...
 
struct  CriManaPlaybackAlphaParams
 Alpha channel parameters. More...
 
struct  CriManaPlaybackBasicWorkConfig
 Playback work parameter structure (basic) More...
 
struct  CriManaPlaybackExWorkConfig
 Playback work parameter structure (extended) More...
 
struct  CriManaAudioInfo
 Audio parameters. More...
 
struct  CriManaVideoInfo
 Video parameters. More...
 
struct  CriManaAlphaInfo
 Alpha parameters. More...
 
struct  CriManaMovieInfo
 Movie information structure. More...
 
struct  CriManaImageBufferInfo
 Image information. More...
 
struct  CriManaFrameInfo
 Video frame information. More...
 
struct  CriManaTextureBuffer
 Texture buffer structure. More...
 
struct  CriManaTextureBuffersYUV
 YUV texture buffer structure. More...
 

Macros

#define CRIMANA_MAX_VIDEO_NUM   (1)
 Maximum number of video streams in a movie file. More...
 
#define CRIMANA_MAX_AUDIO_NUM   (32)
 Maximum number of audio streams in a movie file. More...
 
#define CRIMANA_MAX_ALPHA_NUM   (1)
 Maximum number of alpha streams in a movie file. More...
 
#define CRIMANA_AUDIO_TRACK_OFF   (-1)
 Specified value for turning off audio playback. More...
 
#define CRIMANA_AUDIO_TRACK_AUTO   (100)
 Default value for audio tracks. More...
 
#define CRIMANA_MAX_SUBTITLE_NUM   (16)
 Maximum number of subtitle channels. More...
 
#define CRIMANA_SUBTITLE_CHANNEL_OFF   (-1)
 Specified value for turning off subtitle playback. More...
 
#define CRIMANA_MAX_FILE_NAME   (256)
 Maximum file name length that can be specified in the Mana player. More...
 
#define criMana_SetDefaultLibConfig(p_config)
 Set default values for the library initialization config structure. More...
 
#define criManaPlayer_SetDefaultHandleConfig(p_config)
 Set default values for the player creation config structure. More...
 
#define CriManaMetaMallocFunc   CriManaMallocFunc
 Memory allocation function for meta data work. More...
 
#define CriManaMetaFreeFunc   CriManaFreeFunc
 Memory release function for meta data work. More...
 

Typedefs

typedef CriManaPlayerObj * CriManaPlayerHn
 Player handle. More...
 
typedef void *(* CriManaMallocFunc) (void *obj, CriUint32 size)
 Memory allocation function. More...
 
typedef void(* CriManaFreeFunc) (void *obj, void *mem)
 Memory release function. More...
 
typedef void(* CriManaPlayerDataRequestCbFunc) (void *obj, CriManaPlayerHn player)
 Data request callback function. More...
 
typedef void(* CriManaPlayerCuePointCbFunc) (void *obj, CriManaPlayerHn player, CriManaEventPoint *eventinfo)
 Cuepoint callback function. More...
 

Enumerations

enum  CriManaPlayerStatus {
  CRIMANAPLAYER_STATUS_STOP = 0 , CRIMANAPLAYER_STATUS_DECHDR = 1 , CRIMANAPLAYER_STATUS_WAIT_PREP = 2 , CRIMANAPLAYER_STATUS_PREP = 3 ,
  CRIMANAPLAYER_STATUS_READY = 4 , CRIMANAPLAYER_STATUS_PLAYING = 5 , CRIMANAPLAYER_STATUS_PLAYEND = 6 , CRIMANAPLAYER_STATUS_ERROR = 7 ,
  CRIMANAPLAYER_STATUS_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF
}
 Player status. More...
 
enum  CriManaTimerType {
  CRIMANAPLAYER_TIMER_NONE =0 , CRIMANAPLAYER_TIMER_SYSTEM =1 , CRIMANAPLAYER_TIMER_AUDIO =2 , CRIMANAPLAYER_TIMER_USER =3 ,
  CRIMANAPLAYER_TIMER_MANUAL =4 , CRIMANAPLAYER_TIMER_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF
}
 Timer type. More...
 
enum  CriManaThreadModel { CRIMANA_THREAD_MODEL_MULTI = 0 , CRIMANA_THREAD_MODEL_SINGLE = 1 , CRIMANA_THREAD_MODEL_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 Thread model. More...
 
enum  CriManaVideoCodecType { CRIMANA_VIDEO_CODEC_UNKNOWN = 0 , CRIMANA_VIDEO_CODEC_SOFDEC_PRIME = 1 , CRIMANA_VIDEO_CODEC_H264 = 5 , CRIMANA_VIDEO_CODEC_VP9 = 9 , CRIMANA_VIDEO_CODEC_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 Video codec types. More...
 
enum  CriManaAudioCodecType { CRIMANA_AUDIO_CODEC_UNKNOWN = 0 , CRIMANA_AUDIO_CODEC_ADX = 2 , CRIMANA_AUDIO_CODEC_HCA = 4 , CRIMANA_AUDIO_CODEC_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 Audio codec types. More...
 
enum  CriManaAlphaType {
  CRIMANA_COMPO_OPAQ = 0 , CRIMANA_COMPO_ALPHFULL = 1 , CRIMANA_COMPO_ALPH3STEP = 2 , CRIMANA_COMPO_ALPH32BIT = 3 ,
  CRIMANA_COMPO_ALPH1BIT = 4 , CRIMANA_COMPO_ALPH2BIT = 5 , CRIMANA_COMPO_ALPH3BIT = 6 , CRIMANA_COMPO_ALPH4BIT = 7 ,
  CRIMANA_COMPO_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF
}
 Alpha movie composition mode. More...
 
enum  CriManaMetaFlag { CRIMANA_META_FLAG_NONE = 0x0000 , CRIMANA_META_FLAG_CUE = 0x0001 , CRIMANA_META_FLAG_SEEK = 0x0002 , CRIMANA_META_FLAG_ALL = CRIMANA_META_FLAG_CUE | CRIMANA_META_FLAG_SEEK , CRIMANA_META_FLAG_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 Flags used by meta data [currently not supported]. More...
 
enum  CriManaReferFrameResult { CRIMANA_REFER_RESULT_OK = 0 , CRIMANA_REFER_RESULT_SHORT_INPUT = 1 , CRIMANA_REFER_RESULT_SHORT_CPUTIME = 2 , CRIMANA_REFER_RESULT_NO_MORE_KEEP = 3 , CRIMANA_REFER_RESULT_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 ReferFrame frame reference results (debug information) More...
 
enum  CriManaColorSpaceConversionType
 Color conversion types. More...
 
enum  CriManaDecodeMode { CRIMANA_DECODE_MODE_NORMAL = 0 , CRIMANA_DECODE_MODE_B_SKIP = 1 , CRIMANA_DECODE_MODE_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 Decoder operation mode. More...
 
enum  CriManaPlayerMovieEventSyncMode { CRIMANAPLAYER_EVENT_SYNC_FRAME_TIME = 0 , CRIMANAPLAYER_EVENT_SYNC_PLAYBACK_TIME = 1 , CRIMANAPLAYER_EVENT_SYNC_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF }
 Sync mode for movie events (cue points, subtitles) More...
 

Functions

const CriChar8 * criMana_GetLibraryVersionString (void)
 Returns the version number of the Mana library and build information. More...
 
void criMana_SetUserAllocator (CriManaMallocFunc malloc_func, CriManaFreeFunc free_func, void *obj)
 Register user allocator. More...
 
CriSint32 criMana_CalculateLibWorkSize (const CriManaLibConfig *config)
 Calculate library initialization work area size. More...
 
void criMana_Initialize (const CriManaLibConfig *config, void *work, CriSint32 work_size)
 Library initialization. More...
 
void criMana_InitializeFrameARGB32 (void)
 Initialize frame conversion (32bit ARGB8888 format) More...
 
void criMana_Finalize (void)
 Finalize library. More...
 
CriBool criMana_IsInitialized (void)
 Get library initialization status. More...
 
void criMana_ExecuteMain (void)
 Execute server processing. More...
 
void criMana_SyncMasterTimer (void)
 Synchronize with the master timer. More...
 
void criMana_AdvanceManualTimer (void)
 
void criMana_ExecuteVideoProcess (void)
 Decode video (all handles at once) More...
 
void criMana_SetDecodeSkipFlag (CriBool flag)
 Set the decoding skip flag (all handles at once) More...
 
void criMana_SetAllPauseFlag (CriBool flag)
 Set overall pause (all handles together) More...
 
CriBool criMana_GetAllPauseFlag (void)
 Get the overall pause flag. More...
 
void criMana_Lock (void)
 Prevent decoding interruptions. More...
 
void criMana_Unlock (void)
 Cancel decoding interruption prevention. More...
 
void criMana_UseStreamerManager (CriBool flag)
 Set control flag on whether to use the streaming management module. More...
 
CriBool criMana_IsStreamerManagerUsed (void)
 Get the control flag as to whether or not to use the streaming management module. More...
 
CriSint32 criManaPlayer_CalculateHandleWorkSize (void)
 Calculate ManaPlayer work area size (no config specified) More...
 
CriSint32 criManaPlayer_CalculateHandleWorkSizeWithConfig (const CriManaPlayerConfig *config)
 Calculate ManaPlayer work area size (config specified) More...
 
CriManaPlayerHn criManaPlayer_Create (void *work, CriSint32 work_size)
 Create Mana player (no config specified) More...
 
CriManaPlayerHn criManaPlayer_CreateWithConfig (const CriManaPlayerConfig *config, void *work, CriSint32 work_size)
 Create Mana player (config specified) More...
 
void criManaPlayer_Destroy (CriManaPlayerHn player)
 Destroy the Mana player. More...
 
void criManaPlayer_SetMetaDataWorkAllocator (CriManaPlayerHn player, CriManaMetaMallocFunc allocfunc, CriManaMetaFreeFunc freefunc, void *obj, CriManaMetaFlag meta_flag)
 Register meta data allocator. More...
 
CriBool criManaPlayer_GetPlaybackWorkParam (CriManaPlayerHn player, CriManaPlaybackBasicWorkConfig *config_basic, CriManaPlaybackExWorkConfig *config_ex)
 Get playback work parameter structure. More...
 
CriSint32 criManaPlayer_CalculatePlaybackWorkSize (CriManaPlayerHn player, const CriManaPlaybackBasicWorkConfig *config_basic, const CriManaPlaybackExWorkConfig *config_ex)
 Calculate playback work area size. More...
 
void criManaPlayer_SetPlaybackWork (CriManaPlayerHn player, const CriManaPlaybackBasicWorkConfig *config_basic, const CriManaPlaybackExWorkConfig *config_ex, void *work, CriSint32 work_size)
 Set playback work area. More...
 
void criManaPlayer_FreePlaybackWork (CriManaPlayerHn player)
 Release playback work. More...
 
CriManaPlayerStatus criManaPlayer_GetStatus (CriManaPlayerHn player)
 Get the Mana player status. More...
 
void criManaPlayer_ExecuteMain (CriManaPlayerHn player)
 Execute Mana player server processing. More...
 
void criManaPlayer_SyncMasterTimer (CriManaPlayerHn player)
 Synchronize with the master timer. More...
 
void criManaPlayer_SetMasterTimerType (CriManaPlayerHn player, CriManaTimerType type)
 Set master timer type. More...
 
CriManaTimerType criManaPlayer_GetMasterTimerType (CriManaPlayerHn player)
 Get master timer type. More...
 
void criManaPlayer_SetUserTime (CriManaPlayerHn player, CriUint64 user_count, CriUint64 user_unit)
 Set the user timer time to the master timer time. More...
 
void criManaPlayer_SetManualTimerUnit (CriManaPlayerHn player, CriUint64 timer_manual_unit_n, CriUint64 timer_manual_unit_d)
 Set unit of manual timer time advancement (rational number format) More...
 
void criManaPlayer_AdvanceManualTimer (CriManaPlayerHn player)
 Advance manual timer time (count value) More...
 
CriBool criManaPlayer_ExecuteVideoProcess (CriManaPlayerHn player)
 Video decoding. More...
 
void criManaPlayer_SetFile (CriManaPlayerHn player, CriFsBinderHn bndrhn, const CriChar8 *path)
 Set movie file. More...
 
void criManaPlayer_SetData (CriManaPlayerHn player, const void *dataptr, CriSint64 datasize)
 Set data for memory playback. More...
 
void criManaPlayer_SetContentId (CriManaPlayerHn player, CriFsBinderHn bndrhn, CriSint32 id)
 Set movie file to play (specify CPK Content ID) More...
 
void criManaPlayer_SetFileRange (CriManaPlayerHn player, const CriChar8 *fname, CriUint64 offset, CriSint64 range)
 Specify the movie file in the pack file (specify file range) More...
 
void criManaPlayer_SetPreviousDataAgain (CriManaPlayerHn player)
 Reset the same movie data. More...
 
CriBool criManaPlayer_GetMovieInfo (CriManaPlayerHn player, CriManaMovieInfo *mvinf)
 Get movie header information. More...
 
void criManaPlayer_DecodeHeader (CriManaPlayerHn player)
 Request header decoding. More...
 
void criManaPlayer_Prepare (CriManaPlayerHn player)
 Request playback preparation. More...
 
void criManaPlayer_Start (CriManaPlayerHn player)
 Start playback. More...
 
void criManaPlayer_Stop (CriManaPlayerHn player)
 Requests play to stop. More...
 
void criManaPlayer_StopAndWaitCompletion (CriManaPlayerHn player)
 Stop playback (complete return API) More...
 
void criManaPlayer_Pause (CriManaPlayerHn player, CriBool sw)
 Switch play pause. More...
 
CriBool criManaPlayer_IsPaused (CriManaPlayerHn player)
 Get play pause status. More...
 
void criManaPlayer_Loop (CriManaPlayerHn player, CriBool sw)
 Switch play loop. More...
 
void criManaPlayer_GetTime (CriManaPlayerHn player, CriUint64 *count, CriUint64 *unit)
 Get playback time. More...
 
CriSint32 criManaPlayer_GetInputBufferSize (CriManaPlayerHn player)
 Get input buffer size. More...
 
CriSint32 criManaPlayer_GetInputBufferRemainSize (CriManaPlayerHn player)
 Get amount of remaining data in input buffer. More...
 
void criManaPlayer_SetNumberOfFramePools (CriManaPlayerHn player, CriUint32 npools)
 Specify the number of internal video buffers (frame pools) More...
 
void criManaPlayer_SetBufferingTime (CriManaPlayerHn player, CriFloat32 sec)
 Specify input data buffering time. More...
 
void criManaPlayer_SetMinBufferSize (CriManaPlayerHn player, CriUint32 min_buffer_size)
 Specify minimum buffer size. More...
 
void criManaPlayer_SetFileStreamingFlag (CriManaPlayerHn player, CriBool streaming_flag)
 Set streaming flag. More...
 
void criManaPlayer_SetMaxMovieSize (CriManaPlayerHn player, CriSint32 max_width, CriSint32 max_height)
 Specify maximum resolution. More...
 
void criManaPlayer_SetMaxPictureDataSize (CriManaPlayerHn player, CriUint32 max_data_size)
 Specify maximum resolution. More...
 
void criManaPlayer_ExecuteAutoSkip (CriManaPlayerHn player, CriManaFrameInfo *frame_info)
 Execute decision to automatically skip a decoded frame. More...
 
void criManaPlayer_SetAudioTrack (CriManaPlayerHn player, CriSint32 track)
 Set the main audio track number. More...
 
void criManaPlayer_SetSubAudioTrack (CriManaPlayerHn player, CriSint32 track)
 Set the subaudio track number. More...
 
void criManaPlayer_SetExtraAudioTrack (CriManaPlayerHn player, CriSint32 track)
 Set the extra audio track index. More...
 
void criManaPlayer_SetVolume (CriManaPlayerHn player, CriFloat32 volume)
 Set audio volume (main audio track) More...
 
CriFloat32 criManaPlayer_GetVolume (CriManaPlayerHn player)
 Get audio volume (main audio track) More...
 
CriAtomExPlayerHn criManaPlayer_GetAtomExPlayerByTrackId (CriManaPlayerHn player, CriUint32 track_id)
 Get AtomExPlayerHn. More...
 
void criManaPlayer_SetSubAudioVolume (CriManaPlayerHn player, CriFloat32 volume)
 Set audio volume (subaudio track) More...
 
CriFloat32 criManaPlayer_GetSubAudioVolume (CriManaPlayerHn player)
 Get audio volume (subaudio track) More...
 
void criManaPlayer_SetExtraAudioVolume (CriManaPlayerHn player, CriFloat32 volume)
 Set the audio volume of the extra audio track. More...
 
CriFloat32 criManaPlayer_GetExtraAudioVolume (CriManaPlayerHn player)
 Get the audio volume of the extra audio track. More...
 
void criManaPlayer_SetPan (CriManaPlayerHn player, CriSint32 ch, CriFloat32 pan)
 Get 2D pan (main audio track) More...
 
CriFloat32 criManaPlayer_GetPan (CriManaPlayerHn player, CriSint32 ch)
 Get 2D pan (main audio track) More...
 
void criManaPlayer_ResetSendLevel (CriManaPlayerHn player)
 Reset send level (main audio track) More...
 
void criManaPlayer_SetSendLevel (CriManaPlayerHn player, CriSint32 ch, CriAtomSpeakerId spk, CriFloat32 level)
 Set send level (main audio track) More...
 
void criManaPlayer_ResetSubAudioSendLevel (CriManaPlayerHn player)
 Reset send level (subaudio track) More...
 
void criManaPlayer_SetSubAudioSendLevel (CriManaPlayerHn player, CriSint32 ch, CriAtomSpeakerId spk, CriFloat32 level)
 Set send level (subaudio track) More...
 
void criManaPlayer_ResetExtraAudioSendLevel (CriManaPlayerHn player)
 Reset the send level of the extra audio track. More...
 
void criManaPlayer_SetExtraAudioSendLevel (CriManaPlayerHn player, CriSint32 ch, CriAtomSpeakerId spk, CriFloat32 level)
 Set the send level of the extra audio track. More...
 
void criManaPlayer_SetBusSendLevelByName (CriManaPlayerHn player, const CriChar8 *bus_name, CriFloat32 level)
 Set bus send level (main audio track) More...
 
void criManaPlayer_SetSubAudioBusSendLevelByName (CriManaPlayerHn player, const CriChar8 *bus_name, CriFloat32 level)
 Set bus send level (sub audio track) More...
 
void criManaPlayer_SetExtraAudioBusSendLevelByName (CriManaPlayerHn player, const CriChar8 *bus_name, CriFloat32 level)
 Set the bus send level of the extra audio track. More...
 
void criManaPlayer_ResetBusSendLevelAll (CriManaPlayerHn player)
 Bus send level reset (all tracks) More...
 
void criManaPlayer_SetSoundRendererType (CriManaPlayerHn player, CriAtomSoundRendererType sound_renderer_type)
 Set sound renderer type. More...
 
void criManaPlayer_SetAsrRackId (CriManaPlayerHn player, CriSint32 asr_rack_id)
 Set the ASR rack ID. More...
 
CriBool criManaPlayer_ReferFrame (CriManaPlayerHn player, CriManaFrameInfo *frame_info)
 Refer to decoded frame information. More...
 
CriBool criManaPlayer_IsFrameOnTime (CriManaPlayerHn player, const CriManaFrameInfo *frame_info)
 Determine frame time. More...
 
CriBool criManaPlayer_KeepFrame (CriManaPlayerHn player, CriManaFrameInfo *frame_info)
 Keep frame. More...
 
CriSint32 criManaPlayer_GetNumberOfKeepFrames (CriManaPlayerHn player)
 Get the number of kept frames. More...
 
void criManaPlayer_CopyFrameToBufferARGB32 (CriManaPlayerHn player, const CriManaFrameInfo *frame_info, CriManaTextureBuffer *frame_buf)
 Get decoding results (32bit ARGB format) More...
 
void criManaPlayer_CopyFrameToBuffersYUV (CriManaPlayerHn player, const CriManaFrameInfo *frame_info, CriManaTextureBuffersYUV *frame_buf)
 Get decoding results (YUV individual buffer format) More...
 
void criManaPlayer_DiscardFrame (CriManaPlayerHn player, const CriManaFrameInfo *frame_info)
 Release frame. More...
 
void criManaPlayer_DiscardOneKeepFrame (CriManaPlayerHn player)
 Release frame. More...
 
void criManaPlayer_SetDataRequestCallback (CriManaPlayerHn player, CriManaPlayerDataRequestCbFunc func, void *obj)
 Register data request callback. More...
 
void criManaPlayer_DeferCallback (CriManaPlayerHn player)
 Request to re-execute the data request callback. More...
 
void criManaPlayer_SetSeekPosition (CriManaPlayerHn player, CriSint32 seek_frame_no)
 Set seek position. More...
 
void criManaPlayer_SetMovieEventSyncMode (CriManaPlayerHn player, CriManaPlayerMovieEventSyncMode mode)
 Set the sync mode of movie events. More...
 
void criManaPlayer_SetSubtitleChannel (CriManaPlayerHn player, CriSint32 channel)
 Get subtitle channel. More...
 
CriUint32 criManaPlayer_GetSubtitleOnTime (CriManaPlayerHn player, CriUint8 *bufptr, CriUint32 bufsize)
 Get subtitles. More...
 
CriManaCuePointInfocriManaPlayer_GetCuePointInfo (CriManaPlayerHn player)
 Get a list of Cuepoint information. More...
 
void criManaPlayer_SetCuePointCallback (CriManaPlayerHn player, CriManaPlayerCuePointCbFunc func, void *obj)
 Set Cuepoint callback. More...
 
CriSint32 criManaPlayer_CalcFrameNoFromTime (CriManaPlayerHn player, CriUint64 count, CriUint64 unit)
 Calculate frame number from playback time. More...
 
CriUint64 criManaPlayer_CalcTimeFromFrameNo (CriManaPlayerHn player, CriSint32 frame_no, CriUint64 unit)
 Calculate playback time from the frame number. More...
 
CriSint32 criManaPlayer_SearchNextEventPointByTime (CriManaPlayerHn player, CriUint64 count, CriUint64 unit, CriSint32 type, CriManaEventPoint *eventinfo)
 Search event point directly after a specified time. More...
 
CriSint32 criManaPlayer_SearchPrevEventPointByTime (CriManaPlayerHn player, CriUint64 count, CriUint64 unit, CriSint32 type, CriManaEventPoint *eventinfo)
 Search event point directly before a specified time. More...
 
void criManaPlayer_SetSpeed (CriManaPlayerHn player, CriSint32 speed_numerator, CriSint32 speed_denominator)
 Set playback speed. More...
 
void criManaPlayer_SetDecodeMode (CriManaPlayerHn player, CriManaDecodeMode mode)
 Set decode operation mode. More...
 
CriSint32 criManaPlayer_CalculateExtDecoderWorkSize (CriManaPlayerHn player, const CriManaPlaybackBasicWorkConfig *config_basic, const CriManaPlaybackExWorkConfig *config_ex)
 Calculate extended decoder work area size. More...
 
void criManaPlayer_SetExtDecoderWork (CriManaPlayerHn player, const CriManaPlaybackBasicWorkConfig *config_basic, const CriManaPlaybackExWorkConfig *config_ex, void *work, CriSint32 work_size)
 Set extended decoder work area. More...
 
void criManaPlayer_SetExtDecoderWorkAllocator (CriManaPlayerHn player, CriManaExtDecoderWorkMallocFunc allocfunc, CriManaExtDecoderWorkFreeFunc freefunc, void *obj)
 Register callback for extended decoder work allocation. More...
 
void criManaPlayer_SetSoundCategoryByName (CriManaPlayerHn player, CriUint32 track_id, const CriChar8 *category_name)
 Audio track category setting. More...
 
void criManaPlayer_UnsetSoundCategory (CriManaPlayerHn player, CriUint32 track_id)
 Delete audio track category. More...
 
void criManaPlayer_SetNumberOfFramesForPrep (CriManaPlayerHn player, CriUint32 num_frames)
 Set number of frames stored during playback preparation. More...
 
CriUint32 criMana_GetVersionNumber (void)
 

Macro Definition Documentation

◆ CRIMANA_SUBTITLE_CHANNEL_OFF

#define CRIMANA_SUBTITLE_CHANNEL_OFF   (-1)

Specified value for turning off subtitle playback.

See also
criManaPlayer_SetSubtitleChannel

Function Documentation

◆ criMana_GetVersionNumber()

CriUint32 criMana_GetVersionNumber ( void  )