From 7efba7825ee3408f0ec53e3be63a243ace6c6f93 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 14 Feb 2003 11:11:11 +0000 Subject: variable subpacket size support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9421 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/mpcf.txt | 56 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 45 insertions(+), 11 deletions(-) (limited to 'DOCS/tech/mpcf.txt') diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index ebe8aa3c56..c5235d206d 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -113,11 +113,9 @@ audio_stream_header: stream_header samplerate v channel_count v - sub_packet_size v - shuffle_type v reserved_bytes checksum u(32) - + frame packet header if(keyframe){ @@ -127,13 +125,27 @@ frame priority u(2) checksum_flag u(1) msb_timestamp_flag u(1) - reserved u(3) + subpacket_type u(2) + reserved u(1) lsb_timestamp v stream_id v if(msb_timestamp_flag) msb_timestamp v - bitstream - if(checksum_flag) + if(sub_packet_type==00) + sub_packet[0] + else{ + subpacket_base_size v + subpacket_count v + shuffle_type v + if(subpacket_type==10){ + for(i=0; i 0 for keyframes -sub_packet_size - size of an audio packet - Note a subpacket MUST be in exactly one packet, it cannot be split - shuffle_type - audio is often encoded in small fixed size packets, and to increase the + audio is often encoded in small subpackets, and to increase the error robustness these can be shuffled 0 -> no shuffle 1-16 -> interleave packets by 2^n -- cgit v1.2.3