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

Side by Side Diff: media/base/mac/coremedia_glue.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/coremedia_glue.h" 5 #include "media/base/mac/coremedia_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/logging.h" 11 #include "base/logging.h"
11 #include "base/lazy_instance.h"
12 12
13 namespace { 13 namespace {
14 14
15 // This class is used to retrieve some CoreMedia library functions. It must be 15 // This class is used to retrieve some CoreMedia library functions. It must be
16 // used as a LazyInstance so that it is initialised once and in a thread-safe 16 // used as a LazyInstance so that it is initialised once and in a thread-safe
17 // way. Normally no work is done in constructors: LazyInstance is an exception. 17 // way. Normally no work is done in constructors: LazyInstance is an exception.
18 class CoreMediaLibraryInternal { 18 class CoreMediaLibraryInternal {
19 public: 19 public:
20 typedef CoreMediaGlue::CMTime (*CMTimeMakeMethod)(int64_t, int32_t); 20 typedef CoreMediaGlue::CMTime (*CMTimeMakeMethod)(int64_t, int32_t);
21 21
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 int* NALUnitHeaderLengthOut) { 330 int* NALUnitHeaderLengthOut) {
331 return g_coremedia_handle.Get() 331 return g_coremedia_handle.Get()
332 .cm_video_format_description_get_h264_parameter_set_at_index_method()( 332 .cm_video_format_description_get_h264_parameter_set_at_index_method()(
333 videoDesc, 333 videoDesc,
334 parameterSetIndex, 334 parameterSetIndex,
335 parameterSetPointerOut, 335 parameterSetPointerOut,
336 parameterSetSizeOut, 336 parameterSetSizeOut,
337 parameterSetCountOut, 337 parameterSetCountOut,
338 NALUnitHeaderLengthOut); 338 NALUnitHeaderLengthOut);
339 } 339 }
OLDNEW
« no previous file with comments | « ios/web/webui/crw_web_ui_manager.mm ('k') | media/video/capture/mac/video_capture_device_decklink_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698