pub struct AssetReaderVideoCompositionOutput { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
AVAssetReaderVideoCompositionOutput.
Implementations§
Source§impl AssetReaderVideoCompositionOutput
impl AssetReaderVideoCompositionOutput
Sourcepub fn new(
tracks: &[AssetTrack],
settings: Option<&VideoOutputSettings>,
) -> Result<Self, AVPlayerError>
pub fn new( tracks: &[AssetTrack], settings: Option<&VideoOutputSettings>, ) -> Result<Self, AVPlayerError>
Calls the AVPlayer framework counterpart for new.
Sourcepub fn set_always_copies_sample_data(&self, always_copies: bool)
pub fn set_always_copies_sample_data(&self, always_copies: bool)
Calls the AVPlayer framework counterpart for set_always_copies_sample_data.
Sourcepub fn media_type(&self) -> Result<MediaType, AVPlayerError>
pub fn media_type(&self) -> Result<MediaType, AVPlayerError>
Calls the AVPlayer framework counterpart for media_type.
Sourcepub fn copy_next_sample_buffer(&self) -> Option<CMSampleBuffer>
pub fn copy_next_sample_buffer(&self) -> Option<CMSampleBuffer>
Calls the AVPlayer framework counterpart for copy_next_sample_buffer.
Sourcepub fn copy_next_video_pixel_buffer(&self) -> Option<CVPixelBuffer>
pub fn copy_next_video_pixel_buffer(&self) -> Option<CVPixelBuffer>
Calls the AVPlayer framework counterpart for copy_next_video_pixel_buffer.
Trait Implementations§
impl Send for AssetReaderVideoCompositionOutput
Auto Trait Implementations§
impl Freeze for AssetReaderVideoCompositionOutput
impl RefUnwindSafe for AssetReaderVideoCompositionOutput
impl !Sync for AssetReaderVideoCompositionOutput
impl Unpin for AssetReaderVideoCompositionOutput
impl UnsafeUnpin for AssetReaderVideoCompositionOutput
impl UnwindSafe for AssetReaderVideoCompositionOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more