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

Unified Diff: content/common/gpu/media/vt_stubs_header.fragment

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix several more bot-identified build issues Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/vt_stubs_header.fragment
diff --git a/content/common/gpu/media/vt_stubs_header.fragment b/content/common/gpu/media/vt_stubs_header.fragment
deleted file mode 100644
index 16c17d3e886627bb79898b2949fc846e1812ae27..0000000000000000000000000000000000000000
--- a/content/common/gpu/media/vt_stubs_header.fragment
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <CoreFoundation/CoreFoundation.h>
-#include <stddef.h>
-#include <stdint.h>
-
-extern "C" {
-
-//
-// Declare CoreMedia types.
-//
-
-typedef signed long CMItemCount;
-typedef uint32_t CMBlockBufferFlags;
-typedef struct OpaqueCMBlockBuffer *CMBlockBufferRef;
-typedef const struct opaqueCMFormatDescription *CMFormatDescriptionRef;
-typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef;
-typedef struct opaqueCMSampleBuffer *CMSampleBufferRef;
-
-typedef int64_t CMTimeValue;
-typedef int32_t CMTimeScale;
-typedef int64_t CMTimeEpoch;
-typedef uint32_t CMTimeFlags;
-
-typedef struct {
- CMTimeValue value;
- CMTimeScale timescale;
- CMTimeFlags flags;
- CMTimeEpoch epoch;
-} CMTime;
-
-typedef struct {
- CMTime duration;
- CMTime presentationTimeStamp;
- CMTime decodeTimeStamp;
-} CMSampleTimingInfo;
-
-typedef struct {
- int32_t width;
- int32_t height;
-} CMVideoDimensions;
-
-typedef struct {
- uint32_t version;
- void *(*AllocateBlock)(void *refCon, size_t sizeInBytes);
- void (*FreeBlock)(void *refCon, void *doomedMemoryBlock, size_t sizeInBytes);
- void *refCon;
-} CMBlockBufferCustomBlockSource;
-
-typedef OSStatus (*CMSampleBufferMakeDataReadyCallback)(
- CMSampleBufferRef sbuf,
- void *makeDataReadyRefcon);
-
-//
-// Declare VideoToolbox types.
-//
-
-typedef struct __CVBuffer *CVBufferRef;
-typedef CVBufferRef CVImageBufferRef;
-typedef uint32_t VTDecodeFrameFlags;
-enum {
- kVTDecodeFrame_EnableAsynchronousDecompression = 1 << 0,
- kVTDecodeFrame_DoNotOutputFrame = 1 << 1,
- kVTDecodeFrame_1xRealTimePlayback = 1 << 2,
- kVTDecodeFrame_EnableTemporalProcessing = 1 << 3,
-};
-typedef UInt32 VTDecodeInfoFlags;
-typedef struct OpaqueVTDecompressionSession* VTDecompressionSessionRef;
-typedef CFTypeRef VTSessionRef;
-
-typedef void (*VTDecompressionOutputCallback)(
- void *decompressionOutputRefCon,
- void *sourceFrameRefCon,
- OSStatus status,
- VTDecodeInfoFlags infoFlags,
- CVImageBufferRef imageBuffer,
- CMTime presentationTimeStamp,
- CMTime presentationDuration);
-
-typedef struct {
- VTDecompressionOutputCallback decompressionOutputCallback;
- void *decompressionOutputRefCon;
-} VTDecompressionOutputCallbackRecord;
-
-} // extern "C"

Powered by Google App Engine
This is Rietveld 408576698