mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-09 10:06:12 -04:00
Co-authored-by: lvsti <lvsti@users.noreply.github.com> Co-authored-by: Sebastian Beckmann <beckmann.sebastian@outlook.de> Co-authored-by: Stefan Huber <sh@signalwerk.ch> Co-authored-by: Ryohei Ikegami <iofg2100@gmail.com> Co-authored-by: Colin Dean <colin.dean@target.com> Co-authored-by: Wolfgang Ladermann <extern.ladermann_wolfgang@allianz.de> Co-authored-by: Simon Eves <simon.eves@omnisci.com> Co-authored-by: Colin Nelson <colnnelson@google.com> Co-authored-by: Yoshimasa Niwa <niw@niw.at> Co-authored-by: Michael Karliner <mike@modern-industry.com> Co-authored-by: Jason Grout <jgrout6@bloomberg.net> Co-authored-by: Alfredo Inostroza <jadenguy@gmail.com> Co-authored-by: Daniel Kennett <daniel@cascable.se> Co-authored-by: Gary Ewan Park <gep13@gep13.co.uk> Co-authored-by: José Carlos Cieni Júnior <cienijr@outlook.com>
23 lines
644 B
C
23 lines
644 B
C
//
|
|
// CMSampleBufferUtils.h
|
|
// dal-plugin
|
|
//
|
|
// Created by John Boiles on 5/8/20.
|
|
//
|
|
|
|
#include <CoreMediaIO/CMIOSampleBuffer.h>
|
|
|
|
OSStatus CMSampleBufferCreateFromData(NSSize size,
|
|
CMSampleTimingInfo timingInfo,
|
|
UInt64 sequenceNumber, NSData *data,
|
|
CMSampleBufferRef *sampleBuffer);
|
|
|
|
OSStatus CMSampleBufferCreateFromDataNoCopy(NSSize size,
|
|
CMSampleTimingInfo timingInfo,
|
|
UInt64 sequenceNumber, NSData *data,
|
|
CMSampleBufferRef *sampleBuffer);
|
|
|
|
CMSampleTimingInfo CMSampleTimingInfoForTimestamp(uint64_t timestampNanos,
|
|
uint32_t fpsNumerator,
|
|
uint32_t fpsDenominator);
|