difference between sample buffer

Created Diff never expires
65 削除
合計
削除
単語
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diffchecker logo
Diffchecker Pro
83
11 追加
合計
追加
単語
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diffchecker logo
Diffchecker Pro
30
// old sample buffer
// new sample buffer


CMSampleBuffer 0x116e1c1f0 retainCount: 12 allocator: 0x204c8fec8
▿ Optional<CMSampleBufferRef>
- some : CMSampleBuffer 0x116c1ad00 retainCount: 11 allocator: 0x204c8fec8
invalid = NO
invalid = NO
dataReady = YES
dataReady = YES
makeDataReadyCallback = 0x0
makeDataReadyCallback = 0x0
makeDataReadyRefcon = 0x0
makeDataReadyRefcon = 0x0
buffer-level attachments:
formatDescription = <CMVideoFormatDescription 0x2818a6880 [0x204c8fec8]> {
Orientation(P) = 1
DPIWidth (P) = 72
{Exif} (P) = {
ApertureValue = "1.663754482383346";
BrightnessValue = "2.614977499069267";
ColorSpace = 1;
DateTimeDigitized = "2023:11:22 22:17:20";
DateTimeOriginal = "2023:11:22 22:17:20";
ExifVersion = 0232;
ExposureBiasValue = 0;
ExposureTime = "0.02";
FNumber = "1.78";
Flash = 0;
FocalLenIn35mmFilm = 55;
FocalLength = "6.86";
ISOSpeedRatings = (
125
);
LensMake = Apple;
LensModel = "iPhone 14 Pro back camera 6.86mm f/1.78";
LensSpecification = (
"6.86",
"6.86",
"1.78",
"1.78"
);
MeteringMode = 5;
OffsetTime = "+05:30";
OffsetTimeDigitized = "+05:30";
OffsetTimeOriginal = "+05:30";
PixelXDimension = 1920;
PixelYDimension = 1080;
SceneType = 1;
SensingMethod = 2;
ShutterSpeedValue = "5.643784056825988";
SubsecTimeDigitized = 402;
SubsecTimeOriginal = 402;
WhiteBalance = 0;
}
{TIFF} (P) = {
DateTime = "2023:11:22 22:17:20";
HostComputer = "iPhone 14 Pro";
Make = Apple;
Model = "iPhone 14 Pro";
ResolutionUnit = 2;
Software = "16.6.1";
XResolution = 72;
YResolution = 72;
}
DPIHeight (P) = 72
formatDescription = <CMVideoFormatDescription 0x2818ba760 [0x204c8fec8]> {
mediaType:'vide'
mediaType:'vide'
mediaSubType:'420v'
mediaSubType:'420v'
mediaSpecific: {
mediaSpecific: {
codecType: '420v' dimensions: 1920 x 1080
codecType: '420v' dimensions: 1080 x 1920
}
}
extensions: {{
extensions: {{
CVBytesPerRow = 2904;
CVBytesPerRow = 1636;
CVImageBufferColorPrimaries = "ITU_R_709_2";
CVImageBufferColorPrimaries = "ITU_R_709_2";
CVImageBufferTransferFunction = "ITU_R_709_2";
CVImageBufferTransferFunction = "ITU_R_709_2";
CVImageBufferYCbCrMatrix = "ITU_R_709_2";
CVImageBufferYCbCrMatrix = "ITU_R_709_2";
Version = 2;
Version = 2;
}}
}}
}
}
sbufToTrackReadiness = 0x0
sbufToTrackReadiness = 0x0
numSamples = 1
numSamples = 1
outputPTS = {59723766229682/1000000000 = 59723.766}(based on outputPresentationTimeStamp)
outputPTS = {59723766229682/1000000000 = 59723.766}(based on cachedOutputPresentationTimeStamp)
sampleTimingArray[1] = {
sampleTimingArray[1] = {
{PTS = {59723766229682/1000000000 = 59723.766}, DTS = {INVALID}, duration = {INVALID}},
{PTS = {59723766229682/1000000000 = 59723.766}, DTS = {INVALID}, duration = {INVALID}},
}
}
sampleAttachmentsArray[0] = {
imageBuffer = 0x282099130
sample 0:
}
imageBuffer = 0x282080370