gstreamer 1.2.2-x86-mingw32 → 1.2.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) 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 +54 -28
  416. data/vendor/local/share/doc/libtheora-1.1.1/html/bc_s.png +0 -0
  417. data/vendor/local/share/doc/libtheora-1.1.1/html/bdwn.png +0 -0
  418. data/vendor/local/share/doc/libtheora-1.1.1/html/classes.html +51 -22
  419. data/vendor/local/share/doc/libtheora-1.1.1/html/closed.png +0 -0
  420. data/vendor/local/share/doc/libtheora-1.1.1/html/codec_8h.html +214 -176
  421. data/vendor/local/share/doc/libtheora-1.1.1/html/codec_8h_source.html +208 -178
  422. data/vendor/local/share/doc/libtheora-1.1.1/html/dir_0f91760d62c578de767c41a0aaae5482.html +67 -0
  423. data/vendor/local/share/doc/libtheora-1.1.1/html/dir_d44c64559bbebec7f509842c48db8b23.html +60 -0
  424. data/vendor/local/share/doc/libtheora-1.1.1/html/doxygen.css +789 -124
  425. data/vendor/local/share/doc/libtheora-1.1.1/html/doxygen.png +0 -0
  426. data/vendor/local/share/doc/libtheora-1.1.1/html/dynsections.js +78 -0
  427. data/vendor/local/share/doc/libtheora-1.1.1/html/files.html +47 -21
  428. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2blank.png +0 -0
  429. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2cl.png +0 -0
  430. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2doc.png +0 -0
  431. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2folderclosed.png +0 -0
  432. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2folderopen.png +0 -0
  433. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2lastnode.png +0 -0
  434. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2link.png +0 -0
  435. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mlastnode.png +0 -0
  436. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mnode.png +0 -0
  437. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mo.png +0 -0
  438. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2node.png +0 -0
  439. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2ns.png +0 -0
  440. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2plastnode.png +0 -0
  441. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2pnode.png +0 -0
  442. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2splitbar.png +0 -0
  443. data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2vertline.png +0 -0
  444. data/vendor/local/share/doc/libtheora-1.1.1/html/functions.html +61 -41
  445. data/vendor/local/share/doc/libtheora-1.1.1/html/functions_vars.html +61 -41
  446. data/vendor/local/share/doc/libtheora-1.1.1/html/globals.html +53 -27
  447. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_defs.html +45 -25
  448. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_enum.html +40 -20
  449. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_eval.html +40 -20
  450. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_func.html +43 -23
  451. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_type.html +46 -20
  452. data/vendor/local/share/doc/libtheora-1.1.1/html/globals_vars.html +40 -20
  453. data/vendor/local/share/doc/libtheora-1.1.1/html/group__basefuncs.html +221 -219
  454. data/vendor/local/share/doc/libtheora-1.1.1/html/group__decfuncs.html +164 -147
  455. data/vendor/local/share/doc/libtheora-1.1.1/html/group__encfuncs.html +145 -127
  456. data/vendor/local/share/doc/libtheora-1.1.1/html/group__oldfuncs.html +641 -639
  457. data/vendor/local/share/doc/libtheora-1.1.1/html/index.html +40 -16
  458. data/vendor/local/share/doc/libtheora-1.1.1/html/modules.html +45 -19
  459. data/vendor/local/share/doc/libtheora-1.1.1/html/nav_f.png +0 -0
  460. data/vendor/local/share/doc/libtheora-1.1.1/html/nav_g.png +0 -0
  461. data/vendor/local/share/doc/libtheora-1.1.1/html/nav_h.png +0 -0
  462. data/vendor/local/share/doc/libtheora-1.1.1/html/open.png +0 -0
  463. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__comment.html +70 -47
  464. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__huff__code.html +60 -35
  465. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__img__plane.html +70 -47
  466. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__info.html +141 -132
  467. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__quant__info.html +80 -56
  468. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__quant__ranges.html +65 -41
  469. data/vendor/local/share/doc/libtheora-1.1.1/html/structth__stripe__callback.html +60 -35
  470. data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__comment.html +71 -51
  471. data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__info.html +177 -181
  472. data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__state.html +66 -46
  473. data/vendor/local/share/doc/libtheora-1.1.1/html/structyuv__buffer.html +95 -80
  474. data/vendor/local/share/doc/libtheora-1.1.1/html/sync_off.png +0 -0
  475. data/vendor/local/share/doc/libtheora-1.1.1/html/sync_on.png +0 -0
  476. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_a.png +0 -0
  477. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_b.png +0 -0
  478. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_h.png +0 -0
  479. data/vendor/local/share/doc/libtheora-1.1.1/html/tab_s.png +0 -0
  480. data/vendor/local/share/doc/libtheora-1.1.1/html/tabs.css +44 -89
  481. data/vendor/local/share/doc/libtheora-1.1.1/html/theora_8h.html +206 -168
  482. data/vendor/local/share/doc/libtheora-1.1.1/html/theora_8h_source.html +258 -228
  483. data/vendor/local/share/doc/libtheora-1.1.1/html/theoradec_8h.html +182 -155
  484. data/vendor/local/share/doc/libtheora-1.1.1/html/theoradec_8h_source.html +121 -91
  485. data/vendor/local/share/doc/libtheora-1.1.1/html/theoraenc_8h.html +315 -299
  486. data/vendor/local/share/doc/libtheora-1.1.1/html/theoraenc_8h_source.html +130 -100
  487. data/vendor/local/share/doc/libtheora-1.1.1/latex/Makefile +3 -3
  488. data/vendor/local/share/doc/libtheora-1.1.1/latex/annotated.tex +12 -12
  489. data/vendor/local/share/doc/libtheora-1.1.1/latex/codec_8h.tex +200 -160
  490. data/vendor/local/share/doc/libtheora-1.1.1/latex/dir_0f91760d62c578de767c41a0aaae5482.tex +13 -0
  491. data/vendor/local/share/doc/libtheora-1.1.1/latex/dir_d44c64559bbebec7f509842c48db8b23.tex +7 -0
  492. data/vendor/local/share/doc/libtheora-1.1.1/latex/doxygen.sty +162 -29
  493. data/vendor/local/share/doc/libtheora-1.1.1/latex/files.tex +5 -5
  494. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__basefuncs.tex +271 -122
  495. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__decfuncs.tex +184 -69
  496. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__encfuncs.tex +150 -59
  497. data/vendor/local/share/doc/libtheora-1.1.1/latex/group__oldfuncs.tex +819 -381
  498. data/vendor/local/share/doc/libtheora-1.1.1/latex/index.tex +5 -5
  499. data/vendor/local/share/doc/libtheora-1.1.1/latex/modules.tex +2 -2
  500. data/vendor/local/share/doc/libtheora-1.1.1/latex/refman.tex +32 -18
  501. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__comment.tex +41 -27
  502. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__huff__code.tex +27 -17
  503. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__img__plane.tex +36 -22
  504. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__info.tex +124 -99
  505. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__quant__info.tex +52 -38
  506. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__quant__ranges.tex +33 -21
  507. data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__stripe__callback.tex +26 -16
  508. data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__comment.tex +40 -26
  509. data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__info.tex +170 -134
  510. data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__state.tex +27 -23
  511. data/vendor/local/share/doc/libtheora-1.1.1/latex/structyuv__buffer.tex +75 -51
  512. data/vendor/local/share/doc/libtheora-1.1.1/latex/theora_8h.tex +156 -154
  513. data/vendor/local/share/doc/libtheora-1.1.1/latex/theoradec_8h.tex +177 -120
  514. data/vendor/local/share/doc/libtheora-1.1.1/latex/theoraenc_8h.tex +382 -213
  515. metadata +42 -8
@@ -1,194 +1,251 @@
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 API.
6
- {\ttfamily \#include $<$stddef.h$>$}\par
7
- {\ttfamily \#include $<$ogg/ogg.h$>$}\par
8
- {\ttfamily \#include \char`\"{}codec.h\char`\"{}}\par
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`\"{}}\\*
9
11
  \subsection*{Data Structures}
10
12
  \begin{DoxyCompactItemize}
11
13
  \item
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}
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}
15
17
  \begin{DoxyCompactItemize}
16
18
  \item
17
- \#define {\bf \_\-O\_\-THEORA\_\-THEORADEC\_\-H\_\-}~(1)
19
+ \#define {\bf \-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-D\-E\-C\-\_\-\-H\-\_\-}~(1)
18
20
  \end{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}
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}
23
24
  \item
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}
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}
40
41
  \end{Indent}
41
42
  \subsection*{Typedefs}
42
43
  \begin{DoxyCompactItemize}
43
44
  \item
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}
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}
46
47
  \begin{Indent}{\bf Decoder state}\par
47
- {\em \label{_amgrp20ad7456b6a1ebc1cb57f3e51d4d7bc3}
48
- The following data structures are opaque, and their contents are not publicly defined by this API.
48
+ {\em The following data structures are opaque, and their contents are not publicly defined by this A\-P\-I.
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. \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}
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}
56
56
  \end{Indent}
57
57
  \subsection*{Functions}
58
58
  \begin{Indent}{\bf Functions for decoding}\par
59
- {\em \label{_amgrp9d29c94aa62f20426aa5ff062c7daedd}
60
- You must link to {\ttfamily libtheoradec} if you use any of the functions in this section.
59
+ {\em You must link to {\ttfamily libtheoradec} if you use any of the functions in this section.
61
60
 
62
- The functions are listed in the order they are used in a typical decode. The basic steps are:
61
+ The functions are listed in the order they are used in a typical decode. The basic steps are\-:
63
62
  \begin{DoxyItemize}
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:
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\-:
69
68
  \begin{DoxyItemize}
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}.
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}.
72
71
  \end{DoxyItemize}
73
- \item Call \doxyref{th\_\-decode\_\-free()}{p.}{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} to release all decoder memory.
72
+ \item Call \doxyref{th\-\_\-decode\-\_\-free()}{p.}{group__decfuncs_gafb6684ad8ba507b71112bc9de148e7d0} to release all decoder memory.
74
73
  \end{DoxyItemize}}\begin{DoxyCompactItemize}
75
74
  \item
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}
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}
90
89
  \end{Indent}
91
90
 
92
91
 
93
92
  \subsection{Detailed Description}
94
- The {\ttfamily libtheoradec} C decoding API.
93
+ The {\ttfamily libtheoradec} C decoding A\-P\-I.
95
94
 
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}
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}
103
102
 
104
103
 
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.
104
+ Gets the maximum post-\/processing level.
106
105
 
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.
107
107
 
108
- \begin{DoxyParams}{Parameters}
109
- \item[\mbox{$\rightarrow$} {\em \_\-buf}]int: The maximum post-\/processing level. \end{DoxyParams}
108
+
109
+ \begin{DoxyParams}[1]{Parameters}
110
+ \mbox{\tt out} & {\em \-\_\-buf} & int\-: The maximum post-\/processing level. \\
111
+ \hline
112
+ \end{DoxyParams}
110
113
 
111
114
  \begin{DoxyRetVals}{Return values}
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}
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}
116
125
 
117
126
 
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.
127
+ Sets the granule position.
119
128
 
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.
120
130
 
121
- \begin{DoxyParams}{Parameters}
122
- \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily ogg\_\-int64\_\-t}: The granule position of the next frame. \end{DoxyParams}
131
+
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}
123
136
 
124
137
  \begin{DoxyRetVals}{Return values}
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}
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}
129
146
 
130
147
 
131
- Sets the post-\/processing level. By default, post-\/processing is disabled.
148
+ Sets the post-\/processing level.
132
149
 
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.
150
+ By default, post-\/processing is disabled.
134
151
 
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.
135
153
 
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}
154
+
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}
138
159
 
139
160
  \begin{DoxyRetVals}{Return values}
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}
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}
144
171
 
145
172
 
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.
173
+ Sets the striped decode callback function.
147
174
 
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.
148
176
 
149
- \begin{DoxyParams}{Parameters}
150
- \item[\mbox{$\leftarrow$} {\em \_\-buf}]\doxyref{th\_\-stripe\_\-callback}{p.}{structth__stripe__callback}: The callback parameters. \end{DoxyParams}
177
+
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}
151
182
 
152
183
  \begin{DoxyRetVals}{Return values}
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}
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.
157
195
 
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}
158
199
 
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}
162
200
 
201
+ Enables telemetry and sets the macroblock display mode.
163
202
 
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}
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}
167
206
 
168
207
 
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}
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}
172
213
 
173
214
 
174
215
  Enables telemetry and sets the adaptive quantization display mode.
175
216
 
217
+
218
+
176
219
  \subsection{Typedef Documentation}
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}
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}
180
230
 
181
231
 
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}
232
+ Setup information.
185
233
 
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}
186
237
 
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}
190
238
 
239
+ A callback function for striped decode.
191
240
 
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.
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.
193
242
  \begin{DoxyParams}{Parameters}
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}
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}
@@ -1,343 +1,512 @@
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 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}
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}
10
12
  \begin{DoxyCompactItemize}
11
13
  \item
12
- \#define {\bf \_\-O\_\-THEORA\_\-THEORAENC\_\-H\_\-}~(1)
14
+ \#define {\bf \-\_\-\-O\-\_\-\-T\-H\-E\-O\-R\-A\-\_\-\-T\-H\-E\-O\-R\-A\-E\-N\-C\-\_\-\-H\-\_\-}~(1)
13
15
  \end{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}
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}
18
19
  \item
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}
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}
47
48
  \end{Indent}
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}
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}
52
52
  \item
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}
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}
59
59
  \end{Indent}
60
60
  \subsection*{Typedefs}
61
61
  \begin{Indent}{\bf Encoder state}\par
62
- {\em \label{_amgrp4ebc85bd8522a8b6128225c02b31c8b7}
63
- The following data structure is opaque, and its contents are not publicly defined by this API.
62
+ {\em The following data structure is opaque, and its contents are not publicly defined by this A\-P\-I.
64
63
 
65
64
  Referring to its internals directly is unsupported, and may break without warning. }\begin{DoxyCompactItemize}
66
65
  \item
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}
66
+ typedef struct {\bf th\-\_\-enc\-\_\-ctx} {\bf th\-\_\-enc\-\_\-ctx}
67
+ \begin{DoxyCompactList}\small\item\em The encoder context. \end{DoxyCompactList}\end{DoxyCompactItemize}
69
68
  \end{Indent}
70
69
  \subsection*{Functions}
71
70
  \begin{Indent}{\bf Functions for encoding}\par
72
- {\em \label{_amgrpc58fb8743a7ca83eb895d57e29e032c8}
73
- You must link to {\ttfamily libtheoraenc} and {\ttfamily libtheoradec} if you use any of the functions in this section.
71
+ {\em You must link to {\ttfamily libtheoraenc} and {\ttfamily libtheoradec} if you use any of the functions in this section.
74
72
 
75
- The functions are listed in the order they are used in a typical encode. The basic steps are:
73
+ The functions are listed in the order they are used in a typical encode. The basic steps are\-:
76
74
  \begin{DoxyItemize}
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:
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\-:
82
80
  \begin{DoxyItemize}
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.
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.
85
83
  \end{DoxyItemize}
86
- \item Call \doxyref{th\_\-encode\_\-free()}{p.}{group__encfuncs_ga36b23d216532231925c4107894204680} to release all encoder memory.
84
+ \item Call \doxyref{th\-\_\-encode\-\_\-free()}{p.}{group__encfuncs_ga36b23d216532231925c4107894204680} to release all encoder memory.
87
85
  \end{DoxyItemize}}\begin{DoxyCompactItemize}
88
86
  \item
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}
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}
101
99
  \end{Indent}
102
100
  \subsection*{Variables}
103
101
  \begin{DoxyCompactItemize}
104
102
  \item
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}
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}
109
107
 
110
108
 
111
109
  \subsection{Detailed Description}
112
- The {\ttfamily libtheoraenc} C encoding API.
110
+ The {\ttfamily libtheoraenc} C encoding A\-P\-I.
113
111
 
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}
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}
121
119
 
122
120
 
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.
121
+ Submits two-\/pass encoding metric data collected the first encoding pass to the second pass.
124
122
 
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.
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.
126
124
 
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.
127
126
 
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}
130
-
131
- \begin{DoxyRetVals}{Return values}
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}
136
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}
137
132
 
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}.
139
-
140
-
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}
133
+ \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}
143
163
 
144
164
  \begin{DoxyRetVals}{Return values}
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}
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}
149
177
 
150
178
 
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}.
179
+ Gets the current speed level.
152
180
 
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}.
153
182
 
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}
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}
156
188
 
157
189
  \begin{DoxyRetVals}{Return values}
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}
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
+
162
201
 
202
+ Gets the maximum speed level.
163
203
 
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.).
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.).
165
205
 
166
206
 
167
- \begin{DoxyParams}{Parameters}
168
- \item[\mbox{$\rightarrow$} {\em \_\-buf}]{\ttfamily int}: The maximum encoding speed level. \end{DoxyParams}
207
+ \begin{DoxyParams}[1]{Parameters}
208
+ \mbox{\tt out} & {\em \-\_\-buf} & {\ttfamily int}\-: The maximum encoding speed level. \\
209
+ \hline
210
+ \end{DoxyParams}
169
211
 
170
212
  \begin{DoxyRetVals}{Return values}
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}
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}
223
+
175
224
 
225
+ Sets the current encoding bitrate.
176
226
 
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.
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.
178
228
 
179
229
 
180
- \begin{DoxyParams}{Parameters}
181
- \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily long}: The new target bitrate, in bits per second. \end{DoxyParams}
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}
182
234
 
183
235
  \begin{DoxyRetVals}{Return values}
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}
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}
188
248
 
189
249
 
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.
250
+ Sets the number of duplicates of the next frame to produce.
191
251
 
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.
192
253
 
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}
254
+
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}
195
259
 
196
260
  \begin{DoxyRetVals}{Return values}
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}
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
+
201
272
 
273
+ Sets the Huffman tables to use.
202
274
 
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.
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.
204
276
 
205
277
 
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}
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}
208
282
 
209
283
  \begin{DoxyRetVals}{Return values}
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}
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}
294
+
214
295
 
296
+ Sets the maximum distance between key frames.
215
297
 
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.
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.
217
299
 
218
300
 
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}
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}
221
307
 
222
308
  \begin{DoxyRetVals}{Return values}
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}
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}
227
319
 
228
320
 
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.
321
+ Sets the current encoding quality.
230
322
 
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.
231
324
 
232
- \begin{DoxyParams}{Parameters}
233
- \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: The new target quality, in the range 0...63, inclusive. \end{DoxyParams}
325
+
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}
234
330
 
235
331
  \begin{DoxyRetVals}{Return values}
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}
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
+
240
345
 
346
+ Sets the quantization parameters to use.
241
347
 
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.
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.
243
349
 
244
350
 
245
- \begin{DoxyParams}{Parameters}
246
- \item[\mbox{$\leftarrow$} {\em \_\-buf}]\doxyref{th\_\-quant\_\-info}{p.}{structth__quant__info} \end{DoxyParams}
351
+ \begin{DoxyParams}[1]{Parameters}
352
+ \mbox{\tt in} & {\em \-\_\-buf} & \doxyref{th\-\_\-quant\-\_\-info}{p.}{structth__quant__info} \\
353
+ \hline
354
+ \end{DoxyParams}
247
355
 
248
356
  \begin{DoxyRetVals}{Return values}
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}
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}
253
367
 
254
368
 
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.
369
+ Sets the size of the bitrate management bit reservoir as a function of number of frames.
256
370
 
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.
257
372
 
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}
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}
260
380
 
261
381
  \begin{DoxyRetVals}{Return values}
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}
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
+
266
393
 
394
+ Modifies the default bitrate management behavior.
267
395
 
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}}.
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}}.
269
397
 
270
398
 
271
- \begin{DoxyParams}{Parameters}
272
- \item[\mbox{$\leftarrow$} {\em \_\-buf}]{\ttfamily int}: Any combination of \doxyref{the available flags}{p.}{theoraenc_8h_ratectlflags}:
399
+ \begin{DoxyParams}[1]{Parameters}
400
+ \mbox{\tt in} & {\em \-\_\-buf} & {\ttfamily int}\-: Any combination of \doxyref{the available flags}{p.}{theoraenc_8h_ratectlflags}\-:
273
401
  \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}
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}
278
408
 
279
409
  \begin{DoxyRetVals}{Return values}
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}
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}
284
420
 
285
421
 
286
- Sets the speed level. The current speed level may be retrieved using \doxyref{TH\_\-ENCCTL\_\-GET\_\-SPLEVEL}{p.}{theoraenc_8h_a114b7c552f50b7b8d881a39489af1f61}.
422
+ Sets the speed level.
287
423
 
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}.
288
425
 
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}
426
+
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}
291
431
 
292
432
  \begin{DoxyRetVals}{Return values}
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}
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
+
297
444
 
445
+ Disables any encoder features that would prevent lossless transcoding back to V\-P3.
298
446
 
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.
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.
300
448
 
301
449
 
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}
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}
304
456
 
305
457
  \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}
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}
468
+
310
469
 
470
+ Ignore bitrate buffer overflows.
311
471
 
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}
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}
315
475
 
316
476
 
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}
477
+ Ignore bitrate buffer underflows.
320
478
 
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}
321
482
 
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.
483
+
484
+ Drop frames to keep within bitrate buffer constraints.
485
+
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.
323
487
 
324
488
  \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}
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}
328
492
 
329
493
 
330
494
  The encoder context.
331
495
 
496
+
497
+
332
498
  \subsection{Variable Documentation}
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}
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.
336
505
 
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}
337
509
 
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}
341
510
 
511
+ The quantization parameters used by V\-P3.
342
512
 
343
- The quantization parameters used by VP3.