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

Side by Side Diff: source/libvpx/third_party/libmkv/WebMElement.h

Issue 168343002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: libvpx: Pull from upstream Created 6 years, 10 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 // Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1 // Copyright (c) 2010 The WebM project authors. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the LICENSE file in the root of the source 4 // that can be found in the LICENSE file in the root of the source
5 // tree. An additional intellectual property rights grant can be found 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 8
9 9
10 #ifndef MKV_CONTEXT_HPP 10 #ifndef MKV_CONTEXT_HPP
11 #define MKV_CONTEXT_HPP 1 11 #define MKV_CONTEXT_HPP 1
12 12
13 void writeSimpleBock(EbmlGlobal *ebml, unsigned char trackNumber, unsigned short timeCode,
14 int isKeyframe, unsigned char lacingFlag, int discardable,
15 unsigned char *data, unsigned long dataLength);
16
17
18 // these are helper functions 13 // these are helper functions
19 void writeHeader(EbmlGlobal *ebml); 14 void writeHeader(EbmlGlobal *ebml);
20 void writeSegmentInformation(EbmlGlobal *ebml, EbmlLoc *startInfo, unsigned long timeCodeScale, double duration); 15 void writeSegmentInformation(EbmlGlobal *ebml, EbmlLoc *startInfo,
16 unsigned long timeCodeScale, double duration);
21 // this function is a helper only, it assumes a lot of defaults 17 // this function is a helper only, it assumes a lot of defaults
22 void writeVideoTrack(EbmlGlobal *ebml, unsigned int trackNumber, int flagLacing, 18 void writeVideoTrack(EbmlGlobal *ebml, unsigned int trackNumber,
23 char *codecId, unsigned int pixelWidth, unsigned int pixelH eight, 19 int flagLacing, const char *codecId,
20 unsigned int pixelWidth, unsigned int pixelHeight,
24 double frameRate); 21 double frameRate);
25 void writeAudioTrack(EbmlGlobal *glob, unsigned int trackNumber, int flagLacing, 22 void writeAudioTrack(EbmlGlobal *glob, unsigned int trackNumber,
26 char *codecId, double samplingFrequency, unsigned int chann els, 23 int flagLacing, const char *codecId,
24 double samplingFrequency, unsigned int channels,
27 unsigned char *private, unsigned long privateSize); 25 unsigned char *private, unsigned long privateSize);
28 26
29 void writeSimpleBlock(EbmlGlobal *ebml, unsigned char trackNumber, short timeCod e, 27 void writeSimpleBlock(EbmlGlobal *ebml, unsigned char trackNumber,
30 int isKeyframe, unsigned char lacingFlag, int discardable, 28 short timeCode, int isKeyframe,
29 unsigned char lacingFlag, int discardable,
31 unsigned char *data, unsigned long dataLength); 30 unsigned char *data, unsigned long dataLength);
32 31
33 32 #endif
34
35 #endif
OLDNEW
« no previous file with comments | « source/libvpx/third_party/libmkv/Makefile ('k') | source/libvpx/third_party/libmkv/WebMElement.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698