29 { 640, 480, 24000, 1001},
30 { 176, 120, 15000, 1001},
32 { 352, 240, 15000, 1001},
34 { 704, 480, 15000, 1001},
36 { 720, 480, 30000, 1001},
38 { 1280, 720, 60000, 1001},
40 { 1920, 1080, 30000, 1001},
41 { 1920, 1080, 25, 1 },
42 { 1920, 1080, 60000, 1001},
43 { 1920, 1080, 50, 1 },
44 { 2048, 1080, 24, 1 },
45 { 4096, 2160, 24, 1 },
50 unsigned int ret_idx = 0;
53 sizeof(ff_dirac_schro_video_format_info[0]);
55 for (idx = 1; idx < num_formats; ++idx) {
75 void (*free_func)(
void *))
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
void * data
Data to be stored in queue.
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
void av_freep(void *arg)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer ...
DiracSchroQueueElement * p_tail
Pointer to tail of queue.
void * ff_dirac_schro_queue_pop(DiracSchroQueue *queue)
Return the first element in the queue.
A simple queue implementation used in libdirac and libschroedinger.
int width
picture width / height.
DiracSchroQueueElement * p_head
Pointer to head of queue.
int ff_dirac_schro_queue_push_back(DiracSchroQueue *queue, void *p_data)
Add an element to the end of the queue.
main external API structure.
struct DiracSchroQueueElement * next
Pointer to next element queue.
static const DiracSchroVideoFormatInfo ff_dirac_schro_video_format_info[]
data structures common to libdirac and libschroedinger
void ff_dirac_schro_queue_init(DiracSchroQueue *queue)
Initialise the queue.
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.