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.
- data/lib/1.9/gstreamer.so +0 -0
- data/lib/2.0/gstreamer.so +0 -0
- data/vendor/local/bin/flac.exe +0 -0
- data/vendor/local/bin/gst-discoverer-0.10.exe +0 -0
- data/vendor/local/bin/gst-feedback.exe +0 -0
- data/vendor/local/bin/gst-inspect-0.10.exe +0 -0
- data/vendor/local/bin/gst-inspect.exe +0 -0
- data/vendor/local/bin/gst-launch-0.10.exe +0 -0
- data/vendor/local/bin/gst-launch.exe +0 -0
- data/vendor/local/bin/gst-typefind-0.10.exe +0 -0
- data/vendor/local/bin/gst-typefind.exe +0 -0
- data/vendor/local/bin/gst-xmlinspect-0.10.exe +0 -0
- data/vendor/local/bin/gst-xmlinspect.exe +0 -0
- data/vendor/local/bin/gst-xmllaunch-0.10.exe +0 -0
- data/vendor/local/bin/gst-xmllaunch.exe +0 -0
- data/vendor/local/bin/libFLAC-8.dll +0 -0
- data/vendor/local/bin/libgstapp-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstaudio-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstbase-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstbasevideo-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstcdda-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstcheck-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstcontroller-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstdataprotocol-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstfft-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstinterfaces-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstnet-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstnetbuffer-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstpbutils-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstphotography-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstreamer-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstriff-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstrtp-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstrtsp-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstsdp-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstsignalprocessor-0.10-0.dll +0 -0
- data/vendor/local/bin/libgsttag-0.10-0.dll +0 -0
- data/vendor/local/bin/libgstvideo-0.10-0.dll +0 -0
- data/vendor/local/bin/libogg-0.dll +0 -0
- data/vendor/local/bin/libspeex-1.dll +0 -0
- data/vendor/local/bin/libspeexdsp-1.dll +0 -0
- data/vendor/local/bin/libtheora-0.dll +0 -0
- data/vendor/local/bin/libtheoradec-1.dll +0 -0
- data/vendor/local/bin/libtheoraenc-1.dll +0 -0
- data/vendor/local/bin/libvorbis-0.dll +0 -0
- data/vendor/local/bin/libvorbisenc-2.dll +0 -0
- data/vendor/local/bin/libvorbisfile-3.dll +0 -0
- data/vendor/local/bin/metaflac.exe +0 -0
- data/vendor/local/bin/speexdec.exe +0 -0
- data/vendor/local/bin/speexenc.exe +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstadder.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstadder.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstadpcmdec.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstadpcmdec.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstadpcmenc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstadpcmenc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaiff.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaiff.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstalaw.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstalaw.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstalpha.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstalpha.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstalphacolor.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstalphacolor.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstannodex.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstannodex.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstapetag.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstapetag.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstapp.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstapp.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstasfmux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstasfmux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudioconvert.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudioconvert.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudiofx.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudiofx.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudioparsers.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudioparsers.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudiorate.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudiorate.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudioresample.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudioresample.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudiotestsrc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstaudiotestsrc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstauparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstauparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstautoconvert.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstautoconvert.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstautodetect.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstautodetect.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstavi.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstavi.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstbayer.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstbayer.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcairo.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcairo.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcamerabin.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcamerabin.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcdxaparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcdxaparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcog.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcog.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcoloreffects.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcoloreffects.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcolorspace.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcolorspace.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcoreelements.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcoreelements.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcoreindexers.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcoreindexers.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcutter.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstcutter.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdataurisrc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdataurisrc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdebug.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdebug.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdebugutilsbad.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdebugutilsbad.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdecodebin.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdecodebin.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdecodebin2.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdecodebin2.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdeinterlace.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdeinterlace.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdirectdrawsink.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdirectdrawsink.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsink.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsink.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsrc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdirectsoundsrc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdtmf.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdtmf.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdvbsuboverlay.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdvbsuboverlay.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdvdspu.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstdvdspu.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsteffectv.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsteffectv.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstencodebin.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstencodebin.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstequalizer.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstequalizer.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfestival.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfestival.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstffmpeg.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstffmpeg.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstffmpegcolorspace.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstffmpegcolorspace.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstffmpegscale.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstffmpegscale.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfieldanalysis.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfieldanalysis.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstflac.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstflac.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstflv.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstflv.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstflxdec.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstflxdec.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfragmented.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfragmented.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfreeze.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfreeze.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfrei0r.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstfrei0r.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgaudieffects.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgaudieffects.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgdkpixbuf.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgdkpixbuf.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgdp.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgdp.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgeometrictransform.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgeometrictransform.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgio.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgio.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgoom.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgoom.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgoom2k1.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgoom2k1.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgsettingselements.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstgsettingselements.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsth264parse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsth264parse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsthdvparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsthdvparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsticydemux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsticydemux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstid3demux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstid3demux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstid3tag.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstid3tag.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstimagefreeze.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstimagefreeze.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstinterlace.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstinterlace.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstinterleave.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstinterleave.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstinvtelecine.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstinvtelecine.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstisomp4.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstisomp4.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstivfparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstivfparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstjp2kdecimator.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstjp2kdecimator.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstjpeg.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstjpeg.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstjpegformat.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstjpegformat.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstlegacyresample.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstlegacyresample.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstlevel.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstlevel.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstliveadder.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstliveadder.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmatroska.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmatroska.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpeg4videoparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpeg4videoparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegdemux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegdemux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegpsmux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegpsmux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegtsdemux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegtsdemux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegtsmux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegtsmux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegvideoparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmpegvideoparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmulaw.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmulaw.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmultifile.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmultifile.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmultipart.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmultipart.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmve.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmve.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmxf.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstmxf.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstnavigationtest.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstnavigationtest.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstnsf.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstnsf.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstnuvdemux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstnuvdemux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstogg.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstogg.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpango.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpango.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpatchdetect.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpatchdetect.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpcapparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpcapparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstplaybin.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstplaybin.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpng.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpng.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpnm.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpnm.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpostproc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstpostproc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrawparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrawparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstreal.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstreal.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstreplaygain.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstreplaygain.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtp.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtp.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtpmanager.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtpmanager.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtpmux.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtpmux.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtpvp8.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtpvp8.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtsp.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstrtsp.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstscaletempoplugin.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstscaletempoplugin.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsdi.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsdi.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsdpelem.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsdpelem.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsegmentclip.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsegmentclip.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstshapewipe.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstshapewipe.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsiren.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsiren.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsmpte.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsmpte.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsouphttpsrc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsouphttpsrc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstspectrum.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstspectrum.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstspeed.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstspeed.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstspeex.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstspeex.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgststereo.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgststereo.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsubenc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsubenc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsubparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstsubparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsttheora.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsttheora.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsttta.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsttta.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsttypefindfunctions.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsttypefindfunctions.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstudp.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstudp.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideobox.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideobox.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideocrop.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideocrop.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideofilter.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideofilter.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideofiltersbad.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideofiltersbad.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideomaxrate.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideomaxrate.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideomeasure.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideomeasure.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideomixer.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideomixer.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideoparsersbad.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideoparsersbad.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideorate.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideorate.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideoscale.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideoscale.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideosignal.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideosignal.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideotestsrc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvideotestsrc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvmnc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvmnc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvolume.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvolume.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvorbis.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstvorbis.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstwavenc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstwavenc.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstwavparse.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgstwavparse.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsty4mdec.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsty4mdec.dll.a +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsty4menc.dll +0 -0
- data/vendor/local/lib/gstreamer-0.10/libgsty4menc.dll.a +0 -0
- data/vendor/local/lib/libFLAC.a +0 -0
- data/vendor/local/lib/libFLAC.dll.a +0 -0
- data/vendor/local/lib/libgstapp-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstaudio-0.10.a +0 -0
- data/vendor/local/lib/libgstaudio-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstbase-0.10.a +0 -0
- data/vendor/local/lib/libgstbase-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstbasevideo-0.10.a +0 -0
- data/vendor/local/lib/libgstbasevideo-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstcdda-0.10.a +0 -0
- data/vendor/local/lib/libgstcdda-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstcheck-0.10.a +0 -0
- data/vendor/local/lib/libgstcheck-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstcontroller-0.10.a +0 -0
- data/vendor/local/lib/libgstcontroller-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstdataprotocol-0.10.a +0 -0
- data/vendor/local/lib/libgstdataprotocol-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstfft-0.10.a +0 -0
- data/vendor/local/lib/libgstfft-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstinterfaces-0.10.a +0 -0
- data/vendor/local/lib/libgstinterfaces-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstnet-0.10.a +0 -0
- data/vendor/local/lib/libgstnet-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstnetbuffer-0.10.a +0 -0
- data/vendor/local/lib/libgstnetbuffer-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstpbutils-0.10.a +0 -0
- data/vendor/local/lib/libgstpbutils-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstphotography-0.10.a +0 -0
- data/vendor/local/lib/libgstphotography-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstreamer-0.10.a +0 -0
- data/vendor/local/lib/libgstreamer-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstriff-0.10.a +0 -0
- data/vendor/local/lib/libgstriff-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstrtp-0.10.a +0 -0
- data/vendor/local/lib/libgstrtp-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstrtsp-0.10.a +0 -0
- data/vendor/local/lib/libgstrtsp-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstsdp-0.10.a +0 -0
- data/vendor/local/lib/libgstsdp-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstsignalprocessor-0.10.a +0 -0
- data/vendor/local/lib/libgstsignalprocessor-0.10.dll.a +0 -0
- data/vendor/local/lib/libgsttag-0.10.a +0 -0
- data/vendor/local/lib/libgsttag-0.10.dll.a +0 -0
- data/vendor/local/lib/libgstvideo-0.10.a +0 -0
- data/vendor/local/lib/libgstvideo-0.10.dll.a +0 -0
- data/vendor/local/lib/libogg.a +0 -0
- data/vendor/local/lib/libogg.dll.a +0 -0
- data/vendor/local/lib/libspeex.a +0 -0
- data/vendor/local/lib/libspeex.dll.a +0 -0
- data/vendor/local/lib/libspeexdsp.a +0 -0
- data/vendor/local/lib/libspeexdsp.dll.a +0 -0
- data/vendor/local/lib/libtheora.a +0 -0
- data/vendor/local/lib/libtheora.dll.a +0 -0
- data/vendor/local/lib/libtheoradec.a +0 -0
- data/vendor/local/lib/libtheoradec.dll.a +0 -0
- data/vendor/local/lib/libtheoraenc.a +0 -0
- data/vendor/local/lib/libtheoraenc.dll.a +0 -0
- data/vendor/local/lib/libvorbis.a +0 -0
- data/vendor/local/lib/libvorbis.dll.a +0 -0
- data/vendor/local/lib/libvorbisenc.a +0 -0
- data/vendor/local/lib/libvorbisenc.dll.a +0 -0
- data/vendor/local/lib/libvorbisfile.a +0 -0
- data/vendor/local/lib/libvorbisfile.dll.a +0 -0
- data/vendor/local/libexec/gstreamer-0.10/gst-plugin-scanner.exe +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/annotated.html +54 -28
- data/vendor/local/share/doc/libtheora-1.1.1/html/bc_s.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/bdwn.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/classes.html +51 -22
- data/vendor/local/share/doc/libtheora-1.1.1/html/closed.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/codec_8h.html +214 -176
- data/vendor/local/share/doc/libtheora-1.1.1/html/codec_8h_source.html +208 -178
- data/vendor/local/share/doc/libtheora-1.1.1/html/dir_0f91760d62c578de767c41a0aaae5482.html +67 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/dir_d44c64559bbebec7f509842c48db8b23.html +60 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/doxygen.css +789 -124
- data/vendor/local/share/doc/libtheora-1.1.1/html/doxygen.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/dynsections.js +78 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/files.html +47 -21
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2blank.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2cl.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2doc.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2folderclosed.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2folderopen.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2lastnode.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2link.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mlastnode.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mnode.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2mo.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2node.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2ns.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2plastnode.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2pnode.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2splitbar.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/ftv2vertline.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/functions.html +61 -41
- data/vendor/local/share/doc/libtheora-1.1.1/html/functions_vars.html +61 -41
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals.html +53 -27
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals_defs.html +45 -25
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals_enum.html +40 -20
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals_eval.html +40 -20
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals_func.html +43 -23
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals_type.html +46 -20
- data/vendor/local/share/doc/libtheora-1.1.1/html/globals_vars.html +40 -20
- data/vendor/local/share/doc/libtheora-1.1.1/html/group__basefuncs.html +221 -219
- data/vendor/local/share/doc/libtheora-1.1.1/html/group__decfuncs.html +164 -147
- data/vendor/local/share/doc/libtheora-1.1.1/html/group__encfuncs.html +145 -127
- data/vendor/local/share/doc/libtheora-1.1.1/html/group__oldfuncs.html +641 -639
- data/vendor/local/share/doc/libtheora-1.1.1/html/index.html +40 -16
- data/vendor/local/share/doc/libtheora-1.1.1/html/modules.html +45 -19
- data/vendor/local/share/doc/libtheora-1.1.1/html/nav_f.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/nav_g.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/nav_h.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/open.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__comment.html +70 -47
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__huff__code.html +60 -35
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__img__plane.html +70 -47
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__info.html +141 -132
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__quant__info.html +80 -56
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__quant__ranges.html +65 -41
- data/vendor/local/share/doc/libtheora-1.1.1/html/structth__stripe__callback.html +60 -35
- data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__comment.html +71 -51
- data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__info.html +177 -181
- data/vendor/local/share/doc/libtheora-1.1.1/html/structtheora__state.html +66 -46
- data/vendor/local/share/doc/libtheora-1.1.1/html/structyuv__buffer.html +95 -80
- data/vendor/local/share/doc/libtheora-1.1.1/html/sync_off.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/sync_on.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/tab_a.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/tab_b.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/tab_h.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/tab_s.png +0 -0
- data/vendor/local/share/doc/libtheora-1.1.1/html/tabs.css +44 -89
- data/vendor/local/share/doc/libtheora-1.1.1/html/theora_8h.html +206 -168
- data/vendor/local/share/doc/libtheora-1.1.1/html/theora_8h_source.html +258 -228
- data/vendor/local/share/doc/libtheora-1.1.1/html/theoradec_8h.html +182 -155
- data/vendor/local/share/doc/libtheora-1.1.1/html/theoradec_8h_source.html +121 -91
- data/vendor/local/share/doc/libtheora-1.1.1/html/theoraenc_8h.html +315 -299
- data/vendor/local/share/doc/libtheora-1.1.1/html/theoraenc_8h_source.html +130 -100
- data/vendor/local/share/doc/libtheora-1.1.1/latex/Makefile +3 -3
- data/vendor/local/share/doc/libtheora-1.1.1/latex/annotated.tex +12 -12
- data/vendor/local/share/doc/libtheora-1.1.1/latex/codec_8h.tex +200 -160
- data/vendor/local/share/doc/libtheora-1.1.1/latex/dir_0f91760d62c578de767c41a0aaae5482.tex +13 -0
- data/vendor/local/share/doc/libtheora-1.1.1/latex/dir_d44c64559bbebec7f509842c48db8b23.tex +7 -0
- data/vendor/local/share/doc/libtheora-1.1.1/latex/doxygen.sty +162 -29
- data/vendor/local/share/doc/libtheora-1.1.1/latex/files.tex +5 -5
- data/vendor/local/share/doc/libtheora-1.1.1/latex/group__basefuncs.tex +271 -122
- data/vendor/local/share/doc/libtheora-1.1.1/latex/group__decfuncs.tex +184 -69
- data/vendor/local/share/doc/libtheora-1.1.1/latex/group__encfuncs.tex +150 -59
- data/vendor/local/share/doc/libtheora-1.1.1/latex/group__oldfuncs.tex +819 -381
- data/vendor/local/share/doc/libtheora-1.1.1/latex/index.tex +5 -5
- data/vendor/local/share/doc/libtheora-1.1.1/latex/modules.tex +2 -2
- data/vendor/local/share/doc/libtheora-1.1.1/latex/refman.tex +32 -18
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__comment.tex +41 -27
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__huff__code.tex +27 -17
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__img__plane.tex +36 -22
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__info.tex +124 -99
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__quant__info.tex +52 -38
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__quant__ranges.tex +33 -21
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structth__stripe__callback.tex +26 -16
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__comment.tex +40 -26
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__info.tex +170 -134
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structtheora__state.tex +27 -23
- data/vendor/local/share/doc/libtheora-1.1.1/latex/structyuv__buffer.tex +75 -51
- data/vendor/local/share/doc/libtheora-1.1.1/latex/theora_8h.tex +156 -154
- data/vendor/local/share/doc/libtheora-1.1.1/latex/theoradec_8h.tex +177 -120
- data/vendor/local/share/doc/libtheora-1.1.1/latex/theoraenc_8h.tex +382 -213
- metadata +42 -8
@@ -1,194 +1,251 @@
|
|
1
|
-
\section{theoradec
|
2
|
-
\label{theoradec_8h}\index{theoradec
|
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
|
6
|
-
|
7
|
-
|
8
|
-
{\ttfamily \#include
|
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
|
13
|
-
\begin{DoxyCompactList}\small\item\em The striped decode callback data to pass to \doxyref{
|
14
|
-
\subsection*{
|
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
|
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
|
20
|
-
{\em \label{
|
21
|
-
\
|
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
|
25
|
-
\begin{DoxyCompactList}\small\item\em Gets the maximum post-\/processing level. \
|
26
|
-
\#define {\bf
|
27
|
-
\begin{DoxyCompactList}\small\item\em Sets the post-\/processing level. \
|
28
|
-
\#define {\bf
|
29
|
-
\begin{DoxyCompactList}\small\item\em Sets the granule position. \
|
30
|
-
\#define {\bf
|
31
|
-
\begin{DoxyCompactList}\small\item\em Sets the striped decode callback function. \
|
32
|
-
\#define {\bf
|
33
|
-
\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the macroblock display mode. \
|
34
|
-
\#define {\bf
|
35
|
-
\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the motion vector display mode. \
|
36
|
-
\#define {\bf
|
37
|
-
\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the adaptive quantization display mode. \
|
38
|
-
\#define {\bf
|
39
|
-
\begin{DoxyCompactList}\small\item\em Enables telemetry and sets the bitstream breakdown visualization mode. \
|
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
|
45
|
-
\begin{DoxyCompactList}\small\item\em A callback function for striped decode. \
|
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
|
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
|
53
|
-
\begin{DoxyCompactList}\small\item\em The decoder context. \
|
54
|
-
typedef struct {\bf th
|
55
|
-
\begin{DoxyCompactList}\small\item\em Setup information. \
|
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 \
|
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
|
65
|
-
\item Allocate a \doxyref{th
|
66
|
-
\item Call \doxyref{th
|
67
|
-
\item Perform any additional decoder configuration with \doxyref{th
|
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
|
71
|
-
\item Retrieve the uncompressed video data via \doxyref{th
|
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
|
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
|
77
|
-
\begin{DoxyCompactList}\small\item\em Decodes the header packets of a Theora stream. \
|
78
|
-
{\bf th
|
79
|
-
\begin{DoxyCompactList}\small\item\em Allocates a decoder instance. \
|
80
|
-
void {\bf th
|
81
|
-
\begin{DoxyCompactList}\small\item\em Releases all storage used for the decoder setup information. \
|
82
|
-
int {\bf th
|
83
|
-
\begin{DoxyCompactList}\small\item\em Decoder control function. \
|
84
|
-
int {\bf th
|
85
|
-
\begin{DoxyCompactList}\small\item\em Submits a packet containing encoded video data to the decoder. \
|
86
|
-
int {\bf th
|
87
|
-
\begin{DoxyCompactList}\small\item\em Outputs the next available frame of decoded Y'
|
88
|
-
void {\bf th
|
89
|
-
\begin{DoxyCompactList}\small\item\em Frees an allocated decoder instance. \
|
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
|
93
|
+
The {\ttfamily libtheoradec} C decoding A\-P\-I.
|
95
94
|
|
96
|
-
\subsection{
|
97
|
-
\index{theoradec
|
98
|
-
\index{
|
99
|
-
\subsubsection[{
|
100
|
-
\index{theoradec
|
101
|
-
\index{
|
102
|
-
\subsubsection[{
|
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.
|
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
|
-
|
109
|
-
\
|
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
|
-
|
113
|
-
\
|
114
|
-
|
115
|
-
\
|
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.
|
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
|
-
|
122
|
-
\
|
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
|
-
|
126
|
-
\
|
127
|
-
|
128
|
-
\
|
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.
|
148
|
+
Sets the post-\/processing level.
|
132
149
|
|
133
|
-
|
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
|
-
|
137
|
-
\
|
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
|
-
|
141
|
-
\
|
142
|
-
|
143
|
-
\
|
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.
|
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
|
-
|
150
|
-
\
|
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
|
-
|
154
|
-
\
|
155
|
-
|
156
|
-
\
|
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
|
-
|
165
|
-
\index{
|
166
|
-
\subsubsection[{
|
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.
|
170
|
-
|
171
|
-
\
|
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
|
178
|
-
\index{th
|
179
|
-
\subsubsection[{th
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
2
|
-
\label{theoraenc_8h}\index{theoraenc
|
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
|
6
|
-
|
7
|
-
|
8
|
-
{\ttfamily \#include
|
9
|
-
\
|
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
|
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
|
15
|
-
{\em \label{
|
16
|
-
\
|
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
|
20
|
-
\begin{DoxyCompactList}\small\item\em Sets the Huffman tables to use. \
|
21
|
-
\#define {\bf
|
22
|
-
\begin{DoxyCompactList}\small\item\em Sets the quantization parameters to use. \
|
23
|
-
\#define {\bf
|
24
|
-
\begin{DoxyCompactList}\small\item\em Sets the maximum distance between key frames. \
|
25
|
-
\#define {\bf
|
26
|
-
\begin{DoxyCompactList}\small\item\em Disables any encoder features that would prevent lossless transcoding back to
|
27
|
-
\#define {\bf
|
28
|
-
\begin{DoxyCompactList}\small\item\em Gets the maximum speed level. \
|
29
|
-
\#define {\bf
|
30
|
-
\begin{DoxyCompactList}\small\item\em Sets the speed level. \
|
31
|
-
\#define {\bf
|
32
|
-
\begin{DoxyCompactList}\small\item\em Gets the current speed level. \
|
33
|
-
\#define {\bf
|
34
|
-
\begin{DoxyCompactList}\small\item\em Sets the number of duplicates of the next frame to produce. \
|
35
|
-
\#define {\bf
|
36
|
-
\begin{DoxyCompactList}\small\item\em Modifies the default bitrate management behavior. \
|
37
|
-
\#define {\bf
|
38
|
-
\begin{DoxyCompactList}\small\item\em Sets the size of the bitrate management bit reservoir as a function of number of frames. \
|
39
|
-
\#define {\bf
|
40
|
-
\begin{DoxyCompactList}\small\item\em Enable pass 1 of two-\/pass encoding mode and retrieve the first pass metrics. \
|
41
|
-
\#define {\bf
|
42
|
-
\begin{DoxyCompactList}\small\item\em Submits two-\/pass encoding metric data collected the first encoding pass to the second pass. \
|
43
|
-
\#define {\bf
|
44
|
-
\begin{DoxyCompactList}\small\item\em Sets the current encoding quality. \
|
45
|
-
\#define {\bf
|
46
|
-
\begin{DoxyCompactList}\small\item\em Sets the current encoding bitrate. \
|
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
|
49
|
-
{\em \label{
|
50
|
-
\
|
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
|
54
|
-
\begin{DoxyCompactList}\small\item\em Drop frames to keep within bitrate buffer constraints. \
|
55
|
-
\#define {\bf
|
56
|
-
\begin{DoxyCompactList}\small\item\em Ignore bitrate buffer overflows. \
|
57
|
-
\#define {\bf
|
58
|
-
\begin{DoxyCompactList}\small\item\em Ignore bitrate buffer underflows. \
|
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
|
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
|
68
|
-
\begin{DoxyCompactList}\small\item\em The encoder context. \
|
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 \
|
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
|
78
|
-
\item Allocate a \doxyref{th
|
79
|
-
\item Perform any additional encoder configuration required with \doxyref{th
|
80
|
-
\item Repeatedly call \doxyref{th
|
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
|
84
|
-
\item Repeatedly call \doxyref{th
|
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
|
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
|
90
|
-
\begin{DoxyCompactList}\small\item\em Allocates an encoder instance. \
|
91
|
-
int {\bf th
|
92
|
-
\begin{DoxyCompactList}\small\item\em Encoder control function. \
|
93
|
-
int {\bf th
|
94
|
-
\begin{DoxyCompactList}\small\item\em Outputs the next header packet. \
|
95
|
-
int {\bf th
|
96
|
-
\begin{DoxyCompactList}\small\item\em Submits an uncompressed frame to the encoder. \
|
97
|
-
int {\bf th
|
98
|
-
\begin{DoxyCompactList}\small\item\em Retrieves encoded video data packets. \
|
99
|
-
void {\bf th
|
100
|
-
\begin{DoxyCompactList}\small\item\em Frees an allocated encoder instance. \
|
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
|
106
|
-
\begin{DoxyCompactList}\small\item\em The quantization parameters used by
|
107
|
-
const {\bf th
|
108
|
-
\begin{DoxyCompactList}\small\item\em The Huffman tables used by
|
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
|
110
|
+
The {\ttfamily libtheoraenc} C encoding A\-P\-I.
|
113
111
|
|
114
|
-
\subsection{
|
115
|
-
\index{theoraenc
|
116
|
-
\index{
|
117
|
-
\subsubsection[{
|
118
|
-
\index{theoraenc
|
119
|
-
\index{
|
120
|
-
\subsubsection[{
|
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.
|
121
|
+
Submits two-\/pass encoding metric data collected the first encoding pass to the second pass.
|
124
122
|
|
125
|
-
|
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
|
-
|
139
|
-
|
140
|
-
|
141
|
-
\
|
142
|
-
\
|
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
|
-
|
146
|
-
\
|
147
|
-
|
148
|
-
\
|
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.
|
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
|
-
|
155
|
-
\
|
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
|
-
|
159
|
-
\
|
160
|
-
|
161
|
-
\
|
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
|
-
|
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
|
-
\
|
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
|
-
|
172
|
-
\
|
173
|
-
|
174
|
-
\
|
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
|
-
|
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
|
-
\
|
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
|
-
|
185
|
-
\
|
186
|
-
|
187
|
-
\
|
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.
|
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
|
-
|
194
|
-
\
|
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
|
-
|
198
|
-
\
|
199
|
-
|
200
|
-
\
|
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
|
-
|
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
|
-
\
|
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
|
-
|
211
|
-
\
|
212
|
-
|
213
|
-
\
|
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
|
-
|
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
|
-
\
|
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
|
-
|
224
|
-
\
|
225
|
-
|
226
|
-
\
|
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.
|
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
|
-
|
233
|
-
\
|
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
|
-
|
237
|
-
\
|
238
|
-
|
239
|
-
\
|
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
|
-
|
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
|
-
\
|
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
|
-
|
250
|
-
\
|
251
|
-
|
252
|
-
\
|
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.
|
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
|
-
|
259
|
-
\
|
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
|
-
|
263
|
-
\
|
264
|
-
|
265
|
-
\
|
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
|
-
|
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
|
-
\
|
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{
|
275
|
-
\item \doxyref{
|
276
|
-
\item \doxyref{
|
277
|
-
\end{DoxyItemize}
|
402
|
+
\item \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-D\-R\-O\-P\-\_\-\-F\-R\-A\-M\-E\-S}{p.}{theoraenc_8h_a3e7fab53b902b54135522ba286f45e33}\-: Enable frame dropping.
|
403
|
+
\item \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-O\-V\-E\-R\-F\-L\-O\-W}{p.}{theoraenc_8h_a32f9983b344a431334493cefb0b9337c}\-: Don't bank excess bits for later use.
|
404
|
+
\item \doxyref{T\-H\-\_\-\-R\-A\-T\-E\-C\-T\-L\-\_\-\-C\-A\-P\-\_\-\-U\-N\-D\-E\-R\-F\-L\-O\-W}{p.}{theoraenc_8h_ad0d62d9dce542caf5296b03b97e020a6}\-: Don't try to make up shortfalls later.
|
405
|
+
\end{DoxyItemize}\\
|
406
|
+
\hline
|
407
|
+
\end{DoxyParams}
|
278
408
|
|
279
409
|
\begin{DoxyRetVals}{Return values}
|
280
|
-
|
281
|
-
\
|
282
|
-
|
283
|
-
\
|
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.
|
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
|
-
|
290
|
-
\
|
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
|
-
|
294
|
-
\
|
295
|
-
|
296
|
-
\
|
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
|
-
|
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
|
-
\
|
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
|
-
|
307
|
-
\
|
308
|
-
|
309
|
-
\
|
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
|
-
|
313
|
-
\index{
|
314
|
-
\subsubsection[{
|
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.
|
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
|
-
|
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
|
326
|
-
\index{th
|
327
|
-
\subsubsection[{th
|
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
|
334
|
-
\index{
|
335
|
-
\subsubsection[{
|
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.
|