Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: content/common/gpu/media/vt.sig

Issue 773673002: Add UMA to track software fallback in VTVideoDecodeAccelerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BooleanHardwareAccelerated Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/common/gpu/media/vt_stubs_header.fragment » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //------------------------------------------------ 1 //------------------------------------------------
2 // Functions from CoreMedia.framework used in VTVideoDecodeAccelerator. 2 // Functions from CoreMedia.framework used in VTVideoDecodeAccelerator.
3 //------------------------------------------------ 3 //------------------------------------------------
4 OSStatus CMBlockBufferCreateWithMemoryBlock(CFAllocatorRef structureAllocator, v oid *memoryBlock, size_t blockLength, CFAllocatorRef blockAllocator, const CMBlo ckBufferCustomBlockSource *customBlockSource, size_t offsetToData, size_t dataLe ngth, CMBlockBufferFlags flags, CMBlockBufferRef *newBBufOut); 4 OSStatus CMBlockBufferCreateWithMemoryBlock(CFAllocatorRef structureAllocator, v oid *memoryBlock, size_t blockLength, CFAllocatorRef blockAllocator, const CMBlo ckBufferCustomBlockSource *customBlockSource, size_t offsetToData, size_t dataLe ngth, CMBlockBufferFlags flags, CMBlockBufferRef *newBBufOut);
5 OSStatus CMBlockBufferReplaceDataBytes(const void *sourceBytes, CMBlockBufferRef destinationBuffer, size_t offsetIntoDestination, size_t dataLength); 5 OSStatus CMBlockBufferReplaceDataBytes(const void *sourceBytes, CMBlockBufferRef destinationBuffer, size_t offsetIntoDestination, size_t dataLength);
6 OSStatus CMSampleBufferCreate(CFAllocatorRef allocator, CMBlockBufferRef dataBuf fer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallbac k, void *makeDataReadyRefcon, CMFormatDescriptionRef formatDescription, CMItemCo unt numSamples, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sa mpleTimingArray, CMItemCount numSampleSizeEntries, const size_t *sampleSizeArray , CMSampleBufferRef *sBufOut); 6 OSStatus CMSampleBufferCreate(CFAllocatorRef allocator, CMBlockBufferRef dataBuf fer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallbac k, void *makeDataReadyRefcon, CMFormatDescriptionRef formatDescription, CMItemCo unt numSamples, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sa mpleTimingArray, CMItemCount numSampleSizeEntries, const size_t *sampleSizeArray , CMSampleBufferRef *sBufOut);
7 OSStatus CMVideoFormatDescriptionCreateFromH264ParameterSets(CFAllocatorRef allo cator, size_t parameterSetCount, const uint8_t *const *parameterSetPointers, con st size_t *parameterSetSizes, int NALUnitHeaderLength, CMFormatDescriptionRef *f ormatDescriptionOut); 7 OSStatus CMVideoFormatDescriptionCreateFromH264ParameterSets(CFAllocatorRef allo cator, size_t parameterSetCount, const uint8_t *const *parameterSetPointers, con st size_t *parameterSetSizes, int NALUnitHeaderLength, CMFormatDescriptionRef *f ormatDescriptionOut);
8 CMVideoDimensions CMVideoFormatDescriptionGetDimensions(CMVideoFormatDescription Ref videoDesc); 8 CMVideoDimensions CMVideoFormatDescriptionGetDimensions(CMVideoFormatDescription Ref videoDesc);
9 9
10 //------------------------------------------------ 10 //------------------------------------------------
11 // Functions from VideoToolbox.framework used in VTVideoDecodeAccelerator. 11 // Functions from VideoToolbox.framework used in VTVideoDecodeAccelerator.
12 //------------------------------------------------ 12 //------------------------------------------------
13 Boolean VTDecompressionSessionCanAcceptFormatDescription(VTDecompressionSessionR ef session, CMFormatDescriptionRef newFormatDesc); 13 Boolean VTDecompressionSessionCanAcceptFormatDescription(VTDecompressionSessionR ef session, CMFormatDescriptionRef newFormatDesc);
14 OSStatus VTDecompressionSessionCreate(CFAllocatorRef allocator, CMVideoFormatDes criptionRef videoFormatDescription, CFDictionaryRef videoDecoderSpecification, C FDictionaryRef destinationImageBufferAttributes, const VTDecompressionOutputCall backRecord *outputCallback, VTDecompressionSessionRef *decompressionSessionOut); 14 OSStatus VTDecompressionSessionCreate(CFAllocatorRef allocator, CMVideoFormatDes criptionRef videoFormatDescription, CFDictionaryRef videoDecoderSpecification, C FDictionaryRef destinationImageBufferAttributes, const VTDecompressionOutputCall backRecord *outputCallback, VTDecompressionSessionRef *decompressionSessionOut);
15 OSStatus VTDecompressionSessionDecodeFrame(VTDecompressionSessionRef session, CM SampleBufferRef sampleBuffer, VTDecodeFrameFlags decodeFlags, void *sourceFrameR efCon, VTDecodeInfoFlags *infoFlagsOut); 15 OSStatus VTDecompressionSessionDecodeFrame(VTDecompressionSessionRef session, CM SampleBufferRef sampleBuffer, VTDecodeFrameFlags decodeFlags, void *sourceFrameR efCon, VTDecodeInfoFlags *infoFlagsOut);
16 OSStatus VTDecompressionSessionWaitForAsynchronousFrames(VTDecompressionSessionR ef session); 16 OSStatus VTDecompressionSessionWaitForAsynchronousFrames(VTDecompressionSessionR ef session);
17 OSStatus VTSessionCopyProperty(VTSessionRef session, CFStringRef propertyKey, CF AllocatorRef allocator, void *propertyValueOut);
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/vt_stubs_header.fragment » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698