|
FFmpeg
|
Public Attributes | |
| int | is_copy |
| Whether the parent AVCodecContext is a copy of the context which had init() called on it. More... | |
| int | allocate_progress |
| Whether to allocate progress for frame threading. More... | |
| int | last_audio_frame |
| An audio frame with less than required samples has been submitted and padded with silence. More... | |
| AVFrame * | to_free |
| FramePool * | pool |
| void * | thread_ctx |
| DecodeSimpleContext | ds |
| DecodeFilterContext | filter |
| AVPacket * | last_pkt_props |
| Properties (timestamps+side data) extracted from the last packet passed for decoding. | |
| uint8_t * | byte_buffer |
| temporary buffer used for encoders to store their bitstream | |
| unsigned int | byte_buffer_size |
| void * | frame_thread_encoder |
| int | skip_samples |
| Number of audio samples to skip at the start of the next decoded frame. | |
| void * | hwaccel_priv_data |
| hwaccel-specific private data | |
| int | draining |
| checks API usage: after codec draining, flush is required to resume operation | |
| AVPacket * | buffer_pkt |
| buffers for using new encode/decode API through legacy API | |
| int | buffer_pkt_valid |
| AVFrame * | buffer_frame |
| int | draining_done |
| int | compat_decode |
| int | compat_decode_warned |
| size_t | compat_decode_consumed |
| size_t | compat_decode_partial_size |
| AVFrame * | compat_decode_frame |
| int | showed_multi_packet_warning |
| int | skip_samples_multiplier |
| int | nb_draining_errors |
| int AVCodecInternal::allocate_progress |
Whether to allocate progress for frame threading.
The codec must set it to 1 if it uses ff_thread_await/report_progress(), then progress will be allocated in ff_thread_get_buffer(). The frames then MUST be freed with ff_thread_release_buffer().
If the codec does not need to call the progress functions (there are no dependencies between the frames), it should leave this at 0. Then it can decode straight to the user-provided frames (which the user will then free with av_frame_unref()), there is no need to call ff_thread_release_buffer().
| int AVCodecInternal::is_copy |
Whether the parent AVCodecContext is a copy of the context which had init() called on it.
This is used by multithreading - shared tables and picture pointers should be freed from the original context only.
| int AVCodecInternal::last_audio_frame |
An audio frame with less than required samples has been submitted and padded with silence.
Reject all subsequent frames.
1.8.12