Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
difference between sample buffer
Created
3 years ago
Diff never expires
Clear
Export
Share
Explain
65 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
83 lines
Copy
11 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
30 lines
Copy
Copy
Copied
Copy
Copied
//
old
sample buffer
//
new
sample buffer
Copy
Copied
Copy
Copied
CMSampleBuffer 0x116
e1c1f
0 retainCount:
12
allocator: 0x204c8fec8
▿ Optional<CMSampleBufferRef>
- some :
CMSampleBuffer 0x116
c1ad0
0 retainCount:
11
allocator: 0x204c8fec8
invalid = NO
invalid = NO
dataReady = YES
dataReady = YES
makeDataReadyCallback = 0x0
makeDataReadyCallback = 0x0
makeDataReadyRefcon = 0x0
makeDataReadyRefcon = 0x0
Copy
Copied
Copy
Copied
buffer-level attachments:
formatDescription = <CMVideoFormatDescription 0x2818
a688
0 [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 0x2818
ba76
0 [0x204c8fec8]> {
mediaType:'vide'
mediaType:'vide'
mediaSubType:'420v'
mediaSubType:'420v'
mediaSpecific: {
mediaSpecific: {
Copy
Copied
Copy
Copied
codecType: '420v' dimensions:
1920
x
1080
codecType: '420v' dimensions:
1080
x
1920
}
}
extensions: {{
extensions: {{
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
outputPTS = {59723766229682/1000000000 = 59723.766}(based on
o
utputPresentationTimeStamp)
outputPTS = {59723766229682/1000000000 = 59723.766}(based on
cachedO
utputPresentationTimeStamp)
sampleTimingArray[1] = {
sampleTimingArray[1] = {
{PTS = {59723766229682/1000000000 = 59723.766}, DTS = {INVALID}, duration = {INVALID}},
{PTS = {59723766229682/1000000000 = 59723.766}, DTS = {INVALID}, duration = {INVALID}},
}
}
Copy
Copied
Copy
Copied
sampleAttachmentsArray[0] = {
imageBuffer = 0x2820
9913
0
sample 0:
}
imageBuffer = 0x2820
8037
0
Saved diffs
Original text
Open file
// old sample buffer CMSampleBuffer 0x116e1c1f0 retainCount: 12 allocator: 0x204c8fec8 invalid = NO dataReady = YES makeDataReadyCallback = 0x0 makeDataReadyRefcon = 0x0 buffer-level attachments: 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' mediaSubType:'420v' mediaSpecific: { codecType: '420v' dimensions: 1920 x 1080 } extensions: {{ CVBytesPerRow = 2904; CVImageBufferColorPrimaries = "ITU_R_709_2"; CVImageBufferTransferFunction = "ITU_R_709_2"; CVImageBufferYCbCrMatrix = "ITU_R_709_2"; Version = 2; }} } sbufToTrackReadiness = 0x0 numSamples = 1 outputPTS = {59723766229682/1000000000 = 59723.766}(based on outputPresentationTimeStamp) sampleTimingArray[1] = { {PTS = {59723766229682/1000000000 = 59723.766}, DTS = {INVALID}, duration = {INVALID}}, } sampleAttachmentsArray[0] = { sample 0: } imageBuffer = 0x282080370
Changed text
Open file
// new sample buffer ▿ Optional<CMSampleBufferRef> - some : CMSampleBuffer 0x116c1ad00 retainCount: 11 allocator: 0x204c8fec8 invalid = NO dataReady = YES makeDataReadyCallback = 0x0 makeDataReadyRefcon = 0x0 formatDescription = <CMVideoFormatDescription 0x2818a6880 [0x204c8fec8]> { mediaType:'vide' mediaSubType:'420v' mediaSpecific: { codecType: '420v' dimensions: 1080 x 1920 } extensions: {{ CVBytesPerRow = 1636; CVImageBufferColorPrimaries = "ITU_R_709_2"; CVImageBufferTransferFunction = "ITU_R_709_2"; CVImageBufferYCbCrMatrix = "ITU_R_709_2"; Version = 2; }} } sbufToTrackReadiness = 0x0 numSamples = 1 outputPTS = {59723766229682/1000000000 = 59723.766}(based on cachedOutputPresentationTimeStamp) sampleTimingArray[1] = { {PTS = {59723766229682/1000000000 = 59723.766}, DTS = {INVALID}, duration = {INVALID}}, } imageBuffer = 0x282099130
Find difference