Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QAVFSampleBufferDelegate Class Reference

#include <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

◆ setVideoFormatFrameRate:

- (void) setVideoFormatFrameRate: (qreal) frameRate

Definition at line 123 of file qavfsamplebufferdelegate.mm.


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