26 #ifndef AVCODEC_LIBDIRAC_LIBSCHRO_H
27 #define AVCODEC_LIBDIRAC_LIBSCHRO_H
104 void (*free_func)(
void *));
uint32_t size
encoded frame size
void * data
Data to be stored in queue.
void ff_dirac_schro_queue_init(DiracSchroQueue *queue)
Initialise the queue.
uint8_t * p_encbuf
encoded frame data
uint32_t frame_num
encoded frame number.
uint16_t key_frame
key frame flag.
contains a single encoded frame returned from Dirac or Schroedinger
void * ff_dirac_schro_queue_pop(DiracSchroQueue *queue)
Return the first element in the queue.
DiracSchroQueueElement * p_tail
Pointer to tail of queue.
struct DiracSchroEncodedFrame DiracSchroEncodedFrame
contains a single encoded frame returned from Dirac or Schroedinger
A simple queue implementation used in libdirac and libschroedinger.
struct DiracSchroQueueElement DiracSchroQueueElement
queue element
DiracSchroQueueElement * p_head
Pointer to head of queue.
main external API structure.
struct DiracSchroQueueElement * next
Pointer to next element queue.
int ff_dirac_schro_queue_push_back(DiracSchroQueue *queue, void *p_data)
Add an element to the end of the queue.
struct DiracSchroQueue DiracSchroQueue
A simple queue implementation used in libdirac and libschroedinger.
unsigned int ff_dirac_schro_get_video_format_idx(AVCodecContext *avccontext)
Returns the index into the Dirac Schro common video format info table.
void ff_dirac_schro_queue_free(DiracSchroQueue *queue, void(*free_func)(void *))
Free the queue resources.