36 typedef enum e_pvr_play_status
38 PVR_PLAY_STATUS_NULL = 0,
39 PVR_PLAY_STATUS_STOP = 1,
40 PVR_PLAY_STATUS_PAUSE = 2,
41 PVR_PLAY_STATUS_SF = 3,
42 PVR_PLAY_STATUS_SR = 4,
43 PVR_PLAY_STATUS_NORMAL = 5,
44 PVR_PLAY_STATUS_FF = 6,
45 PVR_PLAY_STATUS_FR = 7,
46 PVR_PLAY_STATUS_QR = 8
49 typedef enum e_pvr_stop_type
51 PVR_STOP_REC_ONLY = 0,
129 U16BIT
APVR_GetPlayList(U32BIT **handle_list, U8BIT ***name_list, U32BIT **rec_status_list,
130 U32BIT **locked_list, U32BIT **selected_list, U32BIT **split_list);
141 U32BIT *locked_list, U32BIT *selected_list, U32BIT *split_list);
158 BOOLEAN
APVR_PlayRecording(U32BIT recording_handle, BOOLEAN resume_playback,
void *monitor_service);
262 U8BIT *prog_crid, U8BIT *other_crid, U32BIT *rec_handle);
406 void APVR_GetDiskTime(U16BIT disk_id, U8BIT *used_hour_ptr, U8BIT *used_min_ptr,
407 U8BIT *free_hour_ptr, U8BIT *free_min_ptr,
408 U8BIT *size_hour_ptr, U8BIT *size_min_ptr);
417 void APVR_GetDiskMbyte(U16BIT disk_id, U32BIT *used_mbyte_ptr, U32BIT *free_mbyte_ptr, U32BIT *size_mbyte_ptr);
532 #ifdef COMMON_INTERFACE 540 void APVR_CIRecordReplyReceived(BOOLEAN start_succeeded, U8BIT slot_id);
void APVR_JTLPlay(void)
quick replay current playing recording
Definition: ap_pvr.c:1594
void APVR_PausePlay(void)
Pause playback.
Definition: ap_pvr.c:1379
BOOLEAN APVR_CheckSpaceDuration(U16BIT disk_id, U32BIT duration)
Check if there is enough space for the recording of the given duration to take place.
Definition: ap_pvr.c:2958
BOOLEAN APVR_PlayRecording(U32BIT recording_handle, BOOLEAN resume_playback, void *monitor_service)
Starts playback of the given recording.
Definition: ap_pvr.c:1035
void * APVR_GetPlaybackService(void)
A service instance is associated to the playback, this function returns its pointer. The handle can be used, for example, to call ADB_ServiceHasSubtitles as it's done for live channels.
Definition: ap_pvr.c:3607
BOOLEAN APVR_GetRecordingHandle(U8BIT path, U32BIT *recording_handle_ptr)
Returns the handle of the recording taking place on the given decode path.
Definition: ap_pvr.c:2870
void APVR_Initialise(void)
Initialise all PVR resources: filters, recordings etc.
Definition: ap_pvr.c:657
BOOLEAN APVR_CheckSpaceForEvent(U16BIT disk_id, void *event_ptr)
Checks if there is enough space for the recording of the given event to take place.
Definition: ap_pvr.c:2898
BOOLEAN APVR_SetPlaybackTime(U32BIT position_in_secs)
Sets returns the number of seconds in playback buffer.
Definition: ap_pvr.c:3162
void APVR_QRPlay(void)
quick replay current playing recording
Definition: ap_pvr.c:1573
U32BIT APVR_GetPauseProgress(void)
Calculates and returns the number of seconds behind live TV.
Definition: ap_pvr.c:3083
void APVR_PidsUpdated(U8BIT path)
This function should be called when there's an update to the PIDs for a service that's being recorded...
Definition: ap_pvr.c:3791
void APVR_FRPlay(void)
If paused, playback will go into the first available slow motion speed in a reverse direction...
Definition: ap_pvr.c:1470
void APVR_NormalPlay(void)
If playback has been paused or is subject to some trick mode, calling this function will result in pl...
Definition: ap_pvr.c:1285
void APVR_StopPlay(BOOLEAN return_to_live)
Stops playback and optionally returns to live TV.
Definition: ap_pvr.c:1306
void APVR_RecordSeries(void *crid_ptr)
Seaches the schedule for events that are part of the given series and that haven't already been recor...
Definition: ap_pvr.c:3267
void APVR_Terminate(void)
Destroy all PVR resources: filters, recordings etc.
Definition: ap_pvr.c:710
void APVR_FFPlay(void)
If paused, playback will go into the first available slow motion speed in a forwards direction...
Definition: ap_pvr.c:1417
U8BIT APVR_StartPauseRecord(void)
Starts recording the live service ready for timeshift playback. The recording may not have started wh...
Definition: ap_pvr.c:2533
BOOLEAN APVR_IsEventInRecordList(U8BIT *prog_crid)
Determines whether the given programme CRID is already in the list of recorded events.
Definition: ap_pvr.c:3247
BOOLEAN APVR_StartNewRecording(U16BIT disk_id, U8BIT path, U8BIT *recording_name, U16BIT event_id, U8BIT *prog_crid, U8BIT *other_crid, U32BIT *rec_handle)
Starts a recording after any tuning has completed and sets the info to be stored with it...
Definition: ap_pvr.c:1839
BOOLEAN APVR_IsRecordingHandle(U8BIT path, U32BIT recording_handle)
Returns TRUE if given recording handle is still in progress on the given decode path.
Definition: ap_pvr.c:2838
U16BIT APVR_GetTimeshiftBufferSize(void)
Returns the maximum size of the timeshift buffer in minutes.
Definition: ap_pvr.c:2445
BOOLEAN APVR_IsPlaying(void)
Returns whether playback is in progress.
Definition: ap_pvr.c:1199
BOOLEAN APVR_AreSelectedRecordings(U32BIT *handles, U16BIT num_handles)
Checks if any recording in a list is selected.
Definition: ap_pvr.c:2402
void APVR_SetEndPadding(S32BIT padding)
Sets the default time that will be added to the end of all recording timers created after this value ...
Definition: ap_pvr.c:807
void APVR_GetDiskTime(U16BIT disk_id, U8BIT *used_hour_ptr, U8BIT *used_min_ptr, U8BIT *free_hour_ptr, U8BIT *free_min_ptr, U8BIT *size_hour_ptr, U8BIT *size_min_ptr)
Gets an estimate of disk space in time (hour / min): used, free and size.
Definition: ap_pvr.c:3014
U8BIT APVR_GetTotalSpacePercentUsed(U16BIT disk_id)
get total percentage of recording space used
Definition: ap_pvr.c:2972
void APVR_SetTimeshiftBufferSize(U16BIT time_in_mins)
Sets the size of the timeshift buffer so that it's able to store a recording of the given length befo...
Definition: ap_pvr.c:2433
BOOLEAN APVR_GetPlaybackElapsedTime(U32BIT handle, U8BIT *hours, U8BIT *mins, U8BIT *secs, U8BIT *progress)
Returns the playback progress in time and as a percentage.
Definition: ap_pvr.c:1229
BOOLEAN APVR_IsTimeshiftRecordingPath(U8BIT path)
Checks whether the given path is the one that's being used for timeshift recording.
Definition: ap_pvr.c:2481
U8BIT APVR_StartPausePlay(void)
Starts playback of a live timeshift recording started with APVR_StartPauseRecord. This function shoul...
Definition: ap_pvr.c:2646
void APVR_TrickModeMuteOff(void)
Unmute for trick mode.
Definition: ap_pvr.c:1764
U32BIT APVR_GetPlaybackHandle(void)
Returns the handle of the recording currently being played back.
Definition: ap_pvr.c:1147
U8BIT APVR_PrepareNewRecording(U16BIT onet_id, U16BIT trans_id, U16BIT service_id, BOOLEAN *new_tuned_service)
Acquires a decode path for recording the given service and tunes to it.
Definition: ap_pvr.c:1795
E_PVR_PLAY_STATUS APVR_GetPlayMode(void)
Returns the current play mode according to the current play speed.
Definition: ap_pvr.c:1608
BOOLEAN APVR_IsInitialised(void)
Use to query whether the PVR function is available and ready to be used.
Definition: ap_pvr.c:745
void APVR_GetDiskMbyte(U16BIT disk_id, U32BIT *used_mbyte_ptr, U32BIT *free_mbyte_ptr, U32BIT *size_mbyte_ptr)
Ges disk space in Mbytes: used, free and size.
Definition: ap_pvr.c:3054
U32BIT APVR_GetPlaybackTime(void)
Calculates and returns the number of seconds in playback buffer.
Definition: ap_pvr.c:3128
BOOLEAN APVR_GetPathRecordingName(U8BIT path, U8BIT **name_ptr)
Get the name of the recording currently taking place on the given decode path.
Definition: ap_pvr.c:2297
void APVR_EncryptRecordings(BOOLEAN state)
Used to set whether all recordings should be encrypted or not. The default is that recordings aren't ...
Definition: ap_pvr.c:3818
U16BIT APVR_GetPlayList(U32BIT **handle_list, U8BIT ***name_list, U32BIT **rec_status_list, U32BIT **locked_list, U32BIT **selected_list, U32BIT **split_list)
Returns a list of all the existing recordings that can be played. All the arrays returned will be all...
Definition: ap_pvr.c:857
void APVR_ReleaseActiveRecordingList(U32BIT *handle_list)
Frees the arrays allocated by APVR_GetActiveRecordingList.
Definition: ap_pvr.c:2277
U8BIT APVR_GetPlaybackPath(void)
Returns the path currently acquired fro playback.
Definition: ap_pvr.c:3189
void APVR_ReleasePlayList(U32BIT *handle_list, U8BIT **name_list, U32BIT *rec_status_list, U32BIT *locked_list, U32BIT *selected_list, U32BIT *split_list)
Frees the arrays allocated by APVR_GetPlayList.
Definition: ap_pvr.c:982
void APVR_StopPauseRecord(BOOLEAN return_to_live)
Stops timeshifted playback and recording and optionally restarts decoding of the live signal...
Definition: ap_pvr.c:2730
BOOLEAN APVR_IsRecordingInProgress(void)
Returns TRUE if there are any recordings currently in progress.
Definition: ap_pvr.c:2798
System Wide Global Technical Data Type Definitions.
void APVR_TrickModeMuteOn(void)
Mute for trick mode.
Definition: ap_pvr.c:1741
void APVR_SetStartPadding(S32BIT padding)
Sets the default time that will be added to the start of all recording timers created after this valu...
Definition: ap_pvr.c:792
BOOLEAN APVR_StopRecording(U32BIT recording_handle)
Stops the given recording.
Definition: ap_pvr.c:2158
U8BIT APVR_GetActiveRecordingList(U32BIT **handle_list)
Returns an array of recordings currently in progress. Use APVR_ReleaseActiveRecordingList to free the...
Definition: ap_pvr.c:2215
BOOLEAN APVR_CheckSpaceForDuration(U16BIT disk_id, U8BIT hours, U8BIT mins)
Check if there is enough space for the recording of the given duration to take place.
Definition: ap_pvr.c:2917
BOOLEAN APVR_IsDecodingFile(void)
Returns the PVR play status.
Definition: ap_pvr.c:1158
void APVR_RecordRecommendations(void *crid_ptr)
Searches the schedule for events that are part of the given recommendation and that haven't already b...
Definition: ap_pvr.c:3433
void APVR_SlowMoPlay(void)
Play in slow mothing mode.
Definition: ap_pvr.c:1521
S16BIT APVR_GetPlaySpeed(void)
Returns the current play speed as a signed percentage value representing the speed, where 100% is normal playback speed.
Definition: ap_pvr.c:1678
BOOLEAN APVR_DeleteAllSelectedRecordings(U32BIT *handles, U16BIT num_handles)
Delete all the recordings marked as selected but not locked in the given list, including all files as...
Definition: ap_pvr.c:2350
void APVR_SetNotifyTime(U16BIT notify_time)
Sets the time, in seconds, when an event will be sent as a notification that a recording is about to ...
Definition: ap_pvr.c:766
BOOLEAN APVR_HandlePrivateTimer(U32BIT timer_handle)
Deals with any private timers started by the PVR module.
Definition: ap_pvr.c:3619
S32BIT APVR_GetStartPadding(void)
Returns the current setting for the start padding time added to all recording timers.
Definition: ap_pvr.c:820
BOOLEAN APVR_FindNextSplitEvent(U32BIT curr_handle, U32BIT *next_handle)
If the current playback recording is a split event then the next chronological part of the event is f...
Definition: ap_pvr.c:3583
BOOLEAN APVR_IsTimeshiftRecording(U32BIT handle)
Checks whether the given recording handle is the timeshift recording handle.
Definition: ap_pvr.c:2506
S32BIT APVR_GetEndPadding(void)
Returns the current setting for the end padding time added to all recording timers.
Definition: ap_pvr.c:831
void APVR_UnselectAllRecordings(U32BIT *handles, U16BIT num_handles)
Un-select all recordings.
Definition: ap_pvr.c:2379
void APVR_EitUpdated(void)
Ensures that any EIT updates are processed to handle scenarios such as checking for new series record...
Definition: ap_pvr.c:3770
BOOLEAN APVR_DeleteRecording(U32BIT handle)
Delete the given recording, including all files associated with it and remove it from the database of...
Definition: ap_pvr.c:2322
BOOLEAN APVR_IsTimeshiftStarted(void)
Checks whether timeshift has been started, which includes both recording and playback.
Definition: ap_pvr.c:2456
U16BIT APVR_GetNotifyTime(void)
Returns the current recording notification time in seconds.
Definition: ap_pvr.c:779
BOOLEAN APVR_SetPlaySpeed(S16BIT speed)
Set current play speed as a signed percentage value representing the speed, where 100% is normal play...
Definition: ap_pvr.c:1712