This file contains the CCI header information.
More...
|
#define | NUM_OF_PING_PONG_BUFFER 2 |
|
|
typedef int | pfnReadCallback(int StreamNo, unsigned char *pAlgorithmBuffer, int Size, int UpdateTail, void *UserData) |
| Declares pfnReadCallback as a ptr to a function that Read data from the input stream.
|
|
typedef int | pfnSeekCallback(int StreamNo, int offset, int position, void *UserData) |
| Declares pfnSeekCallback as a pointer to a function that seek the input stream.
|
|
typedef int | pfnFtellCallback(int StreamNo, void *UserData) |
| Declares pfnFtellCallback as a pointer to a function that gives current position of the input stream.
|
|
◆ ccidec_sink_pad_activation_handler()
uint8_t ccidec_sink_pad_activation_handler |
( |
StreamPad * | pad, |
|
|
uint8_t | active ) |
This function activates the sink pad and allocates memory for the cci decoder structure and initializes this structure. Activates or deactivates the sink pad for incoming data.
- Parameters
-
pad | pad handle |
active | boolean o activate/disactivate pad |
- Returns
- pad error return
◆ ccidec_sink_pad_event_handler()
uint8_t ccidec_sink_pad_event_handler |
( |
StreamPad * | pad, |
|
|
StreamEvent * | event ) |
This function handles the pipeline events for the cci decoder. These events are downstream events and all events will be pushed to the peer pad.
- Parameters
-
pad | pad handle |
event | event enumeration |
- Returns
- pad error return
◆ ccidec_src_pad_event_handler()
uint8_t ccidec_src_pad_event_handler |
( |
StreamPad * | pad, |
|
|
StreamEvent * | event ) |
This function handles the src events for the cci decoder. These events are upstream events and all events will be pushed to the peer pad.
- Parameters
-
pad | pad handle |
event | event enumeration |
- Returns
- pad error return
◆ ccidec_src_pad_query_handler()
uint8_t ccidec_src_pad_query_handler |
( |
StreamPad * | pad, |
|
|
StreamQuery * | query ) |
This function handles the src queries for the cci decoder.
- Parameters
-
pad | pad handle |
query | event enumeration |
- Returns
- pad error return
◆ ccidec_sink_pad_process_handler()
int32_t ccidec_sink_pad_process_handler |
( |
StreamPad * | pad | ) |
|
Used in pull mode, the filesrc process handler should be NULL so this function will be called instead. This function will call the CCI functions to initialize and decode the file. The CCI callback will be used to pull data from the filesrc when needed.
- Parameters
-
- Returns
- pad error return