[−][src]Struct ffmpeg_dev::sys::AVCodecInternal
@}
Fields
is_copy: c_intWhether 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.
allocate_progress: c_intWhether 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().
last_audio_frame: c_intAn audio frame with less than required samples has been submitted and padded with silence. Reject all subsequent frames.
to_free: *mut AVFramepool: *mut FramePoolthread_ctx: *mut c_voidds: DecodeSimpleContextfilter: DecodeFilterContextlast_pkt_props: *mut AVPacketProperties (timestamps+side data) extracted from the last packet passed for decoding.
byte_buffer: *mut u8temporary buffer used for encoders to store their bitstream
byte_buffer_size: c_uintframe_thread_encoder: *mut c_voidskip_samples: c_intNumber of audio samples to skip at the start of the next decoded frame
hwaccel_priv_data: *mut c_voidhwaccel-specific private data
draining: c_intchecks API usage: after codec draining, flush is required to resume operation
buffer_pkt: *mut AVPacketbuffers for using new encode/decode API through legacy API
buffer_pkt_valid: c_intbuffer_frame: *mut AVFramedraining_done: c_intcompat_decode: c_intcompat_decode_warned: c_intcompat_decode_consumed: usizecompat_decode_partial_size: usizecompat_decode_frame: *mut AVFrameshowed_multi_packet_warning: c_intskip_samples_multiplier: c_intnb_draining_errors: c_intchanged_frames_dropped: c_intinitial_format: c_intinitial_width: c_intinitial_height: c_intinitial_sample_rate: c_intinitial_channels: c_intinitial_channel_layout: u64Trait Implementations
impl Clone for AVCodecInternal[src]
fn clone(&self) -> AVCodecInternal[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for AVCodecInternal[src]
impl Debug for AVCodecInternal[src]
Auto Trait Implementations
impl !Send for AVCodecInternal
impl !Sync for AVCodecInternal
impl Unpin for AVCodecInternal
impl UnwindSafe for AVCodecInternal
impl RefUnwindSafe for AVCodecInternal
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,