gstreamer 1.2.1-x86-mingw32 → 1.2.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (671) hide show
  1. data/lib/1.9/gstreamer.so +0 -0
  2. data/lib/2.0/gstreamer.so +0 -0
  3. data/vendor/local/bin/flac.exe +0 -0
  4. data/vendor/local/bin/gst-discoverer-0.10.exe +0 -0
  5. data/vendor/local/bin/gst-feedback.exe +0 -0
  6. data/vendor/local/bin/gst-inspect-0.10.exe +0 -0
  7. data/vendor/local/bin/gst-inspect.exe +0 -0
  8. data/vendor/local/bin/gst-launch-0.10.exe +0 -0
  9. data/vendor/local/bin/gst-launch.exe +0 -0
  10. data/vendor/local/bin/gst-typefind-0.10.exe +0 -0
  11. data/vendor/local/bin/gst-typefind.exe +0 -0
  12. data/vendor/local/bin/gst-xmlinspect-0.10.exe +0 -0
  13. data/vendor/local/bin/gst-xmlinspect.exe +0 -0
  14. data/vendor/local/bin/gst-xmllaunch-0.10.exe +0 -0
  15. data/vendor/local/bin/gst-xmllaunch.exe +0 -0
  16. data/vendor/local/bin/libFLAC-8.dll +0 -0
  17. data/vendor/local/bin/libgstapp-0.10-0.dll +0 -0
  18. data/vendor/local/bin/libgstaudio-0.10-0.dll +0 -0
  19. data/vendor/local/bin/libgstbase-0.10-0.dll +0 -0
  20. data/vendor/local/bin/libgstbasevideo-0.10-0.dll +0 -0
  21. data/vendor/local/bin/libgstcdda-0.10-0.dll +0 -0
  22. data/vendor/local/bin/libgstcheck-0.10-0.dll +0 -0
  23. data/vendor/local/bin/libgstcontroller-0.10-0.dll +0 -0
  24. data/vendor/local/bin/libgstdataprotocol-0.10-0.dll +0 -0
  25. data/vendor/local/bin/libgstfft-0.10-0.dll +0 -0
  26. data/vendor/local/bin/libgstinterfaces-0.10-0.dll +0 -0
  27. data/vendor/local/bin/libgstnet-0.10-0.dll +0 -0
  28. data/vendor/local/bin/libgstnetbuffer-0.10-0.dll +0 -0
  29. data/vendor/local/bin/libgstpbutils-0.10-0.dll +0 -0
  30. data/vendor/local/bin/libgstphotography-0.10-0.dll +0 -0
  31. data/vendor/local/bin/libgstreamer-0.10-0.dll +0 -0
  32. data/vendor/local/bin/libgstriff-0.10-0.dll +0 -0
  33. data/vendor/local/bin/libgstrtp-0.10-0.dll +0 -0
  34. data/vendor/local/bin/libgstrtsp-0.10-0.dll +0 -0
  35. data/vendor/local/bin/libgstsdp-0.10-0.dll +0 -0
  36. data/vendor/local/bin/libgstsignalprocessor-0.10-0.dll +0 -0
  37. data/vendor/local/bin/libgsttag-0.10-0.dll +0 -0
  38. data/vendor/local/bin/libgstvideo-0.10-0.dll +0 -0
  39. data/vendor/local/bin/libogg-0.dll +0 -0
  40. data/vendor/local/bin/libspeex-1.dll +0 -0
  41. data/vendor/local/bin/libspeexdsp-1.dll +0 -0
  42. data/vendor/local/bin/libtheora-0.dll +0 -0
  43. data/vendor/local/bin/libtheoradec-1.dll +0 -0
  44. data/vendor/local/bin/libtheoraenc-1.dll +0 -0
  45. data/vendor/local/bin/libvorbis-0.dll +0 -0
  46. data/vendor/local/bin/libvorbisenc-2.dll +0 -0
  47. data/vendor/local/bin/libvorbisfile-3.dll +0 -0
  48. data/vendor/local/bin/metaflac.exe +0 -0
  49. data/vendor/local/bin/speexdec.exe +0 -0
  50. data/vendor/local/bin/speexenc.exe +0 -0
  51. data/vendor/local/lib/gstreamer-0.10/libgstadder.dll +0 -0
  52. data/vendor/local/lib/gstreamer-0.10/libgstadder.dll.a +0 -0
  53. data/vendor/local/lib/gstreamer-0.10/libgstadpcmdec.dll +0 -0
  54. data/vendor/local/lib/gstreamer-0.10/libgstadpcmdec.dll.a +0 -0
  55. data/vendor/local/lib/gstreamer-0.10/libgstadpcmenc.dll +0 -0
  56. data/vendor/local/lib/gstreamer-0.10/libgstadpcmenc.dll.a +0 -0
  57. data/vendor/local/lib/gstreamer-0.10/libgstaiff.dll +0 -0
  58. data/vendor/local/lib/gstreamer-0.10/libgstaiff.dll.a +0 -0
  59. data/vendor/local/lib/gstreamer-0.10/libgstalaw.dll +0 -0
  60. data/vendor/local/lib/gstreamer-0.10/libgstalaw.dll.a +0 -0
  61. data/vendor/local/lib/gstreamer-0.10/libgstalpha.dll +0 -0
  62. data/vendor/local/lib/gstreamer-0.10/libgstalpha.dll.a +0 -0
  63. data/vendor/local/lib/gstreamer-0.10/libgstalphacolor.dll +0 -0
  64. data/vendor/local/lib/gstreamer-0.10/libgstalphacolor.dll.a +0 -0
  65. data/vendor/local/lib/gstreamer-0.10/libgstannodex.dll +0 -0
  66. data/vendor/local/lib/gstreamer-0.10/libgstannodex.dll.a +0 -0
  67. data/vendor/local/lib/gstreamer-0.10/libgstapetag.dll +0 -0
  68. data/vendor/local/lib/gstreamer-0.10/libgstapetag.dll.a +0 -0
  69. data/vendor/local/lib/gstreamer-0.10/libgstapp.dll +0 -0
  70. data/vendor/local/lib/gstreamer-0.10/libgstapp.dll.a +0 -0
  71. data/vendor/local/lib/gstreamer-0.10/libgstasfmux.dll +0 -0
  72. data/vendor/local/lib/gstreamer-0.10/libgstasfmux.dll.a +0 -0
  73. data/vendor/local/lib/gstreamer-0.10/libgstaudioconvert.dll +0 -0
  74. data/vendor/local/lib/gstreamer-0.10/libgstaudioconvert.dll.a +0 -0
  75. data/vendor/local/lib/gstreamer-0.10/libgstaudiofx.dll +0 -0
  76. data/vendor/local/lib/gstreamer-0.10/libgstaudiofx.dll.a +0 -0
  77. data/vendor/local/lib/gstreamer-0.10/libgstaudioparsers.dll +0 -0
  78. data/vendor/local/lib/gstreamer-0.10/libgstaudioparsers.dll.a +0 -0
  79. data/vendor/local/lib/gstreamer-0.10/libgstaudiorate.dll +0 -0
  80. data/vendor/local/lib/gstreamer-0.10/libgstaudiorate.dll.a +0 -0
  81. data/vendor/local/lib/gstreamer-0.10/libgstaudioresample.dll +0 -0
  82. data/vendor/local/lib/gstreamer-0.10/libgstaudioresample.dll.a +0 -0
  83. data/vendor/local/lib/gstreamer-0.10/libgstaudiotestsrc.dll +0 -0
  84. data/vendor/local/lib/gstreamer-0.10/libgstaudiotestsrc.dll.a +0 -0
  85. data/vendor/local/lib/gstreamer-0.10/libgstauparse.dll +0 -0
  86. data/vendor/local/lib/gstreamer-0.10/libgstauparse.dll.a +0 -0
  87. data/vendor/local/lib/gstreamer-0.10/libgstautoconvert.dll +0 -0
  88. data/vendor/local/lib/gstreamer-0.10/libgstautoconvert.dll.a +0 -0
  89. data/vendor/local/lib/gstreamer-0.10/libgstautodetect.dll +0 -0
  90. data/vendor/local/lib/gstreamer-0.10/libgstautodetect.dll.a +0 -0
  91. data/vendor/local/lib/gstreamer-0.10/libgstavi.dll +0 -0
  92. data/vendor/local/lib/gstreamer-0.10/libgstavi.dll.a +0 -0
  93. data/vendor/local/lib/gstreamer-0.10/libgstbayer.dll +0 -0
  94. data/vendor/local/lib/gstreamer-0.10/libgstbayer.dll.a +0 -0
  95. data/vendor/local/lib/gstreamer-0.10/libgstcairo.dll +0 -0
  96. data/vendor/local/lib/gstreamer-0.10/libgstcairo.dll.a +0 -0
  97. data/vendor/local/lib/gstreamer-0.10/libgstcamerabin.dll +0 -0
  98. data/vendor/local/lib/gstreamer-0.10/libgstcamerabin.dll.a +0 -0
  99. data/vendor/local/lib/gstreamer-0.10/libgstcdxaparse.dll +0 -0
  100. data/vendor/local/lib/gstreamer-0.10/libgstcdxaparse.dll.a +0 -0
  101. data/vendor/local/lib/gstreamer-0.10/libgstcog.dll +0 -0
  102. data/vendor/local/lib/gstreamer-0.10/libgstcog.dll.a +0 -0
  103. data/vendor/local/lib/gstreamer-0.10/libgstcoloreffects.dll +0 -0
  104. data/vendor/local/lib/gstreamer-0.10/libgstcoloreffects.dll.a +0 -0
  105. data/vendor/local/lib/gstreamer-0.10/libgstcolorspace.dll +0 -0
  106. data/vendor/local/lib/gstreamer-0.10/libgstcolorspace.dll.a +0 -0
  107. data/vendor/local/lib/gstreamer-0.10/libgstcoreelements.dll +0 -0
  108. data/vendor/local/lib/gstreamer-0.10/libgstcoreelements.dll.a +0 -0
  109. data/vendor/local/lib/gstreamer-0.10/libgstcoreindexers.dll +0 -0
  110. data/vendor/local/lib/gstreamer-0.10/libgstcoreindexers.dll.a +0 -0
  111. data/vendor/local/lib/gstreamer-0.10/libgstcutter.dll +0 -0
  112. data/vendor/local/lib/gstreamer-0.10/libgstcutter.dll.a +0 -0
  113. data/vendor/local/lib/gstreamer-0.10/libgstdataurisrc.dll +0 -0
  114. data/vendor/local/lib/gstreamer-0.10/libgstdataurisrc.dll.a +0 -0
  115. data/vendor/local/lib/gstreamer-0.10/libgstdebug.dll +0 -0
  116. data/vendor/local/lib/gstreamer-0.10/libgstdebug.dll.a +0 -0
  117. data/vendor/local/lib/gstreamer-0.10/libgstdebugutilsbad.dll +0 -0
  118. data/vendor/local/lib/gstreamer-0.10/libgstdebugutilsbad.dll.a +0 -0
  119. data/vendor/local/lib/gstreamer-0.10/libgstdecodebin.dll +0 -0
  120. data/vendor/local/lib/gstreamer-0.10/libgstdecodebin.dll.a +0 -0
  121. data/vendor/local/lib/gstreamer-0.10/libgstdecodebin2.dll +0 -0
  122. data/vendor/local/lib/gstreamer-0.10/libgstdecodebin2.dll.a +0 -0
  123. data/vendor/local/lib/gstreamer-0.10/libgstdeinterlace.dll +0 -0
  124. data/vendor/local/lib/gstreamer-0.10/libgstdeinterlace.dll.a +0 -0
  125. data/vendor/local/lib/gstreamer-0.10/libgstdirectdrawsink.dll +0 -0
  126. data/vendor/local/lib/gstreamer-0.10/libgstdirectdrawsink.dll.a +0 -0
  127. data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsink.dll +0 -0
  128. data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsink.dll.a +0 -0
  129. data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsrc.dll +0 -0
  130. data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsrc.dll.a +0 -0
  131. data/vendor/local/lib/gstreamer-0.10/libgstdtmf.dll +0 -0
  132. data/vendor/local/lib/gstreamer-0.10/libgstdtmf.dll.a +0 -0
  133. data/vendor/local/lib/gstreamer-0.10/libgstdvbsuboverlay.dll +0 -0
  134. data/vendor/local/lib/gstreamer-0.10/libgstdvbsuboverlay.dll.a +0 -0
  135. data/vendor/local/lib/gstreamer-0.10/libgstdvdspu.dll +0 -0
  136. data/vendor/local/lib/gstreamer-0.10/libgstdvdspu.dll.a +0 -0
  137. data/vendor/local/lib/gstreamer-0.10/libgsteffectv.dll +0 -0
  138. data/vendor/local/lib/gstreamer-0.10/libgsteffectv.dll.a +0 -0
  139. data/vendor/local/lib/gstreamer-0.10/libgstencodebin.dll +0 -0
  140. data/vendor/local/lib/gstreamer-0.10/libgstencodebin.dll.a +0 -0
  141. data/vendor/local/lib/gstreamer-0.10/libgstequalizer.dll +0 -0
  142. data/vendor/local/lib/gstreamer-0.10/libgstequalizer.dll.a +0 -0
  143. data/vendor/local/lib/gstreamer-0.10/libgstfestival.dll +0 -0
  144. data/vendor/local/lib/gstreamer-0.10/libgstfestival.dll.a +0 -0
  145. data/vendor/local/lib/gstreamer-0.10/libgstffmpeg.dll +0 -0
  146. data/vendor/local/lib/gstreamer-0.10/libgstffmpeg.dll.a +0 -0
  147. data/vendor/local/lib/gstreamer-0.10/libgstffmpegcolorspace.dll +0 -0
  148. data/vendor/local/lib/gstreamer-0.10/libgstffmpegcolorspace.dll.a +0 -0
  149. data/vendor/local/lib/gstreamer-0.10/libgstffmpegscale.dll +0 -0
  150. data/vendor/local/lib/gstreamer-0.10/libgstffmpegscale.dll.a +0 -0
  151. data/vendor/local/lib/gstreamer-0.10/libgstfieldanalysis.dll +0 -0
  152. data/vendor/local/lib/gstreamer-0.10/libgstfieldanalysis.dll.a +0 -0
  153. data/vendor/local/lib/gstreamer-0.10/libgstflac.dll +0 -0
  154. data/vendor/local/lib/gstreamer-0.10/libgstflac.dll.a +0 -0
  155. data/vendor/local/lib/gstreamer-0.10/libgstflv.dll +0 -0
  156. data/vendor/local/lib/gstreamer-0.10/libgstflv.dll.a +0 -0
  157. data/vendor/local/lib/gstreamer-0.10/libgstflxdec.dll +0 -0
  158. data/vendor/local/lib/gstreamer-0.10/libgstflxdec.dll.a +0 -0
  159. data/vendor/local/lib/gstreamer-0.10/libgstfragmented.dll +0 -0
  160. data/vendor/local/lib/gstreamer-0.10/libgstfragmented.dll.a +0 -0
  161. data/vendor/local/lib/gstreamer-0.10/libgstfreeze.dll +0 -0
  162. data/vendor/local/lib/gstreamer-0.10/libgstfreeze.dll.a +0 -0
  163. data/vendor/local/lib/gstreamer-0.10/libgstfrei0r.dll +0 -0
  164. data/vendor/local/lib/gstreamer-0.10/libgstfrei0r.dll.a +0 -0
  165. data/vendor/local/lib/gstreamer-0.10/libgstgaudieffects.dll +0 -0
  166. data/vendor/local/lib/gstreamer-0.10/libgstgaudieffects.dll.a +0 -0
  167. data/vendor/local/lib/gstreamer-0.10/libgstgdkpixbuf.dll +0 -0
  168. data/vendor/local/lib/gstreamer-0.10/libgstgdkpixbuf.dll.a +0 -0
  169. data/vendor/local/lib/gstreamer-0.10/libgstgdp.dll +0 -0
  170. data/vendor/local/lib/gstreamer-0.10/libgstgdp.dll.a +0 -0
  171. data/vendor/local/lib/gstreamer-0.10/libgstgeometrictransform.dll +0 -0
  172. data/vendor/local/lib/gstreamer-0.10/libgstgeometrictransform.dll.a +0 -0
  173. data/vendor/local/lib/gstreamer-0.10/libgstgio.dll +0 -0
  174. data/vendor/local/lib/gstreamer-0.10/libgstgio.dll.a +0 -0
  175. data/vendor/local/lib/gstreamer-0.10/libgstgoom.dll +0 -0
  176. data/vendor/local/lib/gstreamer-0.10/libgstgoom.dll.a +0 -0
  177. data/vendor/local/lib/gstreamer-0.10/libgstgoom2k1.dll +0 -0
  178. data/vendor/local/lib/gstreamer-0.10/libgstgoom2k1.dll.a +0 -0
  179. data/vendor/local/lib/gstreamer-0.10/libgstgsettingselements.dll +0 -0
  180. data/vendor/local/lib/gstreamer-0.10/libgstgsettingselements.dll.a +0 -0
  181. data/vendor/local/lib/gstreamer-0.10/libgsth264parse.dll +0 -0
  182. data/vendor/local/lib/gstreamer-0.10/libgsth264parse.dll.a +0 -0
  183. data/vendor/local/lib/gstreamer-0.10/libgsthdvparse.dll +0 -0
  184. data/vendor/local/lib/gstreamer-0.10/libgsthdvparse.dll.a +0 -0
  185. data/vendor/local/lib/gstreamer-0.10/libgsticydemux.dll +0 -0
  186. data/vendor/local/lib/gstreamer-0.10/libgsticydemux.dll.a +0 -0
  187. data/vendor/local/lib/gstreamer-0.10/libgstid3demux.dll +0 -0
  188. data/vendor/local/lib/gstreamer-0.10/libgstid3demux.dll.a +0 -0
  189. data/vendor/local/lib/gstreamer-0.10/libgstid3tag.dll +0 -0
  190. data/vendor/local/lib/gstreamer-0.10/libgstid3tag.dll.a +0 -0
  191. data/vendor/local/lib/gstreamer-0.10/libgstimagefreeze.dll +0 -0
  192. data/vendor/local/lib/gstreamer-0.10/libgstimagefreeze.dll.a +0 -0
  193. data/vendor/local/lib/gstreamer-0.10/libgstinterlace.dll +0 -0
  194. data/vendor/local/lib/gstreamer-0.10/libgstinterlace.dll.a +0 -0
  195. data/vendor/local/lib/gstreamer-0.10/libgstinterleave.dll +0 -0
  196. data/vendor/local/lib/gstreamer-0.10/libgstinterleave.dll.a +0 -0
  197. data/vendor/local/lib/gstreamer-0.10/libgstinvtelecine.dll +0 -0
  198. data/vendor/local/lib/gstreamer-0.10/libgstinvtelecine.dll.a +0 -0
  199. data/vendor/local/lib/gstreamer-0.10/libgstisomp4.dll +0 -0
  200. data/vendor/local/lib/gstreamer-0.10/libgstisomp4.dll.a +0 -0
  201. data/vendor/local/lib/gstreamer-0.10/libgstivfparse.dll +0 -0
  202. data/vendor/local/lib/gstreamer-0.10/libgstivfparse.dll.a +0 -0
  203. data/vendor/local/lib/gstreamer-0.10/libgstjp2kdecimator.dll +0 -0
  204. data/vendor/local/lib/gstreamer-0.10/libgstjp2kdecimator.dll.a +0 -0
  205. data/vendor/local/lib/gstreamer-0.10/libgstjpeg.dll +0 -0
  206. data/vendor/local/lib/gstreamer-0.10/libgstjpeg.dll.a +0 -0
  207. data/vendor/local/lib/gstreamer-0.10/libgstjpegformat.dll +0 -0
  208. data/vendor/local/lib/gstreamer-0.10/libgstjpegformat.dll.a +0 -0
  209. data/vendor/local/lib/gstreamer-0.10/libgstlegacyresample.dll +0 -0
  210. data/vendor/local/lib/gstreamer-0.10/libgstlegacyresample.dll.a +0 -0
  211. data/vendor/local/lib/gstreamer-0.10/libgstlevel.dll +0 -0
  212. data/vendor/local/lib/gstreamer-0.10/libgstlevel.dll.a +0 -0
  213. data/vendor/local/lib/gstreamer-0.10/libgstliveadder.dll +0 -0
  214. data/vendor/local/lib/gstreamer-0.10/libgstliveadder.dll.a +0 -0
  215. data/vendor/local/lib/gstreamer-0.10/libgstmatroska.dll +0 -0
  216. data/vendor/local/lib/gstreamer-0.10/libgstmatroska.dll.a +0 -0
  217. data/vendor/local/lib/gstreamer-0.10/libgstmpeg4videoparse.dll +0 -0
  218. data/vendor/local/lib/gstreamer-0.10/libgstmpeg4videoparse.dll.a +0 -0
  219. data/vendor/local/lib/gstreamer-0.10/libgstmpegdemux.dll +0 -0
  220. data/vendor/local/lib/gstreamer-0.10/libgstmpegdemux.dll.a +0 -0
  221. data/vendor/local/lib/gstreamer-0.10/libgstmpegpsmux.dll +0 -0
  222. data/vendor/local/lib/gstreamer-0.10/libgstmpegpsmux.dll.a +0 -0
  223. data/vendor/local/lib/gstreamer-0.10/libgstmpegtsdemux.dll +0 -0
  224. data/vendor/local/lib/gstreamer-0.10/libgstmpegtsdemux.dll.a +0 -0
  225. data/vendor/local/lib/gstreamer-0.10/libgstmpegtsmux.dll +0 -0
  226. data/vendor/local/lib/gstreamer-0.10/libgstmpegtsmux.dll.a +0 -0
  227. data/vendor/local/lib/gstreamer-0.10/libgstmpegvideoparse.dll +0 -0
  228. data/vendor/local/lib/gstreamer-0.10/libgstmpegvideoparse.dll.a +0 -0
  229. data/vendor/local/lib/gstreamer-0.10/libgstmulaw.dll +0 -0
  230. data/vendor/local/lib/gstreamer-0.10/libgstmulaw.dll.a +0 -0
  231. data/vendor/local/lib/gstreamer-0.10/libgstmultifile.dll +0 -0
  232. data/vendor/local/lib/gstreamer-0.10/libgstmultifile.dll.a +0 -0
  233. data/vendor/local/lib/gstreamer-0.10/libgstmultipart.dll +0 -0
  234. data/vendor/local/lib/gstreamer-0.10/libgstmultipart.dll.a +0 -0
  235. data/vendor/local/lib/gstreamer-0.10/libgstmve.dll +0 -0
  236. data/vendor/local/lib/gstreamer-0.10/libgstmve.dll.a +0 -0
  237. data/vendor/local/lib/gstreamer-0.10/libgstmxf.dll +0 -0
  238. data/vendor/local/lib/gstreamer-0.10/libgstmxf.dll.a +0 -0
  239. data/vendor/local/lib/gstreamer-0.10/libgstnavigationtest.dll +0 -0
  240. data/vendor/local/lib/gstreamer-0.10/libgstnavigationtest.dll.a +0 -0
  241. data/vendor/local/lib/gstreamer-0.10/libgstnsf.dll +0 -0
  242. data/vendor/local/lib/gstreamer-0.10/libgstnsf.dll.a +0 -0
  243. data/vendor/local/lib/gstreamer-0.10/libgstnuvdemux.dll +0 -0
  244. data/vendor/local/lib/gstreamer-0.10/libgstnuvdemux.dll.a +0 -0
  245. data/vendor/local/lib/gstreamer-0.10/libgstogg.dll +0 -0
  246. data/vendor/local/lib/gstreamer-0.10/libgstogg.dll.a +0 -0
  247. data/vendor/local/lib/gstreamer-0.10/libgstpango.dll +0 -0
  248. data/vendor/local/lib/gstreamer-0.10/libgstpango.dll.a +0 -0
  249. data/vendor/local/lib/gstreamer-0.10/libgstpatchdetect.dll +0 -0
  250. data/vendor/local/lib/gstreamer-0.10/libgstpatchdetect.dll.a +0 -0
  251. data/vendor/local/lib/gstreamer-0.10/libgstpcapparse.dll +0 -0
  252. data/vendor/local/lib/gstreamer-0.10/libgstpcapparse.dll.a +0 -0
  253. data/vendor/local/lib/gstreamer-0.10/libgstplaybin.dll +0 -0
  254. data/vendor/local/lib/gstreamer-0.10/libgstplaybin.dll.a +0 -0
  255. data/vendor/local/lib/gstreamer-0.10/libgstpng.dll +0 -0
  256. data/vendor/local/lib/gstreamer-0.10/libgstpng.dll.a +0 -0
  257. data/vendor/local/lib/gstreamer-0.10/libgstpnm.dll +0 -0
  258. data/vendor/local/lib/gstreamer-0.10/libgstpnm.dll.a +0 -0
  259. data/vendor/local/lib/gstreamer-0.10/libgstpostproc.dll +0 -0
  260. data/vendor/local/lib/gstreamer-0.10/libgstpostproc.dll.a +0 -0
  261. data/vendor/local/lib/gstreamer-0.10/libgstrawparse.dll +0 -0
  262. data/vendor/local/lib/gstreamer-0.10/libgstrawparse.dll.a +0 -0
  263. data/vendor/local/lib/gstreamer-0.10/libgstreal.dll +0 -0
  264. data/vendor/local/lib/gstreamer-0.10/libgstreal.dll.a +0 -0
  265. data/vendor/local/lib/gstreamer-0.10/libgstreplaygain.dll +0 -0
  266. data/vendor/local/lib/gstreamer-0.10/libgstreplaygain.dll.a +0 -0
  267. data/vendor/local/lib/gstreamer-0.10/libgstrtp.dll +0 -0
  268. data/vendor/local/lib/gstreamer-0.10/libgstrtp.dll.a +0 -0
  269. data/vendor/local/lib/gstreamer-0.10/libgstrtpmanager.dll +0 -0
  270. data/vendor/local/lib/gstreamer-0.10/libgstrtpmanager.dll.a +0 -0
  271. data/vendor/local/lib/gstreamer-0.10/libgstrtpmux.dll +0 -0
  272. data/vendor/local/lib/gstreamer-0.10/libgstrtpmux.dll.a +0 -0
  273. data/vendor/local/lib/gstreamer-0.10/libgstrtpvp8.dll +0 -0
  274. data/vendor/local/lib/gstreamer-0.10/libgstrtpvp8.dll.a +0 -0
  275. data/vendor/local/lib/gstreamer-0.10/libgstrtsp.dll +0 -0
  276. data/vendor/local/lib/gstreamer-0.10/libgstrtsp.dll.a +0 -0
  277. data/vendor/local/lib/gstreamer-0.10/libgstscaletempoplugin.dll +0 -0
  278. data/vendor/local/lib/gstreamer-0.10/libgstscaletempoplugin.dll.a +0 -0
  279. data/vendor/local/lib/gstreamer-0.10/libgstsdi.dll +0 -0
  280. data/vendor/local/lib/gstreamer-0.10/libgstsdi.dll.a +0 -0
  281. data/vendor/local/lib/gstreamer-0.10/libgstsdpelem.dll +0 -0
  282. data/vendor/local/lib/gstreamer-0.10/libgstsdpelem.dll.a +0 -0
  283. data/vendor/local/lib/gstreamer-0.10/libgstsegmentclip.dll +0 -0
  284. data/vendor/local/lib/gstreamer-0.10/libgstsegmentclip.dll.a +0 -0
  285. data/vendor/local/lib/gstreamer-0.10/libgstshapewipe.dll +0 -0
  286. data/vendor/local/lib/gstreamer-0.10/libgstshapewipe.dll.a +0 -0
  287. data/vendor/local/lib/gstreamer-0.10/libgstsiren.dll +0 -0
  288. data/vendor/local/lib/gstreamer-0.10/libgstsiren.dll.a +0 -0
  289. data/vendor/local/lib/gstreamer-0.10/libgstsmpte.dll +0 -0
  290. data/vendor/local/lib/gstreamer-0.10/libgstsmpte.dll.a +0 -0
  291. data/vendor/local/lib/gstreamer-0.10/libgstsouphttpsrc.dll +0 -0
  292. data/vendor/local/lib/gstreamer-0.10/libgstsouphttpsrc.dll.a +0 -0
  293. data/vendor/local/lib/gstreamer-0.10/libgstspectrum.dll +0 -0
  294. data/vendor/local/lib/gstreamer-0.10/libgstspectrum.dll.a +0 -0
  295. data/vendor/local/lib/gstreamer-0.10/libgstspeed.dll +0 -0
  296. data/vendor/local/lib/gstreamer-0.10/libgstspeed.dll.a +0 -0
  297. data/vendor/local/lib/gstreamer-0.10/libgstspeex.dll +0 -0
  298. data/vendor/local/lib/gstreamer-0.10/libgstspeex.dll.a +0 -0
  299. data/vendor/local/lib/gstreamer-0.10/libgststereo.dll +0 -0
  300. data/vendor/local/lib/gstreamer-0.10/libgststereo.dll.a +0 -0
  301. data/vendor/local/lib/gstreamer-0.10/libgstsubenc.dll +0 -0
  302. data/vendor/local/lib/gstreamer-0.10/libgstsubenc.dll.a +0 -0
  303. data/vendor/local/lib/gstreamer-0.10/libgstsubparse.dll +0 -0
  304. data/vendor/local/lib/gstreamer-0.10/libgstsubparse.dll.a +0 -0
  305. data/vendor/local/lib/gstreamer-0.10/libgsttheora.dll +0 -0
  306. data/vendor/local/lib/gstreamer-0.10/libgsttheora.dll.a +0 -0
  307. data/vendor/local/lib/gstreamer-0.10/libgsttta.dll +0 -0
  308. data/vendor/local/lib/gstreamer-0.10/libgsttta.dll.a +0 -0
  309. data/vendor/local/lib/gstreamer-0.10/libgsttypefindfunctions.dll +0 -0
  310. data/vendor/local/lib/gstreamer-0.10/libgsttypefindfunctions.dll.a +0 -0
  311. data/vendor/local/lib/gstreamer-0.10/libgstudp.dll +0 -0
  312. data/vendor/local/lib/gstreamer-0.10/libgstudp.dll.a +0 -0
  313. data/vendor/local/lib/gstreamer-0.10/libgstvideobox.dll +0 -0
  314. data/vendor/local/lib/gstreamer-0.10/libgstvideobox.dll.a +0 -0
  315. data/vendor/local/lib/gstreamer-0.10/libgstvideocrop.dll +0 -0
  316. data/vendor/local/lib/gstreamer-0.10/libgstvideocrop.dll.a +0 -0
  317. data/vendor/local/lib/gstreamer-0.10/libgstvideofilter.dll +0 -0
  318. data/vendor/local/lib/gstreamer-0.10/libgstvideofilter.dll.a +0 -0
  319. data/vendor/local/lib/gstreamer-0.10/libgstvideofiltersbad.dll +0 -0
  320. data/vendor/local/lib/gstreamer-0.10/libgstvideofiltersbad.dll.a +0 -0
  321. data/vendor/local/lib/gstreamer-0.10/libgstvideomaxrate.dll +0 -0
  322. data/vendor/local/lib/gstreamer-0.10/libgstvideomaxrate.dll.a +0 -0
  323. data/vendor/local/lib/gstreamer-0.10/libgstvideomeasure.dll +0 -0
  324. data/vendor/local/lib/gstreamer-0.10/libgstvideomeasure.dll.a +0 -0
  325. data/vendor/local/lib/gstreamer-0.10/libgstvideomixer.dll +0 -0
  326. data/vendor/local/lib/gstreamer-0.10/libgstvideomixer.dll.a +0 -0
  327. data/vendor/local/lib/gstreamer-0.10/libgstvideoparsersbad.dll +0 -0
  328. data/vendor/local/lib/gstreamer-0.10/libgstvideoparsersbad.dll.a +0 -0
  329. data/vendor/local/lib/gstreamer-0.10/libgstvideorate.dll +0 -0
  330. data/vendor/local/lib/gstreamer-0.10/libgstvideorate.dll.a +0 -0
  331. data/vendor/local/lib/gstreamer-0.10/libgstvideoscale.dll +0 -0
  332. data/vendor/local/lib/gstreamer-0.10/libgstvideoscale.dll.a +0 -0
  333. data/vendor/local/lib/gstreamer-0.10/libgstvideosignal.dll +0 -0
  334. data/vendor/local/lib/gstreamer-0.10/libgstvideosignal.dll.a +0 -0
  335. data/vendor/local/lib/gstreamer-0.10/libgstvideotestsrc.dll +0 -0
  336. data/vendor/local/lib/gstreamer-0.10/libgstvideotestsrc.dll.a +0 -0
  337. data/vendor/local/lib/gstreamer-0.10/libgstvmnc.dll +0 -0
  338. data/vendor/local/lib/gstreamer-0.10/libgstvmnc.dll.a +0 -0
  339. data/vendor/local/lib/gstreamer-0.10/libgstvolume.dll +0 -0
  340. data/vendor/local/lib/gstreamer-0.10/libgstvolume.dll.a +0 -0
  341. data/vendor/local/lib/gstreamer-0.10/libgstvorbis.dll +0 -0
  342. data/vendor/local/lib/gstreamer-0.10/libgstvorbis.dll.a +0 -0
  343. data/vendor/local/lib/gstreamer-0.10/libgstwavenc.dll +0 -0
  344. data/vendor/local/lib/gstreamer-0.10/libgstwavenc.dll.a +0 -0
  345. data/vendor/local/lib/gstreamer-0.10/libgstwavparse.dll +0 -0
  346. data/vendor/local/lib/gstreamer-0.10/libgstwavparse.dll.a +0 -0
  347. data/vendor/local/lib/gstreamer-0.10/libgsty4mdec.dll +0 -0
  348. data/vendor/local/lib/gstreamer-0.10/libgsty4mdec.dll.a +0 -0
  349. data/vendor/local/lib/gstreamer-0.10/libgsty4menc.dll +0 -0
  350. data/vendor/local/lib/gstreamer-0.10/libgsty4menc.dll.a +0 -0
  351. data/vendor/local/lib/libFLAC.a +0 -0
  352. data/vendor/local/lib/libFLAC.dll.a +0 -0
  353. data/vendor/local/lib/libgstapp-0.10.dll.a +0 -0
  354. data/vendor/local/lib/libgstaudio-0.10.a +0 -0
  355. data/vendor/local/lib/libgstaudio-0.10.dll.a +0 -0
  356. data/vendor/local/lib/libgstbase-0.10.a +0 -0
  357. data/vendor/local/lib/libgstbase-0.10.dll.a +0 -0
  358. data/vendor/local/lib/libgstbasevideo-0.10.a +0 -0
  359. data/vendor/local/lib/libgstbasevideo-0.10.dll.a +0 -0
  360. data/vendor/local/lib/libgstcdda-0.10.a +0 -0
  361. data/vendor/local/lib/libgstcdda-0.10.dll.a +0 -0
  362. data/vendor/local/lib/libgstcheck-0.10.a +0 -0
  363. data/vendor/local/lib/libgstcheck-0.10.dll.a +0 -0
  364. data/vendor/local/lib/libgstcontroller-0.10.a +0 -0
  365. data/vendor/local/lib/libgstcontroller-0.10.dll.a +0 -0
  366. data/vendor/local/lib/libgstdataprotocol-0.10.a +0 -0
  367. data/vendor/local/lib/libgstdataprotocol-0.10.dll.a +0 -0
  368. data/vendor/local/lib/libgstfft-0.10.a +0 -0
  369. data/vendor/local/lib/libgstfft-0.10.dll.a +0 -0
  370. data/vendor/local/lib/libgstinterfaces-0.10.a +0 -0
  371. data/vendor/local/lib/libgstinterfaces-0.10.dll.a +0 -0
  372. data/vendor/local/lib/libgstnet-0.10.a +0 -0
  373. data/vendor/local/lib/libgstnet-0.10.dll.a +0 -0
  374. data/vendor/local/lib/libgstnetbuffer-0.10.a +0 -0
  375. data/vendor/local/lib/libgstnetbuffer-0.10.dll.a +0 -0
  376. data/vendor/local/lib/libgstpbutils-0.10.a +0 -0
  377. data/vendor/local/lib/libgstpbutils-0.10.dll.a +0 -0
  378. data/vendor/local/lib/libgstphotography-0.10.a +0 -0
  379. data/vendor/local/lib/libgstphotography-0.10.dll.a +0 -0
  380. data/vendor/local/lib/libgstreamer-0.10.a +0 -0
  381. data/vendor/local/lib/libgstreamer-0.10.dll.a +0 -0
  382. data/vendor/local/lib/libgstriff-0.10.a +0 -0
  383. data/vendor/local/lib/libgstriff-0.10.dll.a +0 -0
  384. data/vendor/local/lib/libgstrtp-0.10.a +0 -0
  385. data/vendor/local/lib/libgstrtp-0.10.dll.a +0 -0
  386. data/vendor/local/lib/libgstrtsp-0.10.a +0 -0
  387. data/vendor/local/lib/libgstrtsp-0.10.dll.a +0 -0
  388. data/vendor/local/lib/libgstsdp-0.10.a +0 -0
  389. data/vendor/local/lib/libgstsdp-0.10.dll.a +0 -0
  390. data/vendor/local/lib/libgstsignalprocessor-0.10.a +0 -0
  391. data/vendor/local/lib/libgstsignalprocessor-0.10.dll.a +0 -0
  392. data/vendor/local/lib/libgsttag-0.10.a +0 -0
  393. data/vendor/local/lib/libgsttag-0.10.dll.a +0 -0
  394. data/vendor/local/lib/libgstvideo-0.10.a +0 -0
  395. data/vendor/local/lib/libgstvideo-0.10.dll.a +0 -0
  396. data/vendor/local/lib/libogg.a +0 -0
  397. data/vendor/local/lib/libogg.dll.a +0 -0
  398. data/vendor/local/lib/libspeex.a +0 -0
  399. data/vendor/local/lib/libspeex.dll.a +0 -0
  400. data/vendor/local/lib/libspeexdsp.a +0 -0
  401. data/vendor/local/lib/libspeexdsp.dll.a +0 -0
  402. data/vendor/local/lib/libtheora.a +0 -0
  403. data/vendor/local/lib/libtheora.dll.a +0 -0
  404. data/vendor/local/lib/libtheoradec.a +0 -0
  405. data/vendor/local/lib/libtheoradec.dll.a +0 -0
  406. data/vendor/local/lib/libtheoraenc.a +0 -0
  407. data/vendor/local/lib/libtheoraenc.dll.a +0 -0
  408. data/vendor/local/lib/libvorbis.a +0 -0
  409. data/vendor/local/lib/libvorbis.dll.a +0 -0
  410. data/vendor/local/lib/libvorbisenc.a +0 -0
  411. data/vendor/local/lib/libvorbisenc.dll.a +0 -0
  412. data/vendor/local/lib/libvorbisfile.a +0 -0
  413. data/vendor/local/lib/libvorbisfile.dll.a +0 -0
  414. data/vendor/local/libexec/gstreamer-0.10/gst-plugin-scanner.exe +0 -0
  415. data/vendor/local/share/doc/libtheora-1.1.1/html/annotated.html +28 -54
  416. data/vendor/local/share/doc/libtheora-1.1.1/html/classes.html +22 -51
  417. data/vendor/local/share/doc/libtheora-1.1.1/html/codec_8h.html +176 -214
  418. data/vendor/local/share/doc/libtheora-1.1.1/html/codec_8h_source.html +178 -208
  419. data/vendor/local/share/doc/libtheora-1.1.1/html/doxygen.css +124 -789
  420. data/vendor/local/share/doc/libtheora-1.1.1/html/doxygen.png +0 -0
  421. data/vendor/local/share/doc/libtheora-1.1.1/html/files.html +21 -47
  422. data/vendor/local/share/doc/libtheora-1.1.1/html/functions.html +41 -61
  423. data/vendor/local/share/doc/libtheora-1.1.1/html/functions_vars.html +41 -61
  424. data/vendor/local/share/doc/libtheora-1.1.1/html/globals.html +27 -53
  425. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_defs.html +25 -45
  426. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_enum.html +20 -40
  427. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_eval.html +20 -40
  428. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_func.html +23 -43
  429. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_type.html +20 -46
  430. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_vars.html +20 -40
  431. data/vendor/local/share/doc/libtheora-1.1.1/html/group__basefuncs.html +219 -221
  432. data/vendor/local/share/doc/libtheora-1.1.1/html/group__decfuncs.html +147 -164
  433. data/vendor/local/share/doc/libtheora-1.1.1/html/group__encfuncs.html +127 -145
  434. data/vendor/local/share/doc/libtheora-1.1.1/html/group__oldfuncs.html +639 -641
  435. data/vendor/local/share/doc/libtheora-1.1.1/html/index.html +16 -40
  436. data/vendor/local/share/doc/libtheora-1.1.1/html/modules.html +19 -45
  437. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__comment.html +47 -70
  438. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__huff__code.html +35 -60
  439. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__img__plane.html +47 -70
  440. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__info.html +132 -141
  441. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__quant__info.html +56 -80
  442. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__quant__ranges.html +41 -65
  443. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__stripe__callback.html +35 -60
  444. data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__comment.html +51 -71
  445. data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__info.html +181 -177
  446. data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__state.html +46 -66
  447. data/vendor/local/share/doc/libtheora-1.1.1/html/structyuv__buffer.html +80 -95
  448. data/vendor/local/share/doc/libtheora-1.1.1/html/tabs.css +89 -44
  449. data/vendor/local/share/doc/libtheora-1.1.1/html/theora_8h.html +168 -206
  450. data/vendor/local/share/doc/libtheora-1.1.1/html/theora_8h_source.html +228 -258
  451. data/vendor/local/share/doc/libtheora-1.1.1/html/theoradec_8h.html +155 -182
  452. data/vendor/local/share/doc/libtheora-1.1.1/html/theoradec_8h_source.html +91 -121
  453. data/vendor/local/share/doc/libtheora-1.1.1/html/theoraenc_8h.html +299 -315
  454. data/vendor/local/share/doc/libtheora-1.1.1/html/theoraenc_8h_source.html +100 -130
  455. data/vendor/local/share/doc/libtheora-1.1.1/latex/Makefile +3 -3
  456. data/vendor/local/share/doc/libtheora-1.1.1/latex/annotated.tex +12 -12
  457. data/vendor/local/share/doc/libtheora-1.1.1/latex/codec_8h.tex +160 -200
  458. data/vendor/local/share/doc/libtheora-1.1.1/latex/doxygen.sty +29 -162
  459. data/vendor/local/share/doc/libtheora-1.1.1/latex/files.tex +5 -5
  460. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__basefuncs.tex +122 -271
  461. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__decfuncs.tex +69 -184
  462. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__encfuncs.tex +59 -150
  463. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__oldfuncs.tex +381 -819
  464. data/vendor/local/share/doc/libtheora-1.1.1/latex/index.tex +5 -5
  465. data/vendor/local/share/doc/libtheora-1.1.1/latex/modules.tex +2 -2
  466. data/vendor/local/share/doc/libtheora-1.1.1/latex/refman.tex +18 -32
  467. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__comment.tex +27 -41
  468. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__huff__code.tex +17 -27
  469. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__img__plane.tex +22 -36
  470. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__info.tex +99 -124
  471. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__quant__info.tex +38 -52
  472. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__quant__ranges.tex +21 -33
  473. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__stripe__callback.tex +16 -26
  474. data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__comment.tex +26 -40
  475. data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__info.tex +134 -170
  476. data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__state.tex +23 -27
  477. data/vendor/local/share/doc/libtheora-1.1.1/latex/structyuv__buffer.tex +51 -75
  478. data/vendor/local/share/doc/libtheora-1.1.1/latex/theora_8h.tex +154 -156
  479. data/vendor/local/share/doc/libtheora-1.1.1/latex/theoradec_8h.tex +120 -177
  480. data/vendor/local/share/doc/libtheora-1.1.1/latex/theoraenc_8h.tex +213 -382
  481. metadata +2352 -2562
  482. data/lib/1.8/gstreamer.so +0 -0
  483. data/vendor/local/manifest/libxml2-dev_2.7.7-1_win32.mft +0 -267
  484. data/vendor/local/manifest/libxml2_2.7.7-1_win32.mft +0 -2
  485. data/vendor/local/share/doc/libtheora-1.1.1/html/bc_s.png +0 -0
  486. data/vendor/local/share/doc/libtheora-1.1.1/html/bdwn.png +0 -0
  487. data/vendor/local/share/doc/libtheora-1.1.1/html/closed.png +0 -0
  488. data/vendor/local/share/doc/libtheora-1.1.1/html/dir_0f91760d62c578de767c41a0aaae5482.html +0 -67
  489. data/vendor/local/share/doc/libtheora-1.1.1/html/dir_d44c64559bbebec7f509842c48db8b23.html +0 -60
  490. data/vendor/local/share/doc/libtheora-1.1.1/html/dynsections.js +0 -78
  491. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2blank.png +0 -0
  492. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2cl.png +0 -0
  493. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2doc.png +0 -0
  494. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2folderclosed.png +0 -0
  495. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2folderopen.png +0 -0
  496. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2lastnode.png +0 -0
  497. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2link.png +0 -0
  498. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mlastnode.png +0 -0
  499. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mnode.png +0 -0
  500. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mo.png +0 -0
  501. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2node.png +0 -0
  502. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2ns.png +0 -0
  503. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2plastnode.png +0 -0
  504. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2pnode.png +0 -0
  505. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2splitbar.png +0 -0
  506. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2vertline.png +0 -0
  507. data/vendor/local/share/doc/libtheora-1.1.1/html/nav_f.png +0 -0
  508. data/vendor/local/share/doc/libtheora-1.1.1/html/nav_g.png +0 -0
  509. data/vendor/local/share/doc/libtheora-1.1.1/html/nav_h.png +0 -0
  510. data/vendor/local/share/doc/libtheora-1.1.1/html/open.png +0 -0
  511. data/vendor/local/share/doc/libtheora-1.1.1/html/sync_off.png +0 -0
  512. data/vendor/local/share/doc/libtheora-1.1.1/html/sync_on.png +0 -0
  513. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_a.png +0 -0
  514. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_b.png +0 -0
  515. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_h.png +0 -0
  516. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_s.png +0 -0
  517. data/vendor/local/share/doc/libtheora-1.1.1/latex/dir_0f91760d62c578de767c41a0aaae5482.tex +0 -13
  518. data/vendor/local/share/doc/libtheora-1.1.1/latex/dir_d44c64559bbebec7f509842c48db8b23.tex +0 -7
  519. data/vendor/local/share/doc/libxml2-2.7.7/Copyright +0 -27
  520. data/vendor/local/share/doc/libxml2-2.7.7/examples/testHTML.c +0 -880
  521. data/vendor/local/share/doc/libxml2-2.7.7/examples/testSAX.c +0 -1198
  522. data/vendor/local/share/doc/libxml2-2.7.7/examples/testXPath.c +0 -227
  523. data/vendor/local/share/doc/libxml2-2.7.7/examples/xmllint.c +0 -3722
  524. data/vendor/local/share/doc/libxml2-2.7.7/html/DOM.gif +0 -0
  525. data/vendor/local/share/doc/libxml2-2.7.7/html/FAQ.html +0 -282
  526. data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-180x168.gif +0 -0
  527. data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-90x34.gif +0 -0
  528. data/vendor/local/share/doc/libxml2-2.7.7/html/encoding.html +0 -206
  529. data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xml +0 -751
  530. data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xsl +0 -174
  531. data/vendor/local/share/doc/libxml2-2.7.7/html/html/book1.html +0 -13
  532. data/vendor/local/share/doc/libxml2-2.7.7/html/html/home.png +0 -0
  533. data/vendor/local/share/doc/libxml2-2.7.7/html/html/index.html +0 -13
  534. data/vendor/local/share/doc/libxml2-2.7.7/html/html/left.png +0 -0
  535. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-DOCBparser.html +0 -51
  536. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLparser.html +0 -182
  537. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLtree.html +0 -73
  538. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX.html +0 -125
  539. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX2.html +0 -128
  540. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-c14n.html +0 -38
  541. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-catalog.html +0 -142
  542. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-chvalid.html +0 -72
  543. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-debugXML.html +0 -120
  544. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-dict.html +0 -49
  545. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-encoding.html +0 -118
  546. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-entities.html +0 -79
  547. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-globals.html +0 -152
  548. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-hash.html +0 -116
  549. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-lib.html +0 -13
  550. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-list.html +0 -120
  551. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanoftp.html +0 -92
  552. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanohttp.html +0 -65
  553. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parser.html +0 -555
  554. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parserInternals.html +0 -319
  555. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-pattern.html +0 -76
  556. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-relaxng.html +0 -162
  557. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schemasInternals.html +0 -373
  558. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schematron.html +0 -81
  559. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-threads.html +0 -72
  560. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-tree.html +0 -958
  561. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-uri.html +0 -73
  562. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-valid.html +0 -289
  563. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xinclude.html +0 -59
  564. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xlink.html +0 -82
  565. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlIO.html +0 -206
  566. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlautomata.html +0 -85
  567. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlerror.html +0 -862
  568. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlexports.html +0 -20
  569. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmemory.html +0 -107
  570. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmodule.html +0 -38
  571. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlreader.html +0 -327
  572. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlregexp.html +0 -143
  573. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlsave.html +0 -59
  574. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemas.html +0 -173
  575. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemastypes.html +0 -123
  576. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlstring.html +0 -108
  577. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlunicode.html +0 -512
  578. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlversion.html +0 -60
  579. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlwriter.html +0 -258
  580. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpath.html +0 -307
  581. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpathInternals.html +0 -394
  582. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpointer.html +0 -83
  583. data/vendor/local/share/doc/libxml2-2.7.7/html/html/right.png +0 -0
  584. data/vendor/local/share/doc/libxml2-2.7.7/html/html/up.png +0 -0
  585. data/vendor/local/share/doc/libxml2-2.7.7/html/io1.c +0 -166
  586. data/vendor/local/share/doc/libxml2-2.7.7/html/io1.res +0 -5
  587. data/vendor/local/share/doc/libxml2-2.7.7/html/io2.c +0 -58
  588. data/vendor/local/share/doc/libxml2-2.7.7/html/io2.res +0 -2
  589. data/vendor/local/share/doc/libxml2-2.7.7/html/libxml.gif +0 -0
  590. data/vendor/local/share/doc/libxml2-2.7.7/html/parse1.c +0 -56
  591. data/vendor/local/share/doc/libxml2-2.7.7/html/parse2.c +0 -72
  592. data/vendor/local/share/doc/libxml2-2.7.7/html/parse3.c +0 -60
  593. data/vendor/local/share/doc/libxml2-2.7.7/html/parse4.c +0 -143
  594. data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.c +0 -107
  595. data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.res +0 -14
  596. data/vendor/local/share/doc/libxml2-2.7.7/html/reader2.c +0 -122
  597. data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.c +0 -120
  598. data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.res +0 -13
  599. data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.c +0 -122
  600. data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.res +0 -3
  601. data/vendor/local/share/doc/libxml2-2.7.7/html/redhat.gif +0 -0
  602. data/vendor/local/share/doc/libxml2-2.7.7/html/smallfootonly.gif +0 -0
  603. data/vendor/local/share/doc/libxml2-2.7.7/html/structure.gif +0 -0
  604. data/vendor/local/share/doc/libxml2-2.7.7/html/test1.xml +0 -1
  605. data/vendor/local/share/doc/libxml2-2.7.7/html/test2.xml +0 -13
  606. data/vendor/local/share/doc/libxml2-2.7.7/html/test3.xml +0 -39
  607. data/vendor/local/share/doc/libxml2-2.7.7/html/testWriter.c +0 -1198
  608. data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.c +0 -94
  609. data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.res +0 -4
  610. data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.c +0 -118
  611. data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.res +0 -18
  612. data/vendor/local/share/doc/libxml2-2.7.7/html/tst.xml +0 -7
  613. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apa.html +0 -8
  614. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apb.html +0 -14
  615. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apc.html +0 -82
  616. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apd.html +0 -76
  617. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ape.html +0 -78
  618. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apf.html +0 -67
  619. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apg.html +0 -75
  620. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/aph.html +0 -76
  621. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/api.html +0 -4
  622. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s02.html +0 -14
  623. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s03.html +0 -47
  624. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s04.html +0 -54
  625. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s05.html +0 -55
  626. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s06.html +0 -35
  627. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s07.html +0 -30
  628. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s08.html +0 -38
  629. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s09.html +0 -63
  630. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/blank.png +0 -0
  631. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/1.png +0 -0
  632. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/10.png +0 -0
  633. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/2.png +0 -0
  634. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/3.png +0 -0
  635. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/4.png +0 -0
  636. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/5.png +0 -0
  637. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/6.png +0 -0
  638. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/7.png +0 -0
  639. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/8.png +0 -0
  640. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/9.png +0 -0
  641. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/caution.png +0 -0
  642. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/draft.png +0 -0
  643. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/home.png +0 -0
  644. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/important.png +0 -0
  645. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/next.png +0 -0
  646. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/note.png +0 -0
  647. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/prev.png +0 -0
  648. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/tip.png +0 -0
  649. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-blank.png +0 -0
  650. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-minus.png +0 -0
  651. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-plus.png +0 -0
  652. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/up.png +0 -0
  653. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/warning.png +0 -0
  654. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddattribute.c +0 -64
  655. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddkeyword.c +0 -75
  656. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeconvert.c +0 -73
  657. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includegetattribute.c +0 -72
  658. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includekeyword.c +0 -79
  659. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includexpath.c +0 -74
  660. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/index.html +0 -14
  661. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ix01.html +0 -1
  662. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/xmltutorial.pdf +0 -1336
  663. data/vendor/local/share/doc/libxml2-2.7.7/html/w3c.png +0 -0
  664. data/vendor/local/share/doc/libxml2-2.7.7/html/writer.xml +0 -2
  665. data/vendor/local/share/doc/libxml2-2.7.7/html/xml.html +0 -5344
  666. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.c +0 -250
  667. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.res +0 -5
  668. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.c +0 -190
  669. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.res +0 -30
  670. data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.log +0 -1244
  671. data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.sh +0 -66
@@ -1,251 +1,194 @@
1
- \section{theoradec.\-h File Reference}
2
- \label{theoradec_8h}\index{theoradec.\-h@{theoradec.\-h}}
1
+ \section{theoradec.h File Reference}
2
+ \label{theoradec_8h}\index{theoradec.h@{theoradec.h}}
3
3
 
4
4
 
5
- The {\ttfamily libtheoradec} C decoding A\-P\-I.
6
-
7
-
8
- {\ttfamily \#include $<$stddef.\-h$>$}\\*
9
- {\ttfamily \#include $<$ogg/ogg.\-h$>$}\\*
10
- {\ttfamily \#include \char`\"{}codec.\-h\char`\"{}}\\*
5
+ The {\ttfamily libtheoradec} C decoding API.
6
+ {\ttfamily \#include $<$stddef.h$>$}\par
7
+ {\ttfamily \#include $<$ogg/ogg.h$>$}\par
8
+ {\ttfamily \#include \char`\"{}codec.h\char`\"{}}\par
11
9
  \subsection*{Data Structures}
12
10
  \begin{DoxyCompactItemize}
13
11
  \item
14
- struct {\bf th\-\_\-stripe\-\_\-callback}
15
- \begin{DoxyCompactList}\small\item\em The striped decode callback data to pass to \doxyref{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}. \end{DoxyCompactList}\end{DoxyCompactItemize}
16
- \subsection*{Macros}
12
+ struct {\bf th\_\-stripe\_\-callback}
13
+ \begin{DoxyCompactList}\small\item\em The striped decode callback data to pass to \doxyref{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}{p.}{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
14
+ \subsection*{Defines}
17
15
  \begin{DoxyCompactItemize}
18
16
  \item
19
- \#define {\bf \-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-}~(1)
17
+ \#define {\bf \_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}~(1)
20
18
  \end{DoxyCompactItemize}
21
- \begin{Indent}{\bf th\-\_\-decode\-\_\-ctl() codes}\par
22
- {\em \label{theoradec_8h_decctlcodes}%
23
- These are the available request codes for \doxyref{th\-\_\-decode\-\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}. By convention, these are odd, to distinguish them from the \doxyref{encoder control codes}{p.}{theoraenc_8h_encctlcodes}. Keep any experimental or vendor-\/specific values above {\ttfamily 0x8000}. }\begin{DoxyCompactItemize}
19
+ \begin{Indent}{\bf th\_\-decode\_\-ctl() codes}\par
20
+ {\em \label{_amgrp638dfd34390d0a936dbf76caf938d78d}
21
+ \label{theoradec_8h_decctlcodes}
22
+ These are the available request codes for \doxyref{th\_\-decode\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}. By convention, these are odd, to distinguish them from the \doxyref{encoder control codes}{p.}{theoraenc_8h_encctlcodes}. Keep any experimental or vendor-\/specific values above {\ttfamily 0x8000}. }\begin{DoxyCompactItemize}
24
23
  \item
25
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}~(1)
26
- \begin{DoxyCompactList}\small\item\em Gets the maximum post-\/processing level. \end{DoxyCompactList}\item
27
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L}~(3)
28
- \begin{DoxyCompactList}\small\item\em Sets the post-\/processing level. \end{DoxyCompactList}\item
29
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S}~(5)
30
- \begin{DoxyCompactList}\small\item\em Sets the granule position. \end{DoxyCompactList}\item
31
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B}~(7)
32
- \begin{DoxyCompactList}\small\item\em Sets the striped decode callback function. \end{DoxyCompactList}\item
33
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E}~(9)
34
- \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the macroblock display mode. \end{DoxyCompactList}\item
35
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V}~(11)
36
- \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the motion vector display mode. \end{DoxyCompactList}\item
37
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I}~(13)
38
- \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the adaptive quantization display mode. \end{DoxyCompactList}\item
39
- \#define {\bf T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S}~(15)
40
- \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the bitstream breakdown visualization mode. \end{DoxyCompactList}\end{DoxyCompactItemize}
24
+ \#define {\bf TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}~(1)
25
+ \begin{DoxyCompactList}\small\item\em Gets the maximum post-\/processing level. \item\end{DoxyCompactList}\item
26
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-PPLEVEL}~(3)
27
+ \begin{DoxyCompactList}\small\item\em Sets the post-\/processing level. \item\end{DoxyCompactList}\item
28
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-GRANPOS}~(5)
29
+ \begin{DoxyCompactList}\small\item\em Sets the granule position. \item\end{DoxyCompactList}\item
30
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}~(7)
31
+ \begin{DoxyCompactList}\small\item\em Sets the striped decode callback function. \item\end{DoxyCompactList}\item
32
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}~(9)
33
+ \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the macroblock display mode. \item\end{DoxyCompactList}\item
34
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}~(11)
35
+ \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the motion vector display mode. \item\end{DoxyCompactList}\item
36
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}~(13)
37
+ \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the adaptive quantization display mode. \item\end{DoxyCompactList}\item
38
+ \#define {\bf TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}~(15)
39
+ \begin{DoxyCompactList}\small\item\em Enables telemetry and sets the bitstream breakdown visualization mode. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
41
40
  \end{Indent}
42
41
  \subsection*{Typedefs}
43
42
  \begin{DoxyCompactItemize}
44
43
  \item
45
- typedef void($\ast$ {\bf th\-\_\-stripe\-\_\-decoded\-\_\-func} )(void $\ast$\-\_\-ctx, {\bf th\-\_\-ycbcr\-\_\-buffer} \-\_\-buf, int \-\_\-yfrag0, int \-\_\-yfrag\-\_\-end)
46
- \begin{DoxyCompactList}\small\item\em A callback function for striped decode. \end{DoxyCompactList}\end{DoxyCompactItemize}
44
+ typedef void($\ast$ {\bf th\_\-stripe\_\-decoded\_\-func} )(void $\ast$\_\-ctx, {\bf th\_\-ycbcr\_\-buffer} \_\-buf, int \_\-yfrag0, int \_\-yfrag\_\-end)
45
+ \begin{DoxyCompactList}\small\item\em A callback function for striped decode. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
47
46
  \begin{Indent}{\bf Decoder state}\par
48
- {\em The following data structures are opaque, and their contents are not publicly defined by this A\-P\-I.
47
+ {\em \label{_amgrp20ad7456b6a1ebc1cb57f3e51d4d7bc3}
48
+ The following data structures are opaque, and their contents are not publicly defined by this API.
49
49
 
50
50
  Referring to their internals directly is unsupported, and may break without warning. }\begin{DoxyCompactItemize}
51
51
  \item
52
- typedef struct {\bf th\-\_\-dec\-\_\-ctx} {\bf th\-\_\-dec\-\_\-ctx}
53
- \begin{DoxyCompactList}\small\item\em The decoder context. \end{DoxyCompactList}\item
54
- typedef struct {\bf th\-\_\-setup\-\_\-info} {\bf th\-\_\-setup\-\_\-info}
55
- \begin{DoxyCompactList}\small\item\em Setup information. \end{DoxyCompactList}\end{DoxyCompactItemize}
52
+ typedef struct {\bf th\_\-dec\_\-ctx} {\bf th\_\-dec\_\-ctx}
53
+ \begin{DoxyCompactList}\small\item\em The decoder context. \item\end{DoxyCompactList}\item
54
+ typedef struct {\bf th\_\-setup\_\-info} {\bf th\_\-setup\_\-info}
55
+ \begin{DoxyCompactList}\small\item\em Setup information. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
56
56
  \end{Indent}
57
57
  \subsection*{Functions}
58
58
  \begin{Indent}{\bf Functions for decoding}\par
59
- {\em You must link to {\ttfamily libtheoradec} if you use any of the functions in this section.
59
+ {\em \label{_amgrp9d29c94aa62f20426aa5ff062c7daedd}
60
+ You must link to {\ttfamily libtheoradec} if you use any of the functions in this section.
60
61
 
61
- The functions are listed in the order they are used in a typical decode. The basic steps are\-:
62
+ The functions are listed in the order they are used in a typical decode. The basic steps are:
62
63
  \begin{DoxyItemize}
63
- \item Parse the header packets by repeatedly calling \doxyref{th\-\_\-decode\-\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}.
64
- \item Allocate a \doxyref{th\-\_\-dec\-\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle with \doxyref{th\-\_\-decode\-\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}.
65
- \item Call \doxyref{th\-\_\-setup\-\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} to free any memory used for codec setup information.
66
- \item Perform any additional decoder configuration with \doxyref{th\-\_\-decode\-\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}.
67
- \item For each video data packet\-:
64
+ \item Parse the header packets by repeatedly calling \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50}.
65
+ \item Allocate a \doxyref{th\_\-dec\_\-ctx}{p.}{theoradec_8h_a843d70bb02563885a8d54b9c1a781729} handle with \doxyref{th\_\-decode\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}.
66
+ \item Call \doxyref{th\_\-setup\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} to free any memory used for codec setup information.
67
+ \item Perform any additional decoder configuration with \doxyref{th\_\-decode\_\-ctl()}{p.}{group__decfuncs_ga1a8051958d75b1012573b6e3c8f670e1}.
68
+ \item For each video data packet:
68
69
  \begin{DoxyItemize}
69
- \item Submit the packet to the decoder via \doxyref{th\-\_\-decode\-\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}.
70
- \item Retrieve the uncompressed video data via \doxyref{th\-\_\-decode\-\_\-ycbcr\-\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb}.
70
+ \item Submit the packet to the decoder via \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}.
71
+ \item Retrieve the uncompressed video data via \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb}.
71
72
  \end{DoxyItemize}
72
- \item Call \doxyref{th\-\_\-decode\-\_\-free()}{p.}{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} to release all decoder memory.
73
+ \item Call \doxyref{th\_\-decode\_\-free()}{p.}{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} to release all decoder memory.
73
74
  \end{DoxyItemize}}\begin{DoxyCompactItemize}
74
75
  \item
75
- int {\bf th\-\_\-decode\-\_\-headerin} ({\bf th\-\_\-info} $\ast$\-\_\-info, {\bf th\-\_\-comment} $\ast$\-\_\-tc, {\bf th\-\_\-setup\-\_\-info} $\ast$$\ast$\-\_\-setup, ogg\-\_\-packet $\ast$\-\_\-op)
76
- \begin{DoxyCompactList}\small\item\em Decodes the header packets of a Theora stream. \end{DoxyCompactList}\item
77
- {\bf th\-\_\-dec\-\_\-ctx} $\ast$ {\bf th\-\_\-decode\-\_\-alloc} (const {\bf th\-\_\-info} $\ast$\-\_\-info, const {\bf th\-\_\-setup\-\_\-info} $\ast$\-\_\-setup)
78
- \begin{DoxyCompactList}\small\item\em Allocates a decoder instance. \end{DoxyCompactList}\item
79
- void {\bf th\-\_\-setup\-\_\-free} ({\bf th\-\_\-setup\-\_\-info} $\ast$\-\_\-setup)
80
- \begin{DoxyCompactList}\small\item\em Releases all storage used for the decoder setup information. \end{DoxyCompactList}\item
81
- int {\bf th\-\_\-decode\-\_\-ctl} ({\bf th\-\_\-dec\-\_\-ctx} $\ast$\-\_\-dec, int \-\_\-req, void $\ast$\-\_\-buf, size\-\_\-t \-\_\-buf\-\_\-sz)
82
- \begin{DoxyCompactList}\small\item\em Decoder control function. \end{DoxyCompactList}\item
83
- int {\bf th\-\_\-decode\-\_\-packetin} ({\bf th\-\_\-dec\-\_\-ctx} $\ast$\-\_\-dec, const ogg\-\_\-packet $\ast$\-\_\-op, ogg\-\_\-int64\-\_\-t $\ast$\-\_\-granpos)
84
- \begin{DoxyCompactList}\small\item\em Submits a packet containing encoded video data to the decoder. \end{DoxyCompactList}\item
85
- int {\bf th\-\_\-decode\-\_\-ycbcr\-\_\-out} ({\bf th\-\_\-dec\-\_\-ctx} $\ast$\-\_\-dec, {\bf th\-\_\-ycbcr\-\_\-buffer} \-\_\-ycbcr)
86
- \begin{DoxyCompactList}\small\item\em Outputs the next available frame of decoded Y'Cb\-Cr data. \end{DoxyCompactList}\item
87
- void {\bf th\-\_\-decode\-\_\-free} ({\bf th\-\_\-dec\-\_\-ctx} $\ast$\-\_\-dec)
88
- \begin{DoxyCompactList}\small\item\em Frees an allocated decoder instance. \end{DoxyCompactList}\end{DoxyCompactItemize}
76
+ int {\bf th\_\-decode\_\-headerin} ({\bf th\_\-info} $\ast$\_\-info, {\bf th\_\-comment} $\ast$\_\-tc, {\bf th\_\-setup\_\-info} $\ast$$\ast$\_\-setup, ogg\_\-packet $\ast$\_\-op)
77
+ \begin{DoxyCompactList}\small\item\em Decodes the header packets of a Theora stream. \item\end{DoxyCompactList}\item
78
+ {\bf th\_\-dec\_\-ctx} $\ast$ {\bf th\_\-decode\_\-alloc} (const {\bf th\_\-info} $\ast$\_\-info, const {\bf th\_\-setup\_\-info} $\ast$\_\-setup)
79
+ \begin{DoxyCompactList}\small\item\em Allocates a decoder instance. \item\end{DoxyCompactList}\item
80
+ void {\bf th\_\-setup\_\-free} ({\bf th\_\-setup\_\-info} $\ast$\_\-setup)
81
+ \begin{DoxyCompactList}\small\item\em Releases all storage used for the decoder setup information. \item\end{DoxyCompactList}\item
82
+ int {\bf th\_\-decode\_\-ctl} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, int \_\-req, void $\ast$\_\-buf, size\_\-t \_\-buf\_\-sz)
83
+ \begin{DoxyCompactList}\small\item\em Decoder control function. \item\end{DoxyCompactList}\item
84
+ int {\bf th\_\-decode\_\-packetin} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, const ogg\_\-packet $\ast$\_\-op, ogg\_\-int64\_\-t $\ast$\_\-granpos)
85
+ \begin{DoxyCompactList}\small\item\em Submits a packet containing encoded video data to the decoder. \item\end{DoxyCompactList}\item
86
+ int {\bf th\_\-decode\_\-ycbcr\_\-out} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec, {\bf th\_\-ycbcr\_\-buffer} \_\-ycbcr)
87
+ \begin{DoxyCompactList}\small\item\em Outputs the next available frame of decoded Y'CbCr data. \item\end{DoxyCompactList}\item
88
+ void {\bf th\_\-decode\_\-free} ({\bf th\_\-dec\_\-ctx} $\ast$\_\-dec)
89
+ \begin{DoxyCompactList}\small\item\em Frees an allocated decoder instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
89
90
  \end{Indent}
90
91
 
91
92
 
92
93
  \subsection{Detailed Description}
93
- The {\ttfamily libtheoradec} C decoding A\-P\-I.
94
-
95
- \subsection{Macro Definition Documentation}
96
- \index{theoradec.\-h@{theoradec.\-h}!\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-@{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-}}
97
- \index{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-@{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-}!theoradec.h@{theoradec.\-h}}
98
- \subsubsection[{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-~(1)}\label{theoradec_8h_a0d78767a326c34dbf84d5b845cba7b4a}
99
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}}
100
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}!theoradec.h@{theoradec.\-h}}
101
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X~(1)}\label{theoradec_8h_ab31f251c9319f2140d247585d30b3d07}
94
+ The {\ttfamily libtheoradec} C decoding API.
102
95
 
96
+ \subsection{Define Documentation}
97
+ \index{theoradec.h@{theoradec.h}!\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}}
98
+ \index{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}!theoradec.h@{theoradec.h}}
99
+ \subsubsection[{\_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-~(1)}\label{theoradec_8h_a0d78767a326c34dbf84d5b845cba7b4a}
100
+ \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX@{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}}
101
+ \index{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX@{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}!theoradec.h@{theoradec.h}}
102
+ \subsubsection[{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX~(1)}\label{theoradec_8h_ab31f251c9319f2140d247585d30b3d07}
103
103
 
104
- Gets the maximum post-\/processing level.
105
104
 
106
- The decoder supports a post-\/processing filter that can improve the appearance of the decoded images. This returns the highest level setting for this post-\/processor, corresponding to maximum improvement and computational expense.
105
+ Gets the maximum post-\/processing level. The decoder supports a post-\/processing filter that can improve the appearance of the decoded images. This returns the highest level setting for this post-\/processor, corresponding to maximum improvement and computational expense.
107
106
 
108
107
 
109
- \begin{DoxyParams}[1]{Parameters}
110
- \mbox{\tt out} & {\em \-\_\-buf} & int\-: The maximum post-\/processing level. \\
111
- \hline
112
- \end{DoxyParams}
108
+ \begin{DoxyParams}{Parameters}
109
+ \item[\mbox{$\rightarrow$} {\em \_\-buf}]int: The maximum post-\/processing level. \end{DoxyParams}
113
110
 
114
111
  \begin{DoxyRetVals}{Return values}
115
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-dec\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
116
- \hline
117
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}. \\
118
- \hline
119
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
120
- \hline
121
- \end{DoxyRetVals}
122
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S}}
123
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S}!theoradec.h@{theoradec.\-h}}
124
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-G\-R\-A\-N\-P\-O\-S~(5)}\label{theoradec_8h_a1e870c654d35394f0d490045df04e0f5}
125
-
112
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
113
+ \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-GRANPOS@{TH\_\-DECCTL\_\-SET\_\-GRANPOS}}
114
+ \index{TH\_\-DECCTL\_\-SET\_\-GRANPOS@{TH\_\-DECCTL\_\-SET\_\-GRANPOS}!theoradec.h@{theoradec.h}}
115
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-GRANPOS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-GRANPOS~(5)}\label{theoradec_8h_a1e870c654d35394f0d490045df04e0f5}
126
116
 
127
- Sets the granule position.
128
117
 
129
- Call this after a seek, before decoding the first frame, to ensure that the proper granule position is returned for all subsequent frames. If you track timestamps yourself and do not use the granule position returned by the decoder, then you need not call this function.
118
+ Sets the granule position. Call this after a seek, before decoding the first frame, to ensure that the proper granule position is returned for all subsequent frames. If you track timestamps yourself and do not use the granule position returned by the decoder, then you need not call this function.
130
119
 
131
120
 
132
- \begin{DoxyParams}[1]{Parameters}
133
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily ogg\-\_\-int64\-\_\-t}\-: The granule position of the next frame. \\
134
- \hline
135
- \end{DoxyParams}
121
+ \begin{DoxyParams}{Parameters}
122
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-int64\_\-t}: The granule position of the next frame. \end{DoxyParams}
136
123
 
137
124
  \begin{DoxyRetVals}{Return values}
138
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-dec\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
139
- \hline
140
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(ogg\-\_\-int64\-\_\-t)}, or the granule position is negative. \\
141
- \hline
142
- \end{DoxyRetVals}
143
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L}}
144
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L}!theoradec.h@{theoradec.\-h}}
145
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L~(3)}\label{theoradec_8h_a87774c35e1a755a84e2d705b38ebef0d}
146
-
125
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(ogg\_\-int64\_\-t)}, or the granule position is negative. \end{DoxyRetVals}
126
+ \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-PPLEVEL@{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}}
127
+ \index{TH\_\-DECCTL\_\-SET\_\-PPLEVEL@{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}!theoradec.h@{theoradec.h}}
128
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-PPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-PPLEVEL~(3)}\label{theoradec_8h_a87774c35e1a755a84e2d705b38ebef0d}
147
129
 
148
- Sets the post-\/processing level.
149
130
 
150
- By default, post-\/processing is disabled.
131
+ Sets the post-\/processing level. By default, post-\/processing is disabled.
151
132
 
152
- Sets the level of post-\/processing to use when decoding the compressed stream. This must be a value between zero (off) and the maximum returned by T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X.
133
+ Sets the level of post-\/processing to use when decoding the compressed stream. This must be a value between zero (off) and the maximum returned by TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX.
153
134
 
154
135
 
155
- \begin{DoxyParams}[1]{Parameters}
156
- \mbox{\tt in} & {\em \-\_\-buf} & int\-: The new post-\/processing level. 0 to disable; larger values use more C\-P\-U. \\
157
- \hline
158
- \end{DoxyParams}
136
+ \begin{DoxyParams}{Parameters}
137
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]int: The new post-\/processing level. 0 to disable; larger values use more CPU. \end{DoxyParams}
159
138
 
160
139
  \begin{DoxyRetVals}{Return values}
161
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-dec\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
162
- \hline
163
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}, or the post-\/processing level is out of bounds. The maximum post-\/processing level may be implementation-\/specific, and can be obtained via \doxyref{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-P\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}{p.}{theoradec_8h_ab31f251c9319f2140d247585d30b3d07}. \\
164
- \hline
165
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
166
- \hline
167
- \end{DoxyRetVals}
168
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B}}
169
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B}!theoradec.h@{theoradec.\-h}}
170
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-T\-R\-I\-P\-E\-\_\-\-C\-B~(7)}\label{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}
171
-
140
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the post-\/processing level is out of bounds. The maximum post-\/processing level may be implementation-\/specific, and can be obtained via \doxyref{TH\_\-DECCTL\_\-GET\_\-PPLEVEL\_\-MAX}{p.}{theoradec_8h_ab31f251c9319f2140d247585d30b3d07}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
141
+ \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB@{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}}
142
+ \index{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB@{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}!theoradec.h@{theoradec.h}}
143
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-STRIPE\_\-CB~(7)}\label{theoradec_8h_ac95cc9e109474b0fa4bb920ab2cfdf1e}
172
144
 
173
- Sets the striped decode callback function.
174
145
 
175
- If set, this function will be called as each piece of a frame is fully decoded in \doxyref{th\-\_\-decode\-\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. You can pass in a \doxyref{th\-\_\-stripe\-\_\-callback}{p.}{structth__stripe__callback} with \doxyref{th\-\_\-stripe\-\_\-callback\-::stripe\-\_\-decoded}{p.}{structth__stripe__callback_a977c725680a37e3446e459f063b1f4a5} set to {\ttfamily N\-U\-L\-L} to disable the callbacks at any point. Enabling striped decode does not prevent you from calling \doxyref{th\-\_\-decode\-\_\-ycbcr\-\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb} after the frame is fully decoded.
146
+ Sets the striped decode callback function. If set, this function will be called as each piece of a frame is fully decoded in \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. You can pass in a \doxyref{th\_\-stripe\_\-callback}{p.}{structth__stripe__callback} with \doxyref{th\_\-stripe\_\-callback::stripe\_\-decoded}{p.}{structth__stripe__callback_a977c725680a37e3446e459f063b1f4a5} set to {\ttfamily NULL} to disable the callbacks at any point. Enabling striped decode does not prevent you from calling \doxyref{th\_\-decode\_\-ycbcr\_\-out()}{p.}{group__decfuncs_gaa9cc8af63fa8540e0fc95572f259cdcb} after the frame is fully decoded.
176
147
 
177
148
 
178
- \begin{DoxyParams}[1]{Parameters}
179
- \mbox{\tt in} & {\em \-\_\-buf} & \doxyref{th\-\_\-stripe\-\_\-callback}{p.}{structth__stripe__callback}\-: The callback parameters. \\
180
- \hline
181
- \end{DoxyParams}
149
+ \begin{DoxyParams}{Parameters}
150
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]\doxyref{th\_\-stripe\_\-callback}{p.}{structth__stripe__callback}: The callback parameters. \end{DoxyParams}
182
151
 
183
152
  \begin{DoxyRetVals}{Return values}
184
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-dec\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
185
- \hline
186
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(th\-\_\-stripe\-\_\-callback)}. \\
187
- \hline
188
- \end{DoxyRetVals}
189
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S}}
190
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S}!theoradec.h@{theoradec.\-h}}
191
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-B\-I\-T\-S~(15)}\label{theoradec_8h_a7f43fec07486f8a5f00e92aab7d44a25}
192
-
193
-
194
- Enables telemetry and sets the bitstream breakdown visualization mode.
153
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-dec\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(th\_\-stripe\_\-callback)}. \end{DoxyRetVals}
154
+ \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}}
155
+ \index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}!theoradec.h@{theoradec.h}}
156
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-BITS~(15)}\label{theoradec_8h_a7f43fec07486f8a5f00e92aab7d44a25}
195
157
 
196
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E}}
197
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E}!theoradec.h@{theoradec.\-h}}
198
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-B\-M\-O\-D\-E~(9)}\label{theoradec_8h_a8d5e0b9b4c8898f93f241acbeb7e7ffb}
199
158
 
159
+ Enables telemetry and sets the bitstream breakdown visualization mode. \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}}
160
+ \index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}!theoradec.h@{theoradec.h}}
161
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MBMODE~(9)}\label{theoradec_8h_a8d5e0b9b4c8898f93f241acbeb7e7ffb}
200
162
 
201
- Enables telemetry and sets the macroblock display mode.
202
163
 
203
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V}}
204
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V}!theoradec.h@{theoradec.\-h}}
205
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-M\-V~(11)}\label{theoradec_8h_a829285a03d24832c583f33c6357df8aa}
164
+ Enables telemetry and sets the macroblock display mode. \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}}
165
+ \index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}!theoradec.h@{theoradec.h}}
166
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-MV~(11)}\label{theoradec_8h_a829285a03d24832c583f33c6357df8aa}
206
167
 
207
168
 
208
- Enables telemetry and sets the motion vector display mode.
209
-
210
- \index{theoradec.\-h@{theoradec.\-h}!T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I}}
211
- \index{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I@{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I}!theoradec.h@{theoradec.\-h}}
212
- \subsubsection[{T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-D\-E\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-T\-E\-L\-E\-M\-E\-T\-R\-Y\-\_\-\-Q\-I~(13)}\label{theoradec_8h_ae3e2f7674ad92fe67b63915d48c9df5b}
169
+ Enables telemetry and sets the motion vector display mode. \index{theoradec.h@{theoradec.h}!TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}}
170
+ \index{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI@{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}!theoradec.h@{theoradec.h}}
171
+ \subsubsection[{TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-DECCTL\_\-SET\_\-TELEMETRY\_\-QI~(13)}\label{theoradec_8h_ae3e2f7674ad92fe67b63915d48c9df5b}
213
172
 
214
173
 
215
174
  Enables telemetry and sets the adaptive quantization display mode.
216
175
 
217
-
218
-
219
176
  \subsection{Typedef Documentation}
220
- \index{theoradec.\-h@{theoradec.\-h}!th\-\_\-dec\-\_\-ctx@{th\-\_\-dec\-\_\-ctx}}
221
- \index{th\-\_\-dec\-\_\-ctx@{th\-\_\-dec\-\_\-ctx}!theoradec.h@{theoradec.\-h}}
222
- \subsubsection[{th\-\_\-dec\-\_\-ctx}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\-\_\-dec\-\_\-ctx} {\bf th\-\_\-dec\-\_\-ctx}}\label{theoradec_8h_a843d70bb02563885a8d54b9c1a781729}
223
-
224
-
225
- The decoder context.
226
-
227
- \index{theoradec.\-h@{theoradec.\-h}!th\-\_\-setup\-\_\-info@{th\-\_\-setup\-\_\-info}}
228
- \index{th\-\_\-setup\-\_\-info@{th\-\_\-setup\-\_\-info}!theoradec.h@{theoradec.\-h}}
229
- \subsubsection[{th\-\_\-setup\-\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\-\_\-setup\-\_\-info} {\bf th\-\_\-setup\-\_\-info}}\label{theoradec_8h_ab71cd2657455cc27d6c0127c66a89f28}
177
+ \index{theoradec.h@{theoradec.h}!th\_\-dec\_\-ctx@{th\_\-dec\_\-ctx}}
178
+ \index{th\_\-dec\_\-ctx@{th\_\-dec\_\-ctx}!theoradec.h@{theoradec.h}}
179
+ \subsubsection[{th\_\-dec\_\-ctx}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\_\-dec\_\-ctx} {\bf th\_\-dec\_\-ctx}}\label{theoradec_8h_a843d70bb02563885a8d54b9c1a781729}
230
180
 
231
181
 
232
- Setup information.
182
+ The decoder context. \index{theoradec.h@{theoradec.h}!th\_\-setup\_\-info@{th\_\-setup\_\-info}}
183
+ \index{th\_\-setup\_\-info@{th\_\-setup\_\-info}!theoradec.h@{theoradec.h}}
184
+ \subsubsection[{th\_\-setup\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\_\-setup\_\-info} {\bf th\_\-setup\_\-info}}\label{theoradec_8h_ab71cd2657455cc27d6c0127c66a89f28}
233
185
 
234
- This contains auxiliary information (Huffman tables and quantization parameters) decoded from the setup header by \doxyref{th\-\_\-decode\-\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} to be passed to \doxyref{th\-\_\-decode\-\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}. It can be re-\/used to initialize any number of decoders, and can be freed via \doxyref{th\-\_\-setup\-\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} at any time. \index{theoradec.\-h@{theoradec.\-h}!th\-\_\-stripe\-\_\-decoded\-\_\-func@{th\-\_\-stripe\-\_\-decoded\-\_\-func}}
235
- \index{th\-\_\-stripe\-\_\-decoded\-\_\-func@{th\-\_\-stripe\-\_\-decoded\-\_\-func}!theoradec.h@{theoradec.\-h}}
236
- \subsubsection[{th\-\_\-stripe\-\_\-decoded\-\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ th\-\_\-stripe\-\_\-decoded\-\_\-func)(void $\ast$\-\_\-ctx, {\bf th\-\_\-ycbcr\-\_\-buffer} \-\_\-buf, int \-\_\-yfrag0, int \-\_\-yfrag\-\_\-end)}\label{theoradec_8h_a25dfc8713157545abd81eda476ca4b54}
237
186
 
187
+ Setup information. This contains auxiliary information (Huffman tables and quantization parameters) decoded from the setup header by \doxyref{th\_\-decode\_\-headerin()}{p.}{group__decfuncs_ga006d01d36fbe64768c571e6a12b7fc50} to be passed to \doxyref{th\_\-decode\_\-alloc()}{p.}{group__decfuncs_ga0ef07a9a97849054aa606c595a2d807e}. It can be re-\/used to initialize any number of decoders, and can be freed via \doxyref{th\_\-setup\_\-free()}{p.}{group__decfuncs_gadef55431b68aaa59d0d7b32b2f118f27} at any time. \index{theoradec.h@{theoradec.h}!th\_\-stripe\_\-decoded\_\-func@{th\_\-stripe\_\-decoded\_\-func}}
188
+ \index{th\_\-stripe\_\-decoded\_\-func@{th\_\-stripe\_\-decoded\_\-func}!theoradec.h@{theoradec.h}}
189
+ \subsubsection[{th\_\-stripe\_\-decoded\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}typedef void($\ast$ {\bf th\_\-stripe\_\-decoded\_\-func})(void $\ast$\_\-ctx, {\bf th\_\-ycbcr\_\-buffer} \_\-buf, int \_\-yfrag0, int \_\-yfrag\_\-end)}\label{theoradec_8h_a25dfc8713157545abd81eda476ca4b54}
238
190
 
239
- A callback function for striped decode.
240
191
 
241
- This is a function pointer to an application-\/provided function that will be called each time a section of the image is fully decoded in \doxyref{th\-\_\-decode\-\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. This allows the application to process the section immediately, while it is still in cache. Note that the frame is decoded bottom to top, so {\itshape \-\_\-yfrag0} will steadily decrease with each call until it reaches 0, at which point the full frame is decoded. The number of fragment rows made available in each call depends on the pixel format and the number of post-\/processing filters enabled, and may not even be constant for the entire frame. If a non-\/{\ttfamily N\-U\-L\-L} {\itshape \-\_\-granpos} pointer is passed to \doxyref{th\-\_\-decode\-\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}, the granule position for the frame will be stored in it before the first callback is made. If an entire frame is dropped (a 0-\/byte packet), then no callbacks will be made at all for that frame.
192
+ A callback function for striped decode. This is a function pointer to an application-\/provided function that will be called each time a section of the image is fully decoded in \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}. This allows the application to process the section immediately, while it is still in cache. Note that the frame is decoded bottom to top, so {\itshape \_\-yfrag0\/} will steadily decrease with each call until it reaches 0, at which point the full frame is decoded. The number of fragment rows made available in each call depends on the pixel format and the number of post-\/processing filters enabled, and may not even be constant for the entire frame. If a non-\/{\ttfamily NULL} {\itshape \_\-granpos\/} pointer is passed to \doxyref{th\_\-decode\_\-packetin()}{p.}{group__decfuncs_ga31c814bf09b2232aff69c57ae20f04eb}, the granule position for the frame will be stored in it before the first callback is made. If an entire frame is dropped (a 0-\/byte packet), then no callbacks will be made at all for that frame.
242
193
  \begin{DoxyParams}{Parameters}
243
- {\em \-\_\-ctx} & An application-\/provided context pointer. \\
244
- \hline
245
- {\em \-\_\-buf} & The image buffer for the decoded frame. \\
246
- \hline
247
- {\em \-\_\-yfrag0} & The Y coordinate of the first row of 8x8 fragments decoded. Multiply this by 8 to obtain the pixel row number in the luma plane. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. \\
248
- \hline
249
- {\em \-\_\-yfrag\-\_\-end} & The Y coordinate of the first row of 8x8 fragments past the newly decoded section. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. I.\-e., this section contains fragment rows {\ttfamily {\itshape \-\_\-yfrag0} ...{\itshape \-\_\-yfrag\-\_\-end} -\/1}. \\
250
- \hline
251
- \end{DoxyParams}
194
+ \item[{\em \_\-ctx}]An application-\/provided context pointer. \item[{\em \_\-buf}]The image buffer for the decoded frame. \item[{\em \_\-yfrag0}]The Y coordinate of the first row of 8x8 fragments decoded. Multiply this by 8 to obtain the pixel row number in the luma plane. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. \item[{\em \_\-yfrag\_\-end}]The Y coordinate of the first row of 8x8 fragments past the newly decoded section. If the chroma planes are subsampled in the Y direction, this will always be divisible by two. I.e., this section contains fragment rows {\ttfamily {\itshape \_\-yfrag0\/} ...{\itshape \_\-yfrag\_\-end\/} -\/1}. \end{DoxyParams}
@@ -1,512 +1,343 @@
1
- \section{theoraenc.\-h File Reference}
2
- \label{theoraenc_8h}\index{theoraenc.\-h@{theoraenc.\-h}}
1
+ \section{theoraenc.h File Reference}
2
+ \label{theoraenc_8h}\index{theoraenc.h@{theoraenc.h}}
3
3
 
4
4
 
5
- The {\ttfamily libtheoraenc} C encoding A\-P\-I.
6
-
7
-
8
- {\ttfamily \#include $<$stddef.\-h$>$}\\*
9
- {\ttfamily \#include $<$ogg/ogg.\-h$>$}\\*
10
- {\ttfamily \#include \char`\"{}codec.\-h\char`\"{}}\\*
11
- \subsection*{Macros}
5
+ The {\ttfamily libtheoraenc} C encoding API.
6
+ {\ttfamily \#include $<$stddef.h$>$}\par
7
+ {\ttfamily \#include $<$ogg/ogg.h$>$}\par
8
+ {\ttfamily \#include \char`\"{}codec.h\char`\"{}}\par
9
+ \subsection*{Defines}
12
10
  \begin{DoxyCompactItemize}
13
11
  \item
14
- \#define {\bf \-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-}~(1)
12
+ \#define {\bf \_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}~(1)
15
13
  \end{DoxyCompactItemize}
16
- \begin{Indent}{\bf th\-\_\-encode\-\_\-ctl() codes}\par
17
- {\em \label{theoraenc_8h_encctlcodes}%
18
- These are the available request codes for \doxyref{th\-\_\-encode\-\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}. By convention, these are even, to distinguish them from the \doxyref{decoder control codes}{p.}{theoradec_8h_decctlcodes}. Keep any experimental or vendor-\/specific values above {\ttfamily 0x8000}. }\begin{DoxyCompactItemize}
14
+ \begin{Indent}{\bf th\_\-encode\_\-ctl() codes}\par
15
+ {\em \label{_amgrp652c8d6bf1cea216ce117704a398b5f8}
16
+ \label{theoraenc_8h_encctlcodes}
17
+ These are the available request codes for \doxyref{th\_\-encode\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}. By convention, these are even, to distinguish them from the \doxyref{decoder control codes}{p.}{theoradec_8h_decctlcodes}. Keep any experimental or vendor-\/specific values above {\ttfamily 0x8000}. }\begin{DoxyCompactItemize}
19
18
  \item
20
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S}~(0)
21
- \begin{DoxyCompactList}\small\item\em Sets the Huffman tables to use. \end{DoxyCompactList}\item
22
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S}~(2)
23
- \begin{DoxyCompactList}\small\item\em Sets the quantization parameters to use. \end{DoxyCompactList}\item
24
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E}~(4)
25
- \begin{DoxyCompactList}\small\item\em Sets the maximum distance between key frames. \end{DoxyCompactList}\item
26
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E}~(10)
27
- \begin{DoxyCompactList}\small\item\em Disables any encoder features that would prevent lossless transcoding back to V\-P3. \end{DoxyCompactList}\item
28
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}~(12)
29
- \begin{DoxyCompactList}\small\item\em Gets the maximum speed level. \end{DoxyCompactList}\item
30
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}~(14)
31
- \begin{DoxyCompactList}\small\item\em Sets the speed level. \end{DoxyCompactList}\item
32
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}~(16)
33
- \begin{DoxyCompactList}\small\item\em Gets the current speed level. \end{DoxyCompactList}\item
34
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T}~(18)
35
- \begin{DoxyCompactList}\small\item\em Sets the number of duplicates of the next frame to produce. \end{DoxyCompactList}\item
36
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S}~(20)
37
- \begin{DoxyCompactList}\small\item\em Modifies the default bitrate management behavior. \end{DoxyCompactList}\item
38
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R}~(22)
39
- \begin{DoxyCompactList}\small\item\em Sets the size of the bitrate management bit reservoir as a function of number of frames. \end{DoxyCompactList}\item
40
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T}~(24)
41
- \begin{DoxyCompactList}\small\item\em Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics. \end{DoxyCompactList}\item
42
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N}~(26)
43
- \begin{DoxyCompactList}\small\item\em Submits two-\/pass encoding metric data collected the first encoding pass to the second pass. \end{DoxyCompactList}\item
44
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y}~(28)
45
- \begin{DoxyCompactList}\small\item\em Sets the current encoding quality. \end{DoxyCompactList}\item
46
- \#define {\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E}~(30)
47
- \begin{DoxyCompactList}\small\item\em Sets the current encoding bitrate. \end{DoxyCompactList}\end{DoxyCompactItemize}
19
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}~(0)
20
+ \begin{DoxyCompactList}\small\item\em Sets the Huffman tables to use. \item\end{DoxyCompactList}\item
21
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}~(2)
22
+ \begin{DoxyCompactList}\small\item\em Sets the quantization parameters to use. \item\end{DoxyCompactList}\item
23
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}~(4)
24
+ \begin{DoxyCompactList}\small\item\em Sets the maximum distance between key frames. \item\end{DoxyCompactList}\item
25
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}~(10)
26
+ \begin{DoxyCompactList}\small\item\em Disables any encoder features that would prevent lossless transcoding back to VP3. \item\end{DoxyCompactList}\item
27
+ \#define {\bf TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}~(12)
28
+ \begin{DoxyCompactList}\small\item\em Gets the maximum speed level. \item\end{DoxyCompactList}\item
29
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}~(14)
30
+ \begin{DoxyCompactList}\small\item\em Sets the speed level. \item\end{DoxyCompactList}\item
31
+ \#define {\bf TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}~(16)
32
+ \begin{DoxyCompactList}\small\item\em Gets the current speed level. \item\end{DoxyCompactList}\item
33
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}~(18)
34
+ \begin{DoxyCompactList}\small\item\em Sets the number of duplicates of the next frame to produce. \item\end{DoxyCompactList}\item
35
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}~(20)
36
+ \begin{DoxyCompactList}\small\item\em Modifies the default bitrate management behavior. \item\end{DoxyCompactList}\item
37
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}~(22)
38
+ \begin{DoxyCompactList}\small\item\em Sets the size of the bitrate management bit reservoir as a function of number of frames. \item\end{DoxyCompactList}\item
39
+ \#define {\bf TH\_\-ENCCTL\_\-2PASS\_\-OUT}~(24)
40
+ \begin{DoxyCompactList}\small\item\em Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics. \item\end{DoxyCompactList}\item
41
+ \#define {\bf TH\_\-ENCCTL\_\-2PASS\_\-IN}~(26)
42
+ \begin{DoxyCompactList}\small\item\em Submits two-\/pass encoding metric data collected the first encoding pass to the second pass. \item\end{DoxyCompactList}\item
43
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-QUALITY}~(28)
44
+ \begin{DoxyCompactList}\small\item\em Sets the current encoding quality. \item\end{DoxyCompactList}\item
45
+ \#define {\bf TH\_\-ENCCTL\_\-SET\_\-BITRATE}~(30)
46
+ \begin{DoxyCompactList}\small\item\em Sets the current encoding bitrate. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
48
47
  \end{Indent}
49
- \begin{Indent}{\bf T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S flags}\par
50
- {\em \label{theoraenc_8h_ratectlflags}%
51
- These are the flags available for use with \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S}{p.}{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}. }\begin{DoxyCompactItemize}
48
+ \begin{Indent}{\bf TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS flags}\par
49
+ {\em \label{_amgrp6d70796e675cce22589d15a73cb3a16b}
50
+ \label{theoraenc_8h_ratectlflags}
51
+ These are the flags available for use with \doxyref{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}{p.}{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}. }\begin{DoxyCompactItemize}
52
52
  \item
53
- \#define {\bf T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}~(0x1)
54
- \begin{DoxyCompactList}\small\item\em Drop frames to keep within bitrate buffer constraints. \end{DoxyCompactList}\item
55
- \#define {\bf T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}~(0x2)
56
- \begin{DoxyCompactList}\small\item\em Ignore bitrate buffer overflows. \end{DoxyCompactList}\item
57
- \#define {\bf T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W}~(0x4)
58
- \begin{DoxyCompactList}\small\item\em Ignore bitrate buffer underflows. \end{DoxyCompactList}\end{DoxyCompactItemize}
53
+ \#define {\bf TH\_\-RATECTL\_\-DROP\_\-FRAMES}~(0x1)
54
+ \begin{DoxyCompactList}\small\item\em Drop frames to keep within bitrate buffer constraints. \item\end{DoxyCompactList}\item
55
+ \#define {\bf TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}~(0x2)
56
+ \begin{DoxyCompactList}\small\item\em Ignore bitrate buffer overflows. \item\end{DoxyCompactList}\item
57
+ \#define {\bf TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}~(0x4)
58
+ \begin{DoxyCompactList}\small\item\em Ignore bitrate buffer underflows. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
59
59
  \end{Indent}
60
60
  \subsection*{Typedefs}
61
61
  \begin{Indent}{\bf Encoder state}\par
62
- {\em The following data structure is opaque, and its contents are not publicly defined by this A\-P\-I.
62
+ {\em \label{_amgrp4ebc85bd8522a8b6128225c02b31c8b7}
63
+ The following data structure is opaque, and its contents are not publicly defined by this API.
63
64
 
64
65
  Referring to its internals directly is unsupported, and may break without warning. }\begin{DoxyCompactItemize}
65
66
  \item
66
- typedef struct {\bf th\-\_\-enc\-\_\-ctx} {\bf th\-\_\-enc\-\_\-ctx}
67
- \begin{DoxyCompactList}\small\item\em The encoder context. \end{DoxyCompactList}\end{DoxyCompactItemize}
67
+ typedef struct {\bf th\_\-enc\_\-ctx} {\bf th\_\-enc\_\-ctx}
68
+ \begin{DoxyCompactList}\small\item\em The encoder context. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
68
69
  \end{Indent}
69
70
  \subsection*{Functions}
70
71
  \begin{Indent}{\bf Functions for encoding}\par
71
- {\em You must link to {\ttfamily libtheoraenc} and {\ttfamily libtheoradec} if you use any of the functions in this section.
72
+ {\em \label{_amgrpc58fb8743a7ca83eb895d57e29e032c8}
73
+ You must link to {\ttfamily libtheoraenc} and {\ttfamily libtheoradec} if you use any of the functions in this section.
72
74
 
73
- The functions are listed in the order they are used in a typical encode. The basic steps are\-:
75
+ The functions are listed in the order they are used in a typical encode. The basic steps are:
74
76
  \begin{DoxyItemize}
75
- \item Fill in a \doxyref{th\-\_\-info}{p.}{structth__info} structure with details on the format of the video you wish to encode.
76
- \item Allocate a \doxyref{th\-\_\-enc\-\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle with \doxyref{th\-\_\-encode\-\_\-alloc()}{p.}{group__encfuncs_gaa91e47bc9dd5f6ee52045bd7b815e5a7}.
77
- \item Perform any additional encoder configuration required with \doxyref{th\-\_\-encode\-\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}.
78
- \item Repeatedly call \doxyref{th\-\_\-encode\-\_\-flushheader()}{p.}{group__encfuncs_ga9439d61b566039d194ff782681fbc408} to retrieve all the header packets.
79
- \item For each uncompressed frame\-:
77
+ \item Fill in a \doxyref{th\_\-info}{p.}{structth__info} structure with details on the format of the video you wish to encode.
78
+ \item Allocate a \doxyref{th\_\-enc\_\-ctx}{p.}{theoraenc_8h_af5cc40472b925456d42526a035d66edd} handle with \doxyref{th\_\-encode\_\-alloc()}{p.}{group__encfuncs_gaa91e47bc9dd5f6ee52045bd7b815e5a7}.
79
+ \item Perform any additional encoder configuration required with \doxyref{th\_\-encode\_\-ctl()}{p.}{group__encfuncs_ga3a427f6514dfdc01ea72172c469d51d9}.
80
+ \item Repeatedly call \doxyref{th\_\-encode\_\-flushheader()}{p.}{group__encfuncs_ga9439d61b566039d194ff782681fbc408} to retrieve all the header packets.
81
+ \item For each uncompressed frame:
80
82
  \begin{DoxyItemize}
81
- \item Submit the uncompressed frame via \doxyref{th\-\_\-encode\-\_\-ycbcr\-\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750}
82
- \item Repeatedly call \doxyref{th\-\_\-encode\-\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} to retrieve any video data packets that are ready.
83
+ \item Submit the uncompressed frame via \doxyref{th\_\-encode\_\-ycbcr\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750}
84
+ \item Repeatedly call \doxyref{th\_\-encode\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} to retrieve any video data packets that are ready.
83
85
  \end{DoxyItemize}
84
- \item Call \doxyref{th\-\_\-encode\-\_\-free()}{p.}{group__encfuncs_ga36b23d216532231925c4107894204680} to release all encoder memory.
86
+ \item Call \doxyref{th\_\-encode\_\-free()}{p.}{group__encfuncs_ga36b23d216532231925c4107894204680} to release all encoder memory.
85
87
  \end{DoxyItemize}}\begin{DoxyCompactItemize}
86
88
  \item
87
- {\bf th\-\_\-enc\-\_\-ctx} $\ast$ {\bf th\-\_\-encode\-\_\-alloc} (const {\bf th\-\_\-info} $\ast$\-\_\-info)
88
- \begin{DoxyCompactList}\small\item\em Allocates an encoder instance. \end{DoxyCompactList}\item
89
- int {\bf th\-\_\-encode\-\_\-ctl} ({\bf th\-\_\-enc\-\_\-ctx} $\ast$\-\_\-enc, int \-\_\-req, void $\ast$\-\_\-buf, size\-\_\-t \-\_\-buf\-\_\-sz)
90
- \begin{DoxyCompactList}\small\item\em Encoder control function. \end{DoxyCompactList}\item
91
- int {\bf th\-\_\-encode\-\_\-flushheader} ({\bf th\-\_\-enc\-\_\-ctx} $\ast$\-\_\-enc, {\bf th\-\_\-comment} $\ast$\-\_\-comments, ogg\-\_\-packet $\ast$\-\_\-op)
92
- \begin{DoxyCompactList}\small\item\em Outputs the next header packet. \end{DoxyCompactList}\item
93
- int {\bf th\-\_\-encode\-\_\-ycbcr\-\_\-in} ({\bf th\-\_\-enc\-\_\-ctx} $\ast$\-\_\-enc, {\bf th\-\_\-ycbcr\-\_\-buffer} \-\_\-ycbcr)
94
- \begin{DoxyCompactList}\small\item\em Submits an uncompressed frame to the encoder. \end{DoxyCompactList}\item
95
- int {\bf th\-\_\-encode\-\_\-packetout} ({\bf th\-\_\-enc\-\_\-ctx} $\ast$\-\_\-enc, int \-\_\-last, ogg\-\_\-packet $\ast$\-\_\-op)
96
- \begin{DoxyCompactList}\small\item\em Retrieves encoded video data packets. \end{DoxyCompactList}\item
97
- void {\bf th\-\_\-encode\-\_\-free} ({\bf th\-\_\-enc\-\_\-ctx} $\ast$\-\_\-enc)
98
- \begin{DoxyCompactList}\small\item\em Frees an allocated encoder instance. \end{DoxyCompactList}\end{DoxyCompactItemize}
89
+ {\bf th\_\-enc\_\-ctx} $\ast$ {\bf th\_\-encode\_\-alloc} (const {\bf th\_\-info} $\ast$\_\-info)
90
+ \begin{DoxyCompactList}\small\item\em Allocates an encoder instance. \item\end{DoxyCompactList}\item
91
+ int {\bf th\_\-encode\_\-ctl} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, int \_\-req, void $\ast$\_\-buf, size\_\-t \_\-buf\_\-sz)
92
+ \begin{DoxyCompactList}\small\item\em Encoder control function. \item\end{DoxyCompactList}\item
93
+ int {\bf th\_\-encode\_\-flushheader} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, {\bf th\_\-comment} $\ast$\_\-comments, ogg\_\-packet $\ast$\_\-op)
94
+ \begin{DoxyCompactList}\small\item\em Outputs the next header packet. \item\end{DoxyCompactList}\item
95
+ int {\bf th\_\-encode\_\-ycbcr\_\-in} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, {\bf th\_\-ycbcr\_\-buffer} \_\-ycbcr)
96
+ \begin{DoxyCompactList}\small\item\em Submits an uncompressed frame to the encoder. \item\end{DoxyCompactList}\item
97
+ int {\bf th\_\-encode\_\-packetout} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc, int \_\-last, ogg\_\-packet $\ast$\_\-op)
98
+ \begin{DoxyCompactList}\small\item\em Retrieves encoded video data packets. \item\end{DoxyCompactList}\item
99
+ void {\bf th\_\-encode\_\-free} ({\bf th\_\-enc\_\-ctx} $\ast$\_\-enc)
100
+ \begin{DoxyCompactList}\small\item\em Frees an allocated encoder instance. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
99
101
  \end{Indent}
100
102
  \subsection*{Variables}
101
103
  \begin{DoxyCompactItemize}
102
104
  \item
103
- const {\bf th\-\_\-quant\-\_\-info} {\bf T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O}
104
- \begin{DoxyCompactList}\small\item\em The quantization parameters used by V\-P3. \end{DoxyCompactList}\item
105
- const {\bf th\-\_\-huff\-\_\-code} {\bf T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S} [{\bf T\-H\-\_\-\-N\-H\-U\-F\-F\-M\-A\-N\-\_\-\-T\-A\-B\-L\-E\-S}][{\bf T\-H\-\_\-\-N\-D\-C\-T\-\_\-\-T\-O\-K\-E\-N\-S}]
106
- \begin{DoxyCompactList}\small\item\em The Huffman tables used by V\-P3. \end{DoxyCompactList}\end{DoxyCompactItemize}
105
+ const {\bf th\_\-quant\_\-info} {\bf TH\_\-VP31\_\-QUANT\_\-INFO}
106
+ \begin{DoxyCompactList}\small\item\em The quantization parameters used by VP3. \item\end{DoxyCompactList}\item
107
+ const {\bf th\_\-huff\_\-code} {\bf TH\_\-VP31\_\-HUFF\_\-CODES} [TH\_\-NHUFFMAN\_\-TABLES][TH\_\-NDCT\_\-TOKENS]
108
+ \begin{DoxyCompactList}\small\item\em The Huffman tables used by VP3. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
107
109
 
108
110
 
109
111
  \subsection{Detailed Description}
110
- The {\ttfamily libtheoraenc} C encoding A\-P\-I.
112
+ The {\ttfamily libtheoraenc} C encoding API.
111
113
 
112
- \subsection{Macro Definition Documentation}
113
- \index{theoraenc.\-h@{theoraenc.\-h}!\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-@{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-}}
114
- \index{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-@{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-}!theoraenc.h@{theoraenc.\-h}}
115
- \subsubsection[{\-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-~(1)}\label{theoraenc_8h_ab915dd90f069a2431454fd62365e9381}
116
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N}}
117
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N}!theoraenc.h@{theoraenc.\-h}}
118
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N~(26)}\label{theoraenc_8h_a4a84f982cdd9a3e3c803a29bbde9df0b}
114
+ \subsection{Define Documentation}
115
+ \index{theoraenc.h@{theoraenc.h}!\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}}
116
+ \index{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-@{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}!theoraenc.h@{theoraenc.h}}
117
+ \subsubsection[{\_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-~(1)}\label{theoraenc_8h_ab915dd90f069a2431454fd62365e9381}
118
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-2PASS\_\-IN@{TH\_\-ENCCTL\_\-2PASS\_\-IN}}
119
+ \index{TH\_\-ENCCTL\_\-2PASS\_\-IN@{TH\_\-ENCCTL\_\-2PASS\_\-IN}!theoraenc.h@{theoraenc.h}}
120
+ \subsubsection[{TH\_\-ENCCTL\_\-2PASS\_\-IN}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-2PASS\_\-IN~(26)}\label{theoraenc_8h_a4a84f982cdd9a3e3c803a29bbde9df0b}
119
121
 
120
122
 
121
- Submits two-\/pass encoding metric data collected the first encoding pass to the second pass.
123
+ Submits two-\/pass encoding metric data collected the first encoding pass to the second pass. The first call must be made before the first frame is encoded, and a target bitrate must have already been specified to the encoder. It sets the encoder to pass 2 mode implicitly; this cannot be disabled. The encoder may require reading data from some or all of the frames in advance, depending on, e.g., the reservoir size used in the second pass. You must call this function repeatedly before each frame to provide data until either a) it fails to consume all of the data presented or b) all of the pass 1 data has been consumed. In the first case, you must save the remaining data to be presented after the next frame. You can call this function with a NULL argument to get an upper bound on the number of bytes that will be required before the next frame.
122
124
 
123
- The first call must be made before the first frame is encoded, and a target bitrate must have already been specified to the encoder. It sets the encoder to pass 2 mode implicitly; this cannot be disabled. The encoder may require reading data from some or all of the frames in advance, depending on, e.\-g., the reservoir size used in the second pass. You must call this function repeatedly before each frame to provide data until either a) it fails to consume all of the data presented or b) all of the pass 1 data has been consumed. In the first case, you must save the remaining data to be presented after the next frame. You can call this function with a N\-U\-L\-L argument to get an upper bound on the number of bytes that will be required before the next frame.
125
+ When pass 2 is first enabled, the default bit reservoir is set to the entire file; this gives maximum flexibility but can lead to very high peak rates. You can subsequently set it to another value with \doxyref{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}{p.}{theoraenc_8h_aaefb515876b2a180ad5c3120fc584a52} (e.g., to set it to the keyframe interval for non-\/live streaming), however, you may then need to provide more data before the next frame.
124
126
 
125
- When pass 2 is first enabled, the default bit reservoir is set to the entire file; this gives maximum flexibility but can lead to very high peak rates. You can subsequently set it to another value with \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R}{p.}{theoraenc_8h_aaefb515876b2a180ad5c3120fc584a52} (e.\-g., to set it to the keyframe interval for non-\/live streaming), however, you may then need to provide more data before the next frame.
126
127
 
127
-
128
- \begin{DoxyParams}[1]{Parameters}
129
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily char[]}\-: A buffer containing the data returned by \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T}{p.}{theoraenc_8h_ac3751b9c3838888ec2e3f0b0d2823282} in pass 1. You may pass {\ttfamily N\-U\-L\-L} for {\itshape \-\_\-buf} to return an upper bound on the number of additional bytes needed before the next frame. The summary data returned at the end of pass 1 must be at the head of the buffer on the first call with a non-\/{\ttfamily N\-U\-L\-L} {\itshape \-\_\-buf}, and the placeholder data returned at the start of pass 1 should be omitted. After each call you should advance this buffer by the number of bytes consumed. \\
130
- \hline
131
- \end{DoxyParams}
128
+ \begin{DoxyParams}{Parameters}
129
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily char[]}: A buffer containing the data returned by \doxyref{TH\_\-ENCCTL\_\-2PASS\_\-OUT}{p.}{theoraenc_8h_ac3751b9c3838888ec2e3f0b0d2823282} in pass 1. You may pass {\ttfamily NULL} for {\itshape \_\-buf\/} to return an upper bound on the number of additional bytes needed before the next frame. The summary data returned at the end of pass 1 must be at the head of the buffer on the first call with a non-\/{\ttfamily NULL} {\itshape \_\-buf\/}, and the placeholder data returned at the start of pass 1 should be omitted. After each call you should advance this buffer by the number of bytes consumed. \end{DoxyParams}
132
130
 
133
131
  \begin{DoxyRetVals}{Return values}
134
- {\em $>$0} & The number of bytes of metric data required/consumed. \\
135
- \hline
136
- {\em 0} & No more data is required before the next frame. \\
137
- \hline
138
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} is {\ttfamily N\-U\-L\-L}. \\
139
- \hline
140
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & No target bitrate has been set, or the first call was made after the first frame was submitted for encoding. \\
141
- \hline
142
- {\em T\-H\-\_\-\-E\-N\-O\-T\-F\-O\-R\-M\-A\-T} & The data did not appear to be pass 1 from a compatible implementation of this library. \\
143
- \hline
144
- {\em T\-H\-\_\-\-E\-B\-A\-D\-H\-E\-A\-D\-E\-R} & The data was invalid; this may be returned when attempting to read an aborted pass 1 file that still has the placeholder data in place of the summary data. \\
145
- \hline
146
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
147
- \hline
148
- \end{DoxyRetVals}
149
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T}}
150
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T}!theoraenc.h@{theoraenc.\-h}}
151
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-O\-U\-T~(24)}\label{theoraenc_8h_ac3751b9c3838888ec2e3f0b0d2823282}
152
-
153
-
154
- Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics.
155
-
156
- Pass 1 mode must be enabled before the first frame is encoded, and a target bitrate must have already been specified to the encoder. Although this does not have to be the exact rate that will be used in the second pass, closer values may produce better results. The first call returns the size of the two-\/pass header data, along with some placeholder content, and sets the encoder into pass 1 mode implicitly. This call sets the encoder to pass 1 mode implicitly. Then, a subsequent call must be made after each call to \doxyref{th\-\_\-encode\-\_\-ycbcr\-\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750} to retrieve the metrics for that frame. An additional, final call must be made to retrieve the summary data, containing such information as the total number of frames, etc. This must be stored in place of the placeholder data that was returned in the first call, before the frame metrics data. All of this data must be presented back to the encoder during pass 2 using \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-2\-P\-A\-S\-S\-\_\-\-I\-N}{p.}{theoraenc_8h_a4a84f982cdd9a3e3c803a29bbde9df0b}.
157
-
158
-
159
- \begin{DoxyParams}[1]{Parameters}
160
- \mbox{\tt out} & {\em $<$tt$>$char} & $\ast$\-\_\-buf\-: Returns a pointer to internal storage containing the two pass metrics data. This storage is only valid until the next call, or until the encoder context is freed, and must be copied by the application. \\
161
- \hline
162
- \end{DoxyParams}
132
+ \item[{\em $>$0}]The number of bytes of metric data required/consumed. \item[{\em 0}]No more data is required before the next frame. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]No target bitrate has been set, or the first call was made after the first frame was submitted for encoding. \item[{\em TH\_\-ENOTFORMAT}]The data did not appear to be pass 1 from a compatible implementation of this library. \item[{\em TH\_\-EBADHEADER}]The data was invalid; this may be returned when attempting to read an aborted pass 1 file that still has the placeholder data in place of the summary data. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
133
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-2PASS\_\-OUT@{TH\_\-ENCCTL\_\-2PASS\_\-OUT}}
134
+ \index{TH\_\-ENCCTL\_\-2PASS\_\-OUT@{TH\_\-ENCCTL\_\-2PASS\_\-OUT}!theoraenc.h@{theoraenc.h}}
135
+ \subsubsection[{TH\_\-ENCCTL\_\-2PASS\_\-OUT}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-2PASS\_\-OUT~(24)}\label{theoraenc_8h_ac3751b9c3838888ec2e3f0b0d2823282}
163
136
 
164
- \begin{DoxyRetVals}{Return values}
165
- {\em $>$=0} & The number of bytes of metric data available in the returned buffer. \\
166
- \hline
167
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
168
- \hline
169
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(char $\ast$)}, no target bitrate has been set, or the first call was made after the first frame was submitted for encoding. \\
170
- \hline
171
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
172
- \hline
173
- \end{DoxyRetVals}
174
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}}
175
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}!theoraenc.h@{theoraenc.\-h}}
176
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L~(16)}\label{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61}
177
137
 
138
+ Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics. Pass 1 mode must be enabled before the first frame is encoded, and a target bitrate must have already been specified to the encoder. Although this does not have to be the exact rate that will be used in the second pass, closer values may produce better results. The first call returns the size of the two-\/pass header data, along with some placeholder content, and sets the encoder into pass 1 mode implicitly. This call sets the encoder to pass 1 mode implicitly. Then, a subsequent call must be made after each call to \doxyref{th\_\-encode\_\-ycbcr\_\-in()}{p.}{group__encfuncs_gadbe7dd66b411c2d61ab8153c15308750} to retrieve the metrics for that frame. An additional, final call must be made to retrieve the summary data, containing such information as the total number of frames, etc. This must be stored in place of the placeholder data that was returned in the first call, before the frame metrics data. All of this data must be presented back to the encoder during pass 2 using \doxyref{TH\_\-ENCCTL\_\-2PASS\_\-IN}{p.}{theoraenc_8h_a4a84f982cdd9a3e3c803a29bbde9df0b}.
178
139
 
179
- Gets the current speed level.
180
140
 
181
- The default speed level may vary according to encoder implementation, but if this control code is not supported (it returns \doxyref{T\-H\-\_\-\-E\-I\-M\-P\-L}{p.}{codec_8h_a921c47accc17841f220af5a6afb79efe}), the default may be assumed to be the slowest available speed (0). The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}.
182
-
183
-
184
- \begin{DoxyParams}[1]{Parameters}
185
- \mbox{\tt out} & {\em \-\_\-buf} & {\ttfamily int}\-: The current encoding speed level. 0 is slowest, larger values use less C\-P\-U. \\
186
- \hline
187
- \end{DoxyParams}
141
+ \begin{DoxyParams}{Parameters}
142
+ \item[\mbox{$\rightarrow$} {\em $<$tt$>$char}]$\ast$\_\-buf: Returns a pointer to internal storage containing the two pass metrics data. This storage is only valid until the next call, or until the encoder context is freed, and must be copied by the application. \end{DoxyParams}
188
143
 
189
144
  \begin{DoxyRetVals}{Return values}
190
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
191
- \hline
192
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}. \\
193
- \hline
194
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation in the current encoding mode. \\
195
- \hline
196
- \end{DoxyRetVals}
197
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}}
198
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}!theoraenc.h@{theoraenc.\-h}}
199
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X~(12)}\label{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}
200
-
145
+ \item[{\em $>$=0}]The number of bytes of metric data available in the returned buffer. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(char $\ast$)}, no target bitrate has been set, or the first call was made after the first frame was submitted for encoding. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
146
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-GET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}}
147
+ \index{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}!theoraenc.h@{theoraenc.h}}
148
+ \subsubsection[{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-GET\_\-SPLEVEL~(16)}\label{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61}
201
149
 
202
- Gets the maximum speed level.
203
150
 
204
- Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding mode, and the internal algorithms used, quality may actually improve, but in this case bitrate will also likely increase. In any case, overall rate/distortion performance will probably decrease. The maximum value, and the meaning of each value, may change depending on the current encoding mode (V\-B\-R vs. constant quality, etc.).
151
+ Gets the current speed level. The default speed level may vary according to encoder implementation, but if this control code is not supported (it returns \doxyref{TH\_\-EIMPL}{p.}{codec_8h_a921c47accc17841f220af5a6afb79efe}), the default may be assumed to be the slowest available speed (0). The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}.
205
152
 
206
153
 
207
- \begin{DoxyParams}[1]{Parameters}
208
- \mbox{\tt out} & {\em \-\_\-buf} & {\ttfamily int}\-: The maximum encoding speed level. \\
209
- \hline
210
- \end{DoxyParams}
154
+ \begin{DoxyParams}{Parameters}
155
+ \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The current encoding speed level. 0 is slowest, larger values use less CPU. \end{DoxyParams}
211
156
 
212
157
  \begin{DoxyRetVals}{Return values}
213
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
214
- \hline
215
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}. \\
216
- \hline
217
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation in the current encoding mode. \\
218
- \hline
219
- \end{DoxyRetVals}
220
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E}}
221
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E}!theoraenc.h@{theoraenc.\-h}}
222
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E~(30)}\label{theoraenc_8h_a9b969df55ecad1acd1ae207fad42592e}
158
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals}
159
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}}
160
+ \index{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX@{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}!theoraenc.h@{theoraenc.h}}
161
+ \subsubsection[{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX~(12)}\label{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}
223
162
 
224
163
 
225
- Sets the current encoding bitrate.
164
+ Gets the maximum speed level. Higher speed levels favor quicker encoding over better quality per bit. Depending on the encoding mode, and the internal algorithms used, quality may actually improve, but in this case bitrate will also likely increase. In any case, overall rate/distortion performance will probably decrease. The maximum value, and the meaning of each value, may change depending on the current encoding mode (VBR vs. constant quality, etc.).
226
165
 
227
- Once a bitrate is set, the encoder must use a rate-\/controlled mode for all future frames (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target bitrate encoded in them will be updated. Due to the buffer delay, the exact bitrate of each section of the encode is not guaranteed. The encoder may have already used more bits than allowed for the frames it has encoded, expecting to make them up in future frames, or it may have used fewer, holding the excess in reserve. The exact transition between the two bitrates is not well-\/defined by this A\-P\-I, but may be affected by flags set with \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S}{p.}{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}. After a number of frames equal to the buffer delay, one may expect further output to average at the target bitrate.
228
166
 
229
-
230
- \begin{DoxyParams}[1]{Parameters}
231
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily long}\-: The new target bitrate, in bits per second. \\
232
- \hline
233
- \end{DoxyParams}
167
+ \begin{DoxyParams}{Parameters}
168
+ \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The maximum encoding speed level. \end{DoxyParams}
234
169
 
235
170
  \begin{DoxyRetVals}{Return values}
236
- {\em 0} & Success. \\
237
- \hline
238
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
239
- \hline
240
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & The target bitrate was not positive. \\
241
- \hline
242
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
243
- \hline
244
- \end{DoxyRetVals}
245
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T}}
246
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T}!theoraenc.h@{theoraenc.\-h}}
247
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-D\-U\-P\-\_\-\-C\-O\-U\-N\-T~(18)}\label{theoraenc_8h_a8bb9b05471c42a09f8684a2583b8a1df}
248
-
171
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals}
172
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-BITRATE@{TH\_\-ENCCTL\_\-SET\_\-BITRATE}}
173
+ \index{TH\_\-ENCCTL\_\-SET\_\-BITRATE@{TH\_\-ENCCTL\_\-SET\_\-BITRATE}!theoraenc.h@{theoraenc.h}}
174
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-BITRATE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-BITRATE~(30)}\label{theoraenc_8h_a9b969df55ecad1acd1ae207fad42592e}
249
175
 
250
- Sets the number of duplicates of the next frame to produce.
251
176
 
252
- Although libtheora can encode duplicate frames very cheaply, it costs some amount of C\-P\-U to detect them, and a run of duplicates cannot span a keyframe boundary. This control code tells the encoder to produce the specified number of extra duplicates of the next frame. This allows the encoder to make smarter keyframe placement decisions and rate control decisions, and reduces C\-P\-U usage as well, when compared to just submitting the same frame for encoding multiple times. This setting only applies to the next frame submitted for encoding. You M\-U\-S\-T call \doxyref{th\-\_\-encode\-\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} repeatedly until it returns 0, or the extra duplicate frames will be lost.
177
+ Sets the current encoding bitrate. Once a bitrate is set, the encoder must use a rate-\/controlled mode for all future frames (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target bitrate encoded in them will be updated. Due to the buffer delay, the exact bitrate of each section of the encode is not guaranteed. The encoder may have already used more bits than allowed for the frames it has encoded, expecting to make them up in future frames, or it may have used fewer, holding the excess in reserve. The exact transition between the two bitrates is not well-\/defined by this API, but may be affected by flags set with \doxyref{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}{p.}{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}. After a number of frames equal to the buffer delay, one may expect further output to average at the target bitrate.
253
178
 
254
179
 
255
- \begin{DoxyParams}[1]{Parameters}
256
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: The number of duplicates to produce. If this is negative or zero, no duplicates will be produced. \\
257
- \hline
258
- \end{DoxyParams}
180
+ \begin{DoxyParams}{Parameters}
181
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily long}: The new target bitrate, in bits per second. \end{DoxyParams}
259
182
 
260
183
  \begin{DoxyRetVals}{Return values}
261
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
262
- \hline
263
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}, or the number of duplicates is greater than or equal to the maximum keyframe interval. In the latter case, N\-O duplicate frames will be produced. You must ensure that the maximum keyframe interval is set larger than the maximum number of duplicates you will ever wish to insert prior to encoding. \\
264
- \hline
265
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation in the current encoding mode. \\
266
- \hline
267
- \end{DoxyRetVals}
268
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S}}
269
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S}!theoraenc.h@{theoraenc.\-h}}
270
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-H\-U\-F\-F\-M\-A\-N\-\_\-\-C\-O\-D\-E\-S~(0)}\label{theoraenc_8h_a0165348788e560a19b7c61ae8f0c2283}
271
-
184
+ \item[{\em 0}]Success. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]The target bitrate was not positive. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
185
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT@{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}}
186
+ \index{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT@{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}!theoraenc.h@{theoraenc.h}}
187
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-DUP\_\-COUNT~(18)}\label{theoraenc_8h_a8bb9b05471c42a09f8684a2583b8a1df}
272
188
 
273
- Sets the Huffman tables to use.
274
189
 
275
- The tables are copied, not stored by reference, so they can be freed after this call. {\ttfamily N\-U\-L\-L} may be specified to revert to the default tables.
190
+ Sets the number of duplicates of the next frame to produce. Although libtheora can encode duplicate frames very cheaply, it costs some amount of CPU to detect them, and a run of duplicates cannot span a keyframe boundary. This control code tells the encoder to produce the specified number of extra duplicates of the next frame. This allows the encoder to make smarter keyframe placement decisions and rate control decisions, and reduces CPU usage as well, when compared to just submitting the same frame for encoding multiple times. This setting only applies to the next frame submitted for encoding. You MUST call \doxyref{th\_\-encode\_\-packetout()}{p.}{group__encfuncs_ga96d8ac1dda53187455352f99bbb5b04b} repeatedly until it returns 0, or the extra duplicate frames will be lost.
276
191
 
277
192
 
278
- \begin{DoxyParams}[1]{Parameters}
279
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily \doxyref{th\-\_\-huff\-\_\-code}{p.}{structth__huff__code}[\doxyref{T\-H\-\_\-\-N\-H\-U\-F\-F\-M\-A\-N\-\_\-\-T\-A\-B\-L\-E\-S}{p.}{codec_8h_a49bf449eae33c5320f0c308f32c6ae42}][\doxyref{T\-H\-\_\-\-N\-D\-C\-T\-\_\-\-T\-O\-K\-E\-N\-S}{p.}{codec_8h_a2a44f48084e76a58cae48fb5d47cd422}]} \\
280
- \hline
281
- \end{DoxyParams}
193
+ \begin{DoxyParams}{Parameters}
194
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The number of duplicates to produce. If this is negative or zero, no duplicates will be produced. \end{DoxyParams}
282
195
 
283
196
  \begin{DoxyRetVals}{Return values}
284
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} is {\ttfamily N\-U\-L\-L}. \\
285
- \hline
286
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & Encoding has already begun or one or more of the given tables is not full or prefix-\/free, {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L} and {\itshape \-\_\-buf\-\_\-sz} is not zero, or {\itshape \-\_\-buf} is non-\/{\ttfamily N\-U\-L\-L} and {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(\doxyref{th\-\_\-huff\-\_\-code}{p.}{structth__huff__code})$\ast$\doxyref{T\-H\-\_\-\-N\-H\-U\-F\-F\-M\-A\-N\-\_\-\-T\-A\-B\-L\-E\-S}{p.}{codec_8h_a49bf449eae33c5320f0c308f32c6ae42}$\ast$\doxyref{T\-H\-\_\-\-N\-D\-C\-T\-\_\-\-T\-O\-K\-E\-N\-S}{p.}{codec_8h_a2a44f48084e76a58cae48fb5d47cd422}}. \\
287
- \hline
288
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
289
- \hline
290
- \end{DoxyRetVals}
291
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E}}
292
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E}!theoraenc.h@{theoraenc.\-h}}
293
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-K\-E\-Y\-F\-R\-A\-M\-E\-\_\-\-F\-R\-E\-Q\-U\-E\-N\-C\-Y\-\_\-\-F\-O\-R\-C\-E~(4)}\label{theoraenc_8h_a27e755e15b4b5604c54974b304037a49}
197
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the number of duplicates is greater than or equal to the maximum keyframe interval. In the latter case, NO duplicate frames will be produced. You must ensure that the maximum keyframe interval is set larger than the maximum number of duplicates you will ever wish to insert prior to encoding. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals}
198
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES@{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}}
199
+ \index{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES@{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}!theoraenc.h@{theoraenc.h}}
200
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-HUFFMAN\_\-CODES~(0)}\label{theoraenc_8h_a0165348788e560a19b7c61ae8f0c2283}
294
201
 
295
202
 
296
- Sets the maximum distance between key frames.
203
+ Sets the Huffman tables to use. The tables are copied, not stored by reference, so they can be freed after this call. {\ttfamily NULL} may be specified to revert to the default tables.
297
204
 
298
- This can be changed during an encode, but will be bounded by {\ttfamily 1$<$$<$\doxyref{th\-\_\-info\-::keyframe\-\_\-granule\-\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed}}. If it is set before encoding begins, \doxyref{th\-\_\-info\-::keyframe\-\_\-granule\-\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed} will be enlarged appropriately.
299
205
 
300
-
301
- \begin{DoxyParams}[1]{Parameters}
302
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily ogg\-\_\-uint32\-\_\-t}\-: The maximum distance between key frames. \\
303
- \hline
304
- \mbox{\tt out} & {\em \-\_\-buf} & {\ttfamily ogg\-\_\-uint32\-\_\-t}\-: The actual maximum distance set. \\
305
- \hline
306
- \end{DoxyParams}
206
+ \begin{DoxyParams}{Parameters}
207
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily \doxyref{th\_\-huff\_\-code}{p.}{structth__huff__code}[\doxyref{TH\_\-NHUFFMAN\_\-TABLES}{p.}{codec_8h_a49bf449eae33c5320f0c308f32c6ae42}][\doxyref{TH\_\-NDCT\_\-TOKENS}{p.}{codec_8h_a2a44f48084e76a58cae48fb5d47cd422}]} \end{DoxyParams}
307
208
 
308
209
  \begin{DoxyRetVals}{Return values}
309
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
310
- \hline
311
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(ogg\-\_\-uint32\-\_\-t)}. \\
312
- \hline
313
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
314
- \hline
315
- \end{DoxyRetVals}
316
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y}}
317
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y}!theoraenc.h@{theoraenc.\-h}}
318
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-L\-I\-T\-Y~(28)}\label{theoraenc_8h_aac087983fa951b9148c9db6bc2e81ef4}
319
-
210
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]Encoding has already begun or one or more of the given tables is not full or prefix-\/free, {\itshape \_\-buf\/} is {\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not zero, or {\itshape \_\-buf\/} is non-\/{\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(\doxyref{th\_\-huff\_\-code}{p.}{structth__huff__code})$\ast$\doxyref{TH\_\-NHUFFMAN\_\-TABLES}{p.}{codec_8h_a49bf449eae33c5320f0c308f32c6ae42}$\ast$\doxyref{TH\_\-NDCT\_\-TOKENS}{p.}{codec_8h_a2a44f48084e76a58cae48fb5d47cd422}}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
211
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE@{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}}
212
+ \index{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE@{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}!theoraenc.h@{theoraenc.h}}
213
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-KEYFRAME\_\-FREQUENCY\_\-FORCE~(4)}\label{theoraenc_8h_a27e755e15b4b5604c54974b304037a49}
320
214
 
321
- Sets the current encoding quality.
322
215
 
323
- This is only valid so long as no bitrate has been specified, either through the \doxyref{th\-\_\-info}{p.}{structth__info} struct used to initialize the encoder or through \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-B\-I\-T\-R\-A\-T\-E}{p.}{theoraenc_8h_a9b969df55ecad1acd1ae207fad42592e} (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target quality encoded in them will be updated.
216
+ Sets the maximum distance between key frames. This can be changed during an encode, but will be bounded by {\ttfamily 1$<$$<$\doxyref{th\_\-info::keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed}}. If it is set before encoding begins, \doxyref{th\_\-info::keyframe\_\-granule\_\-shift}{p.}{structth__info_a693ca4ab11fbc0c3f32594b4bb8766ed} will be enlarged appropriately.
324
217
 
325
218
 
326
- \begin{DoxyParams}[1]{Parameters}
327
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: The new target quality, in the range 0...63, inclusive. \\
328
- \hline
329
- \end{DoxyParams}
219
+ \begin{DoxyParams}{Parameters}
220
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-uint32\_\-t}: The maximum distance between key frames. \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-uint32\_\-t}: The actual maximum distance set. \end{DoxyParams}
330
221
 
331
222
  \begin{DoxyRetVals}{Return values}
332
- {\em 0} & Success. \\
333
- \hline
334
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
335
- \hline
336
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & A target bitrate has already been specified, or the quality index was not in the range 0...63. \\
337
- \hline
338
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
339
- \hline
340
- \end{DoxyRetVals}
341
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S}}
342
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S}!theoraenc.h@{theoraenc.\-h}}
343
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-P\-A\-R\-A\-M\-S~(2)}\label{theoraenc_8h_a3befcdd66678f8d27034f9c4b16d1b9c}
344
-
223
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(ogg\_\-uint32\_\-t)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
224
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-QUALITY@{TH\_\-ENCCTL\_\-SET\_\-QUALITY}}
225
+ \index{TH\_\-ENCCTL\_\-SET\_\-QUALITY@{TH\_\-ENCCTL\_\-SET\_\-QUALITY}!theoraenc.h@{theoraenc.h}}
226
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-QUALITY}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-QUALITY~(28)}\label{theoraenc_8h_aac087983fa951b9148c9db6bc2e81ef4}
345
227
 
346
- Sets the quantization parameters to use.
347
228
 
348
- The parameters are copied, not stored by reference, so they can be freed after this call. {\ttfamily N\-U\-L\-L} may be specified to revert to the default parameters.
229
+ Sets the current encoding quality. This is only valid so long as no bitrate has been specified, either through the \doxyref{th\_\-info}{p.}{structth__info} struct used to initialize the encoder or through \doxyref{TH\_\-ENCCTL\_\-SET\_\-BITRATE}{p.}{theoraenc_8h_a9b969df55ecad1acd1ae207fad42592e} (this restriction may be relaxed in a future version). If it is set before the headers are emitted, the target quality encoded in them will be updated.
349
230
 
350
231
 
351
- \begin{DoxyParams}[1]{Parameters}
352
- \mbox{\tt in} & {\em \-\_\-buf} & \doxyref{th\-\_\-quant\-\_\-info}{p.}{structth__quant__info} \\
353
- \hline
354
- \end{DoxyParams}
232
+ \begin{DoxyParams}{Parameters}
233
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The new target quality, in the range 0...63, inclusive. \end{DoxyParams}
355
234
 
356
235
  \begin{DoxyRetVals}{Return values}
357
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} is {\ttfamily N\-U\-L\-L}. \\
358
- \hline
359
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & Encoding has already begun, {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L} and {\itshape \-\_\-buf\-\_\-sz} is not zero, or {\itshape \-\_\-buf} is non-\/{\ttfamily N\-U\-L\-L} and {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(\doxyref{th\-\_\-quant\-\_\-info}{p.}{structth__quant__info})}. \\
360
- \hline
361
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
362
- \hline
363
- \end{DoxyRetVals}
364
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R}}
365
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R}!theoraenc.h@{theoraenc.\-h}}
366
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-B\-U\-F\-F\-E\-R~(22)}\label{theoraenc_8h_aaefb515876b2a180ad5c3120fc584a52}
236
+ \item[{\em 0}]Success. \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]A target bitrate has already been specified, or the quality index was not in the range 0...63. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
237
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS@{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}}
238
+ \index{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS@{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}!theoraenc.h@{theoraenc.h}}
239
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-QUANT\_\-PARAMS~(2)}\label{theoraenc_8h_a3befcdd66678f8d27034f9c4b16d1b9c}
367
240
 
368
241
 
369
- Sets the size of the bitrate management bit reservoir as a function of number of frames.
242
+ Sets the quantization parameters to use. The parameters are copied, not stored by reference, so they can be freed after this call. {\ttfamily NULL} may be specified to revert to the default parameters.
370
243
 
371
- The reservoir size affects how quickly bitrate management reacts to instantaneous changes in the video complexity. Larger reservoirs react more slowly, and provide better overall quality, but require more buffering by a client, adding more latency to live streams. By default, libtheora sets the reservoir to the maximum distance between keyframes, subject to a minimum and maximum limit. This call may be used to increase or decrease the reservoir, increasing or decreasing the allowed temporary variance in bitrate. An implementation may impose some limits on the size of a reservoir it can handle, in which case the actual reservoir size may not be exactly what was requested. The actual value set will be returned.
372
244
 
373
-
374
- \begin{DoxyParams}[1]{Parameters}
375
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: Requested size of the reservoir measured in frames. \\
376
- \hline
377
- \mbox{\tt out} & {\em \-\_\-buf} & {\ttfamily int}\-: The actual size of the reservoir set. \\
378
- \hline
379
- \end{DoxyParams}
245
+ \begin{DoxyParams}{Parameters}
246
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info} \end{DoxyParams}
380
247
 
381
248
  \begin{DoxyRetVals}{Return values}
382
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
383
- \hline
384
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}, or rate control is not enabled. The buffer has an implementation defined minimum and maximum size and the value in \-\_\-buf will be adjusted to match the actual value set. \\
385
- \hline
386
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation in the current encoding mode. \\
387
- \hline
388
- \end{DoxyRetVals}
389
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S}}
390
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S}!theoraenc.h@{theoraenc.\-h}}
391
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-R\-A\-T\-E\-\_\-\-F\-L\-A\-G\-S~(20)}\label{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}
392
-
249
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]Encoding has already begun, {\itshape \_\-buf\/} is {\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not zero, or {\itshape \_\-buf\/} is non-\/{\ttfamily NULL} and {\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info})}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
250
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}}
251
+ \index{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}!theoraenc.h@{theoraenc.h}}
252
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-RATE\_\-BUFFER~(22)}\label{theoraenc_8h_aaefb515876b2a180ad5c3120fc584a52}
393
253
 
394
- Modifies the default bitrate management behavior.
395
254
 
396
- Use to allow or disallow frame dropping, and to enable or disable capping bit reservoir overflows and underflows. See \doxyref{the list of available flags}{p.}{theoraenc_8h_encctlcodes}. The flags are set by default to {\ttfamily \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}$|$\doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}}.
255
+ Sets the size of the bitrate management bit reservoir as a function of number of frames. The reservoir size affects how quickly bitrate management reacts to instantaneous changes in the video complexity. Larger reservoirs react more slowly, and provide better overall quality, but require more buffering by a client, adding more latency to live streams. By default, libtheora sets the reservoir to the maximum distance between keyframes, subject to a minimum and maximum limit. This call may be used to increase or decrease the reservoir, increasing or decreasing the allowed temporary variance in bitrate. An implementation may impose some limits on the size of a reservoir it can handle, in which case the actual reservoir size may not be exactly what was requested. The actual value set will be returned.
397
256
 
398
257
 
399
- \begin{DoxyParams}[1]{Parameters}
400
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: Any combination of \doxyref{the available flags}{p.}{theoraenc_8h_ratectlflags}\-:
401
- \begin{DoxyItemize}
402
- \item \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}\-: Enable frame dropping.
403
- \item \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}\-: Don't bank excess bits for later use.
404
- \item \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W}{p.}{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6}\-: Don't try to make up shortfalls later.
405
- \end{DoxyItemize}\\
406
- \hline
407
- \end{DoxyParams}
258
+ \begin{DoxyParams}{Parameters}
259
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: Requested size of the reservoir measured in frames. \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The actual size of the reservoir set. \end{DoxyParams}
408
260
 
409
261
  \begin{DoxyRetVals}{Return values}
410
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
411
- \hline
412
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)} or rate control is not enabled. \\
413
- \hline
414
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation in the current encoding mode. \\
415
- \hline
416
- \end{DoxyRetVals}
417
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}}
418
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}!theoraenc.h@{theoraenc.\-h}}
419
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L~(14)}\label{theoraenc_8h_abd9fbcb6a25a77d991d3620164fe59d6}
420
-
262
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or rate control is not enabled. The buffer has an implementation defined minimum and maximum size and the value in \_\-buf will be adjusted to match the actual value set. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals}
263
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}}
264
+ \index{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS@{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}!theoraenc.h@{theoraenc.h}}
265
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-RATE\_\-FLAGS~(20)}\label{theoraenc_8h_a026502e08fbe1af0a1063f39bd18129c}
421
266
 
422
- Sets the speed level.
423
267
 
424
- The current speed level may be retrieved using \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L}{p.}{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61}.
268
+ Modifies the default bitrate management behavior. Use to allow or disallow frame dropping, and to enable or disable capping bit reservoir overflows and underflows. See \doxyref{the list of available flags}{p.}{theoraenc_8h_encctlcodes}. The flags are set by default to {\ttfamily \doxyref{TH\_\-RATECTL\_\-DROP\_\-FRAMES}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}$|$\doxyref{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}}.
425
269
 
426
270
 
427
- \begin{DoxyParams}[1]{Parameters}
428
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: The new encoding speed level. 0 is slowest, larger values use less C\-P\-U. \\
429
- \hline
430
- \end{DoxyParams}
271
+ \begin{DoxyParams}{Parameters}
272
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: Any combination of \doxyref{the available flags}{p.}{theoraenc_8h_ratectlflags}:
273
+ \begin{DoxyItemize}
274
+ \item \doxyref{TH\_\-RATECTL\_\-DROP\_\-FRAMES}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}: Enable frame dropping.
275
+ \item \doxyref{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}: Don't bank excess bits for later use.
276
+ \item \doxyref{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}{p.}{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6}: Don't try to make up shortfalls later.
277
+ \end{DoxyItemize}\end{DoxyParams}
431
278
 
432
279
  \begin{DoxyRetVals}{Return values}
433
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
434
- \hline
435
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}, or the encoding speed level is out of bounds. The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-G\-E\-T\-\_\-\-S\-P\-L\-E\-V\-E\-L\-\_\-\-M\-A\-X}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}. \\
436
- \hline
437
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation in the current encoding mode. \\
438
- \hline
439
- \end{DoxyRetVals}
440
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E}}
441
- \index{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E@{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E}!theoraenc.h@{theoraenc.\-h}}
442
- \subsubsection[{T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-E\-N\-C\-C\-T\-L\-\_\-\-S\-E\-T\-\_\-\-V\-P3\-\_\-\-C\-O\-M\-P\-A\-T\-I\-B\-L\-E~(10)}\label{theoraenc_8h_a382d685a39a34d8e6ba76b00d804efd8}
443
-
280
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)} or rate control is not enabled. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals}
281
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}}
282
+ \index{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL@{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}!theoraenc.h@{theoraenc.h}}
283
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-SPLEVEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-SPLEVEL~(14)}\label{theoraenc_8h_abd9fbcb6a25a77d991d3620164fe59d6}
444
284
 
445
- Disables any encoder features that would prevent lossless transcoding back to V\-P3.
446
285
 
447
- This primarily means disabling block-\/adaptive quantization and always coding all four luma blocks in a macro block when 4\-M\-V is used. It also includes using the V\-P3 quantization tables and Huffman codes; if you set them explicitly after calling this function, the resulting stream will not be V\-P3-\/compatible. If you enable V\-P3-\/compatibility when encoding 4\-:2\-:2 or 4\-:4\-:4 source material, or when using a picture region smaller than the full frame (e.\-g. a non-\/multiple-\/of-\/16 width or height), then non-\/\-V\-P3 bitstream features will still be disabled, but the stream will still not be V\-P3-\/compatible, as V\-P3 was not capable of encoding such formats. If you call this after encoding has already begun, then the quantization tables and codebooks cannot be changed, but the frame-\/level features will be enabled or disabled as requested.
286
+ Sets the speed level. The current speed level may be retrieved using \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}{p.}{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61}.
448
287
 
449
288
 
450
- \begin{DoxyParams}[1]{Parameters}
451
- \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: a non-\/zero value to enable V\-P3 compatibility, or 0 to disable it (the default). \\
452
- \hline
453
- \mbox{\tt out} & {\em \-\_\-buf} & {\ttfamily int}\-: 1 if all bitstream features required for V\-P3-\/compatibility could be set, and 0 otherwise. The latter will be returned if the pixel format is not 4\-:2\-:0, the picture region is smaller than the full frame, or if encoding has begun, preventing the quantization tables and codebooks from being set. \\
454
- \hline
455
- \end{DoxyParams}
289
+ \begin{DoxyParams}{Parameters}
290
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The new encoding speed level. 0 is slowest, larger values use less CPU. \end{DoxyParams}
456
291
 
457
292
  \begin{DoxyRetVals}{Return values}
458
- {\em T\-H\-\_\-\-E\-F\-A\-U\-L\-T} & {\itshape \-\_\-enc\-\_\-ctx} or {\itshape \-\_\-buf} is {\ttfamily N\-U\-L\-L}. \\
459
- \hline
460
- {\em T\-H\-\_\-\-E\-I\-N\-V\-A\-L} & {\itshape \-\_\-buf\-\_\-sz} is not {\ttfamily sizeof(int)}. \\
461
- \hline
462
- {\em T\-H\-\_\-\-E\-I\-M\-P\-L} & Not supported by this implementation. \\
463
- \hline
464
- \end{DoxyRetVals}
465
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W@{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}}
466
- \index{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W@{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}!theoraenc.h@{theoraenc.\-h}}
467
- \subsubsection[{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W~(0x2)}\label{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}
293
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}, or the encoding speed level is out of bounds. The maximum encoding speed level may be implementation-\/ and encoding mode-\/specific, and can be obtained via \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL\_\-MAX}{p.}{theoraenc_8h_a9baf5bdd206e80c78a8fd44687e89783}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation in the current encoding mode. \end{DoxyRetVals}
294
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE@{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}}
295
+ \index{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE@{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}!theoraenc.h@{theoraenc.h}}
296
+ \subsubsection[{TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-ENCCTL\_\-SET\_\-VP3\_\-COMPATIBLE~(10)}\label{theoraenc_8h_a382d685a39a34d8e6ba76b00d804efd8}
468
297
 
469
298
 
470
- Ignore bitrate buffer overflows.
299
+ Disables any encoder features that would prevent lossless transcoding back to VP3. This primarily means disabling block-\/adaptive quantization and always coding all four luma blocks in a macro block when 4MV is used. It also includes using the VP3 quantization tables and Huffman codes; if you set them explicitly after calling this function, the resulting stream will not be VP3-\/compatible. If you enable VP3-\/compatibility when encoding 4:2:2 or 4:4:4 source material, or when using a picture region smaller than the full frame (e.g. a non-\/multiple-\/of-\/16 width or height), then non-\/VP3 bitstream features will still be disabled, but the stream will still not be VP3-\/compatible, as VP3 was not capable of encoding such formats. If you call this after encoding has already begun, then the quantization tables and codebooks cannot be changed, but the frame-\/level features will be enabled or disabled as requested.
471
300
 
472
- If the encoder uses so few bits that the reservoir of available bits overflows, ignore the excess. The encoder will not try to use these extra bits in future frames. At high rates this may cause the result to be undersized, but allows a client to play the stream using a finite buffer; it should normally be enabled. \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W@{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W}}
473
- \index{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W@{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W}!theoraenc.h@{theoraenc.\-h}}
474
- \subsubsection[{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W~(0x4)}\label{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6}
475
301
 
302
+ \begin{DoxyParams}{Parameters}
303
+ \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: a non-\/zero value to enable VP3 compatibility, or 0 to disable it (the default). \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: 1 if all bitstream features required for VP3-\/compatibility could be set, and 0 otherwise. The latter will be returned if the pixel format is not 4:2:0, the picture region is smaller than the full frame, or if encoding has begun, preventing the quantization tables and codebooks from being set. \end{DoxyParams}
476
304
 
477
- Ignore bitrate buffer underflows.
305
+ \begin{DoxyRetVals}{Return values}
306
+ \item[{\em TH\_\-EFAULT}]{\itshape \_\-enc\_\-ctx\/} or {\itshape \_\-buf\/} is {\ttfamily NULL}. \item[{\em TH\_\-EINVAL}]{\itshape \_\-buf\_\-sz\/} is not {\ttfamily sizeof(int)}. \item[{\em TH\_\-EIMPL}]Not supported by this implementation. \end{DoxyRetVals}
307
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-RATECTL\_\-CAP\_\-OVERFLOW@{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}}
308
+ \index{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW@{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}!theoraenc.h@{theoraenc.h}}
309
+ \subsubsection[{TH\_\-RATECTL\_\-CAP\_\-OVERFLOW}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-RATECTL\_\-CAP\_\-OVERFLOW~(0x2)}\label{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}
478
310
 
479
- If the encoder uses so many bits that the reservoir of available bits underflows, ignore the deficit. The encoder will not try to make up these extra bits in future frames. At low rates this may cause the result to be oversized; it should normally be disabled. \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S@{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}}
480
- \index{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S@{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}!theoraenc.h@{theoraenc.\-h}}
481
- \subsubsection[{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S~(0x1)}\label{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}
482
311
 
312
+ Ignore bitrate buffer overflows. If the encoder uses so few bits that the reservoir of available bits overflows, ignore the excess. The encoder will not try to use these extra bits in future frames. At high rates this may cause the result to be undersized, but allows a client to play the stream using a finite buffer; it should normally be enabled. \index{theoraenc.h@{theoraenc.h}!TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW@{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}}
313
+ \index{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW@{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}!theoraenc.h@{theoraenc.h}}
314
+ \subsubsection[{TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-RATECTL\_\-CAP\_\-UNDERFLOW~(0x4)}\label{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6}
483
315
 
484
- Drop frames to keep within bitrate buffer constraints.
485
316
 
486
- This can have a severe impact on quality, but is the only way to ensure that bitrate targets are met at low rates during sudden bursts of activity.
317
+ Ignore bitrate buffer underflows. If the encoder uses so many bits that the reservoir of available bits underflows, ignore the deficit. The encoder will not try to make up these extra bits in future frames. At low rates this may cause the result to be oversized; it should normally be disabled. \index{theoraenc.h@{theoraenc.h}!TH\_\-RATECTL\_\-DROP\_\-FRAMES@{TH\_\-RATECTL\_\-DROP\_\-FRAMES}}
318
+ \index{TH\_\-RATECTL\_\-DROP\_\-FRAMES@{TH\_\-RATECTL\_\-DROP\_\-FRAMES}!theoraenc.h@{theoraenc.h}}
319
+ \subsubsection[{TH\_\-RATECTL\_\-DROP\_\-FRAMES}]{\setlength{\rightskip}{0pt plus 5cm}\#define TH\_\-RATECTL\_\-DROP\_\-FRAMES~(0x1)}\label{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}
487
320
 
488
- \subsection{Typedef Documentation}
489
- \index{theoraenc.\-h@{theoraenc.\-h}!th\-\_\-enc\-\_\-ctx@{th\-\_\-enc\-\_\-ctx}}
490
- \index{th\-\_\-enc\-\_\-ctx@{th\-\_\-enc\-\_\-ctx}!theoraenc.h@{theoraenc.\-h}}
491
- \subsubsection[{th\-\_\-enc\-\_\-ctx}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\-\_\-enc\-\_\-ctx} {\bf th\-\_\-enc\-\_\-ctx}}\label{theoraenc_8h_af5cc40472b925456d42526a035d66edd}
492
321
 
322
+ Drop frames to keep within bitrate buffer constraints. This can have a severe impact on quality, but is the only way to ensure that bitrate targets are met at low rates during sudden bursts of activity.
493
323
 
494
- The encoder context.
324
+ \subsection{Typedef Documentation}
325
+ \index{theoraenc.h@{theoraenc.h}!th\_\-enc\_\-ctx@{th\_\-enc\_\-ctx}}
326
+ \index{th\_\-enc\_\-ctx@{th\_\-enc\_\-ctx}!theoraenc.h@{theoraenc.h}}
327
+ \subsubsection[{th\_\-enc\_\-ctx}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf th\_\-enc\_\-ctx} {\bf th\_\-enc\_\-ctx}}\label{theoraenc_8h_af5cc40472b925456d42526a035d66edd}
495
328
 
496
329
 
330
+ The encoder context.
497
331
 
498
332
  \subsection{Variable Documentation}
499
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S@{T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S}}
500
- \index{T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S@{T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S}!theoraenc.h@{theoraenc.\-h}}
501
- \subsubsection[{T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\-\_\-huff\-\_\-code} T\-H\-\_\-\-V\-P31\-\_\-\-H\-U\-F\-F\-\_\-\-C\-O\-D\-E\-S[{\bf T\-H\-\_\-\-N\-H\-U\-F\-F\-M\-A\-N\-\_\-\-T\-A\-B\-L\-E\-S}][{\bf T\-H\-\_\-\-N\-D\-C\-T\-\_\-\-T\-O\-K\-E\-N\-S}]}\label{theoraenc_8h_aee1f7cb1fa0d3b7cc1d4ca0f17e6ae5e}
502
-
503
-
504
- The Huffman tables used by V\-P3.
333
+ \index{theoraenc.h@{theoraenc.h}!TH\_\-VP31\_\-HUFF\_\-CODES@{TH\_\-VP31\_\-HUFF\_\-CODES}}
334
+ \index{TH\_\-VP31\_\-HUFF\_\-CODES@{TH\_\-VP31\_\-HUFF\_\-CODES}!theoraenc.h@{theoraenc.h}}
335
+ \subsubsection[{TH\_\-VP31\_\-HUFF\_\-CODES}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\_\-huff\_\-code} {\bf TH\_\-VP31\_\-HUFF\_\-CODES}[TH\_\-NHUFFMAN\_\-TABLES][TH\_\-NDCT\_\-TOKENS]}\label{theoraenc_8h_aee1f7cb1fa0d3b7cc1d4ca0f17e6ae5e}
505
336
 
506
- \index{theoraenc.\-h@{theoraenc.\-h}!T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O@{T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O}}
507
- \index{T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O@{T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O}!theoraenc.h@{theoraenc.\-h}}
508
- \subsubsection[{T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\-\_\-quant\-\_\-info} T\-H\-\_\-\-V\-P31\-\_\-\-Q\-U\-A\-N\-T\-\_\-\-I\-N\-F\-O}\label{theoraenc_8h_a3b1b462989f4e7a5a98e6e697f1a7f7d}
509
337
 
338
+ The Huffman tables used by VP3. \index{theoraenc.h@{theoraenc.h}!TH\_\-VP31\_\-QUANT\_\-INFO@{TH\_\-VP31\_\-QUANT\_\-INFO}}
339
+ \index{TH\_\-VP31\_\-QUANT\_\-INFO@{TH\_\-VP31\_\-QUANT\_\-INFO}!theoraenc.h@{theoraenc.h}}
340
+ \subsubsection[{TH\_\-VP31\_\-QUANT\_\-INFO}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf th\_\-quant\_\-info} {\bf TH\_\-VP31\_\-QUANT\_\-INFO}}\label{theoraenc_8h_a3b1b462989f4e7a5a98e6e697f1a7f7d}
510
341
 
511
- The quantization parameters used by V\-P3.
512
342
 
343
+ The quantization parameters used by VP3.