Lines Matching defs:length
67 /* Largest known-length EBML length */
126 uint64_t size; ///< excluding id and length field
189 unsigned codecpriv_size; ///< size reserved for CodecPrivate excluding header+length field
222 * to write the length field of EBML Masters.
294 * as EBML variable length integer.
306 * Calculate how many bytes are needed to represent the length field
307 * of an EBML element whose payload has a given length.
309 static int ebml_length_size(uint64_t length)
311 return ebml_num_size(length + 1);
315 * Write a number as EBML variable length integer on `bytes` bytes.
326 * Write a length as EBML variable length integer.
331 static void put_ebml_length(AVIOContext *pb, uint64_t length, int bytes)
333 int needed_bytes = ebml_length_size(length);
336 av_assert0(length < (1ULL << 56) - 1);
343 put_ebml_num(pb, length, bytes);
401 // we need to subtract the length needed to store the size from the
3001 * (1 byte ID, 1 byte length field). This problem
3002 * is solved by writing the Cues' length field on
3022 * via an EBML number, so leave the unknown length field. */