Linux

Páginas: 100 (24804 palabras) Publicado: 20 de julio de 2012
Theora Specification
Xiph.Org Foundation March 16, 2011

Contents
1 Introduction 1.1 VP3 and Theora . . . . . . . . . . . 1.2 Video Formats . . . . . . . . . . . . 1.3 Classification . . . . . . . . . . . . . 1.4 Assumptions . . . . . . . . . . . . . 1.5 Codec Setup and Probability Model 1.6 Format Conformance . . . . . . . . . 2 Coded Video Structure 2.1 Frame Layout . . . . . . . . . 2.2Picture Region . . . . . . . . 2.3 Blocks and Super Blocks . . . 2.4 Macro Blocks . . . . . . . . . 2.5 Coding Modes and Prediction 2.6 DCT Coefficients . . . . . . . 3 Decoding Overview 3.1 Decoder Configuration . . . . 3.1.1 Global Configuration . 3.1.2 Quantization Matrices 3.1.3 Huffman Codebooks . 3.2 High-Level Decode Process . 3.2.1 Decoder Setup . . . . 3.2.2 Decode Procedure . . 1 1 1 2 2 2 3 55 6 7 9 11 11 13 13 13 13 14 15 15 15

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

4 Video Formats 21 4.1 Color Space Conventions . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 Color Space Conversions and Parameters . . . . . . . . . . . . . 22 4.3 Available Color Spaces . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.1 Rec. 470M (Rec. ITU-RBT.470-6 System M/NTSC with Rec. ITU-R BT.601-5) . . . . . . . . . . . . . . . . . . . . 24 4.3.2 Rec. 470BG (Rec. ITU-R BT.470-6 Systems B and G with Rec. ITU-R BT.601-5) . . . . . . . . . . . . . . . . . . . . 25 4.4 Pixel Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 i

ii 4.4.1 4.4.2 4.4.3 4.4.4 4:4:4 Subsampling . 4:2:2 Subsampling . 4:2:0 Subsampling . Subsampling andthe . . . . . . . . . . . . . . . . . . . . . . . . . . . Picture Region . . . . . . . . . . . . . . . . . . . . . . . . . . . .

CONTENTS . . . . . . . . . . . . . . . . . . . . 27 27 28 29 33 33 33 33 34 34 34 35 36 37 37 39 40 40 47 47 48 49 51 51 52 56 59 60 63 63 65 65 67 69 71 74 74 76 81 85 85 88 96

5 Bitpacking Convention 5.1 Overview . . . . . . . . . . . . . 5.1.1 Octets and Bytes . .. . . 5.1.2 Words and Byte Order . . 5.1.3 Bit Order . . . . . . . . . 5.2 Coding Bits into Bytes . . . . . . 5.2.1 Signedness . . . . . . . . 5.2.2 Encoding Example . . . . 5.2.3 Decoding Example . . . . 5.2.4 End-of-Packet Alignment 5.2.5 Reading Zero Bit Integers

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . .. . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

. . . . . . . . . .

6 Bitstream Headers 6.1 Common Header Decode . . . . . . . . . . 6.2 Identification Header Decode . . . . . . . 6.3Comment Header . . . . . . . . . . . . . . 6.3.1 Comment Length Decode . . . . . 6.3.2 Comment Header Decode . . . . . 6.3.3 User Comment Format . . . . . . . 6.4 Setup Header . . . . . . . . . . . . . . . . 6.4.1 Loop Filter Limit Table Decode . . 6.4.2 Quantization Parameters Decode . 6.4.3 Computing a Quantization Matrix 6.4.4 DCT Token Huffman Tables . . . . 6.4.5 Setup Header Decode . . . ....
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Linux
  • Linux
  • Linux
  • Linux
  • Linux
  • Linux
  • linux
  • linux

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS