// Copyright (c) 2010 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be found in the AUTHORS file in the root of the source tree.
#ifdef __cplusplus extern"C" { #endif
#ifndef MKV_CONTEXT_HPP #define MKV_CONTEXT_HPP 1
#include"EbmlWriter.h"
// these are helper functions void writeHeader(EbmlGlobal *ebml); void writeSegmentInformation(EbmlGlobal *ebml, EbmlLoc *startInfo, unsignedlong timeCodeScale, double duration); // this function is a helper only, it assumes a lot of defaults void writeVideoTrack(EbmlGlobal *ebml, unsignedint trackNumber, int flagLacing, constchar *codecId, unsignedint pixelWidth, unsignedint pixelHeight, unsignedint displayWidth, unsignedint displayHeight); void writeAudioTrack(EbmlGlobal *glob, unsignedint trackNumber, int flagLacing, constchar *codecId, double samplingFrequency, unsignedint channels,
uint64_t codecDelay, uint64_t seekPreRoll, unsignedchar *private_, unsignedlong privateSize);
void writeSimpleBlock(EbmlGlobal *ebml, unsignedchar trackNumber, short timeCode, int isKeyframe, unsignedchar lacingFlag, int discardable, unsignedchar *data, unsignedlong dataLength);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.