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

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

Issue 7203002: Adding ChunkDemuxer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup & commenting Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1
scherkus (not reviewing) 2011/06/22 17:31:09 ?
acolwell GONE FROM CHROMIUM 2011/06/23 16:51:28 Done.
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 4 // found in the LICENSE file.
4 5
5 #ifndef MEDIA_FFMPEG_FFMPEG_COMMON_H_ 6 #ifndef MEDIA_FFMPEG_FFMPEG_COMMON_H_
6 #define MEDIA_FFMPEG_FFMPEG_COMMON_H_ 7 #define MEDIA_FFMPEG_FFMPEG_COMMON_H_
7 8
8 // Used for FFmpeg error codes. 9 // Used for FFmpeg error codes.
9 #include <cerrno> 10 #include <cerrno>
10 11
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const base::TimeDelta& end_time, 103 const base::TimeDelta& end_time,
103 int64* bytes, 104 int64* bytes,
104 base::TimeDelta* range_start, 105 base::TimeDelta* range_start,
105 base::TimeDelta* range_end); 106 base::TimeDelta* range_end);
106 107
107 // Calculates the width and height of the video surface using the video's 108 // Calculates the width and height of the video surface using the video's
108 // encoded dimensions and sample_aspect_ratio. 109 // encoded dimensions and sample_aspect_ratio.
109 int GetSurfaceHeight(AVStream* stream); 110 int GetSurfaceHeight(AVStream* stream);
110 int GetSurfaceWidth(AVStream* stream); 111 int GetSurfaceWidth(AVStream* stream);
111 112
113 void DestroyAVFormatContext(AVFormatContext* format_context);
114
112 } // namespace media 115 } // namespace media
113 116
114 #endif // MEDIA_FFMPEG_FFMPEG_COMMON_H_ 117 #endif // MEDIA_FFMPEG_FFMPEG_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698