RDK-V AvSync HAL 1.0.0
 
Loading...
Searching...
No Matches

RDK HAL AVSync Public API. More...

#include <stdint.h>
#include <stdbool.h>
Include dependency graph for avsync-soc.h:

Go to the source code of this file.

Data Structures

struct  AVSyncVideoFrame_
 This structure is to encapsulate information related to a video frame's metadata. More...
 

Typedefs

typedef struct AVSyncVideoFrame_ AVSyncVideoFrame
 
typedef void(* AVSyncFrameFree) (AVSyncVideoFrame *frame)
 Frame delete callback prototype.
 

Functions

void * avsync_soc_init (int refreshRate, int syncType, int *sessionId, int *session)
 Initializes AV Sync session.
 
void avsync_soc_term (void *sync, int session)
 Terminates AV Sync session.
 
int avsync_soc_set_mode (void *sync, int type)
 Sets Mode for AV Sync session.
 
void avsync_soc_free_frame_callback (void *sync, AVSyncFrameFree *freeCB)
 Registers the callback to free the allocated video frames and metadata.
 
bool avsync_soc_push_frame (void *sync, AVSyncVideoFrame *f)
 Push a video frame to the AVSync module.
 
AVSyncVideoFrameavsync_soc_pop_frame (void *sync)
 Pop a video frame from the AVSync module.
 
void avsync_soc_set_rate (void *sync, float rate)
 Sets playback rate for AV Sync session.
 
void avsync_soc_pause (void *sync, bool pause)
 Pauses or resume AV Sync session.
 
void avsync_soc_set_interval (void *sync, uint32_t interval)
 Sets vsync interval for AV Sync session.
 
void avsync_soc_eos (void *sync)
 Signals EOS for AV Sync session.
 

Detailed Description

RDK HAL AVSync Public API.

This file defines the structures and functions for the RDK HAL AVSync

Abbreviations
  • HAL: Hardware Abstraction Layer
  • AV Sync: Audio Video Synchronization
  • API: Application Programming Interface
  • SoC: System on Chip
  • pts: Presentation timestamp