#include <vda.h>
Data Fields | |
| VDADecoder | decoder |
| VDA decoder object. | |
| vda_frame * | queue |
| VDA frames queue ordered by presentation timestamp. | |
| pthread_mutex_t | queue_mutex |
| Mutex for locking queue operations. | |
| int | width |
| The frame width. | |
| int | height |
| The frame height. | |
| int | format |
| The frame format. | |
| OSType | cv_pix_fmt_type |
| The pixel format for output image buffers. | |
| uint8_t * | bitstream |
| The current bitstream buffer. | |
| int | bitstream_size |
| The current size of the bitstream. | |
| int | ref_size |
| The reference size used for fast reallocation. | |
The application must make it available as AVCodecContext.hwaccel_context.
Definition at line 85 of file vda.h.
The current bitstream buffer.
Definition at line 148 of file vda.h.
Referenced by decode_slice(), end_frame(), ff_vda_create_decoder(), and ff_vda_destroy_decoder().
The current size of the bitstream.
Definition at line 156 of file vda.h.
Referenced by decode_slice(), end_frame(), and start_frame().
| OSType vda_context::cv_pix_fmt_type |
The pixel format for output image buffers.
Definition at line 140 of file vda.h.
Referenced by ff_vda_create_decoder(), and vda_decoder_callback().
| VDADecoder vda_context::decoder |
VDA decoder object.
Definition at line 92 of file vda.h.
Referenced by decode_slice(), end_frame(), ff_vda_create_decoder(), ff_vda_decoder_decode(), ff_vda_destroy_decoder(), and start_frame().
The frame format.
Definition at line 132 of file vda.h.
Referenced by ff_vda_create_decoder().
The frame height.
Definition at line 124 of file vda.h.
Referenced by ff_vda_create_decoder().
VDA frames queue ordered by presentation timestamp.
Definition at line 100 of file vda.h.
Referenced by ff_vda_queue_pop(), vda_clear_queue(), and vda_decoder_callback().
Mutex for locking queue operations.
Definition at line 108 of file vda.h.
Referenced by ff_vda_create_decoder(), ff_vda_destroy_decoder(), ff_vda_queue_pop(), vda_clear_queue(), and vda_decoder_callback().
The reference size used for fast reallocation.
Definition at line 164 of file vda.h.
Referenced by decode_slice(), and ff_vda_create_decoder().
The frame width.
Definition at line 116 of file vda.h.
Referenced by ff_vda_create_decoder().
1.5.8