Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QAVFSampleBufferDelegate Class Reference

#import <qavfsamplebufferdelegate_p.h>

+ Inheritance diagram for QAVFSampleBufferDelegate:
+ Collaboration diagram for QAVFSampleBufferDelegate:

Instance Methods

(instancetype) - initWithFrameHandler:
 
(void- captureOutput:didOutputSampleBuffer:fromConnection:
 
(void- setHWAccel:
 
(void- setVideoFormatFrameRate:
 

Detailed Description

Definition at line 113 of file qavfsamplebufferdelegate.mm.

Method Documentation

◆ captureOutput:didOutputSampleBuffer:fromConnection:

- (void) captureOutput: (AVCaptureOutput *)  captureOutput
didOutputSampleBuffer: (CMSampleBufferRef)  sampleBuffer
fromConnection: (AVCaptureConnection *)  connection 

Definition at line 123 of file qavfsamplebufferdelegate.mm.

References allocHWFrame(), QFFmpeg::makeAVFrame(), Q_ASSERT, qWarning, and ret.

+ Here is the call graph for this function:

◆ initWithFrameHandler:

- (instancetype) initWithFrameHandler: (std::function<void(const QVideoFrame &)>)  handler

Definition at line 123 of file qavfsamplebufferdelegate.mm.

◆ setHWAccel:

- (void) setHWAccel: (std::unique_ptr< QT_PREPEND_NAMESPACE(QFFmpeg::HWAccel)> &&)  accel

References function, and QT_PREPEND_NAMESPACE().

+ Here is the call graph for this function:

◆ setVideoFormatFrameRate:

- (void) setVideoFormatFrameRate: (qreal frameRate

Definition at line 123 of file qavfsamplebufferdelegate.mm.


The documentation for this class was generated from the following files: