| OLD | NEW | 
|    1 // Copyright 2014 The Chromium Authors. All rights reserved. |    1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #include "media/base/mac/videotoolbox_glue.h" |    5 #include "media/base/mac/videotoolbox_glue.h" | 
|    6  |    6  | 
|    7 #include <dlfcn.h> |    7 #include <dlfcn.h> | 
|    8 #import <Foundation/Foundation.h> |    8 #import <Foundation/Foundation.h> | 
|    9  |    9  | 
|   10 #include "base/lazy_instance.h" |   10 #include "base/lazy_instance.h" | 
|   11 #include "base/macros.h" |   11 #include "base/macros.h" | 
|   12 #include "base/memory/scoped_ptr.h" |  | 
|   13  |   12  | 
|   14 // This class stores VideoToolbox library symbol pointers. |   13 // This class stores VideoToolbox library symbol pointers. | 
|   15 struct VideoToolboxGlue::Library { |   14 struct VideoToolboxGlue::Library { | 
|   16   typedef OSStatus (*VTCompressionSessionCreateMethod)( |   15   typedef OSStatus (*VTCompressionSessionCreateMethod)( | 
|   17       CFAllocatorRef, |   16       CFAllocatorRef, | 
|   18       int32_t, |   17       int32_t, | 
|   19       int32_t, |   18       int32_t, | 
|   20       CoreMediaGlue::CMVideoCodecType, |   19       CoreMediaGlue::CMVideoCodecType, | 
|   21       CFDictionaryRef, |   20       CFDictionaryRef, | 
|   22       CFDictionaryRef, |   21       CFDictionaryRef, | 
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  234 KEY_ACCESSOR(kVTEncodeFrameOptionKey_ForceKeyFrame) |  233 KEY_ACCESSOR(kVTEncodeFrameOptionKey_ForceKeyFrame) | 
|  235 KEY_ACCESSOR(kVTProfileLevel_H264_Baseline_AutoLevel) |  234 KEY_ACCESSOR(kVTProfileLevel_H264_Baseline_AutoLevel) | 
|  236 KEY_ACCESSOR(kVTProfileLevel_H264_Main_AutoLevel) |  235 KEY_ACCESSOR(kVTProfileLevel_H264_Main_AutoLevel) | 
|  237 KEY_ACCESSOR(kVTProfileLevel_H264_Extended_AutoLevel) |  236 KEY_ACCESSOR(kVTProfileLevel_H264_Extended_AutoLevel) | 
|  238 KEY_ACCESSOR(kVTProfileLevel_H264_High_AutoLevel) |  237 KEY_ACCESSOR(kVTProfileLevel_H264_High_AutoLevel) | 
|  239 KEY_ACCESSOR(kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder) |  238 KEY_ACCESSOR(kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder) | 
|  240 KEY_ACCESSOR( |  239 KEY_ACCESSOR( | 
|  241     kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder) |  240     kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder) | 
|  242  |  241  | 
|  243 #undef KEY_ACCESSOR |  242 #undef KEY_ACCESSOR | 
| OLD | NEW |