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

Side by Side Diff: media/ffmpeg/ffmpeg_deleters.h

Issue 1254953004: Hacking ffvp9 decoder support for profiling. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Supress windows warning 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 unified diff | Download patch
« no previous file with comments | « media/ffmpeg/ffmpeg_common.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // This file contains declarations for deleters for use with |scoped_ptr|. To 5 // This file contains declarations for deleters for use with |scoped_ptr|. To
6 // avoid requiring additional #includes, the (inline) definitions are in 6 // avoid requiring additional #includes, the (inline) definitions are in
7 // ffmpeg_common.h. (Forward declarations of deleters aren't sufficient for 7 // ffmpeg_common.h. (Forward declarations of deleters aren't sufficient for
8 // |scoped_ptr|.) 8 // |scoped_ptr|.)
9 9
10 #ifndef MEDIA_FFMPEG_FFMPEG_DELETERS_H_ 10 #ifndef MEDIA_FFMPEG_FFMPEG_DELETERS_H_
(...skipping 19 matching lines...) Expand all
30 struct ScopedPtrAVFreeContext { 30 struct ScopedPtrAVFreeContext {
31 void operator()(void* x) const; 31 void operator()(void* x) const;
32 }; 32 };
33 33
34 // Frees an AVFrame object in a class that can be passed as a Deleter argument 34 // Frees an AVFrame object in a class that can be passed as a Deleter argument
35 // to scoped_ptr_malloc. 35 // to scoped_ptr_malloc.
36 struct ScopedPtrAVFreeFrame { 36 struct ScopedPtrAVFreeFrame {
37 void operator()(void* x) const; 37 void operator()(void* x) const;
38 }; 38 };
39 39
40 // Frees an AVCodecParserContext object in a class that can be passed as a
41 // Deleter argument to scoped_ptr_malloc.
42 struct ScopedPtrAVFreeParserContext {
43 void operator()(void* x) const;
44 };
45
40 } // namespace media 46 } // namespace media
41 47
42 #endif // MEDIA_FFMPEG_FFMPEG_DELETERS_H_ 48 #endif // MEDIA_FFMPEG_FFMPEG_DELETERS_H_
OLDNEW
« no previous file with comments | « media/ffmpeg/ffmpeg_common.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698