From e38202b747480845aae53699aceb59a1c906b6aa Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 11 Aug 2004 06:39:44 +0000 Subject: [PATCH] First pass of full libvorbisenc doc modernization complete. Only proofing remains. svn path=/trunk/vorbis/; revision=7529 --- doc/vorbisenc/vorbis_encode_init.html | 16 ++-- doc/vorbisenc/vorbis_encode_init_vbr.html | 15 ++-- doc/vorbisenc/vorbis_encode_setup_init.html | 88 +++++++++++++++++++++ doc/vorbisenc/vorbis_encode_setup_managed.html | 102 +++++++++++++++++++++++++ doc/vorbisenc/vorbis_encode_setup_vbr.html | 90 ++++++++++++++++++++++ 5 files changed, 297 insertions(+), 14 deletions(-) create mode 100644 doc/vorbisenc/vorbis_encode_setup_init.html create mode 100644 doc/vorbisenc/vorbis_encode_setup_managed.html create mode 100644 doc/vorbisenc/vorbis_encode_setup_vbr.html diff --git a/doc/vorbisenc/vorbis_encode_init.html b/doc/vorbisenc/vorbis_encode_init.html index 159620b..5c06d67 100644 --- a/doc/vorbisenc/vorbis_encode_init.html +++ b/doc/vorbisenc/vorbis_encode_init.html @@ -9,7 +9,7 @@ - +

libvorbisenc documentation

libvorbisenc version 1.1.2.2 - 20001104

libvorbisenc release 1.1 - 20040709

@@ -17,7 +17,7 @@

declared in "vorbis/libvorbisenc.h";

-

This is the primary function within libvorbisenc. This is used to properly set up an encoding environment using libvorbisenc. +

This is the primary function within libvorbisenc for setting up managed bitrate modes.

Before this function is called, the vorbis_info struct should be initialized by using vorbis_info_init() from the libvorbis API. After encoding, vorbis_info_clear should be called.

The max_bitrate, nominal_bitrate, and min_bitrate settings are used to set constraints for the encoded file. This function uses these settings to select the appropriate encoding mode and set it up.

@@ -48,11 +48,11 @@ extern int vorbis_encode_init(vorbis_info *vi,

rate
The sampling rate of the source audio.
max_bitrate
-
Desired maximum bitrate (limit).
+
Desired maximum bitrate (limit). -1 indicates unset.
nominal_bitrate
-
Desired average, or central, bitrate.
+
Desired average, or central, bitrate. -1 indicates unset.
min_bitrate
-
Desired minimum bitrate.
+
Desired minimum bitrate. -1 indicates unset.
@@ -64,6 +64,8 @@ extern int vorbis_encode_init(vorbis_info *vi,
  • less than zero for failure:
  • @@ -72,11 +74,11 @@ extern int vorbis_encode_init(vorbis_info *vi,


    - + - +

    copyright © 2000 xiph.org

    copyright © 2004 xiph.org

    Ogg Vorbis
    team@vorbis.org

    libvorbisenc documentation

    libvorbisenc version 1.1.2.2 - 20001106

    libvorbisenc release 1.1 - 20040709

    diff --git a/doc/vorbisenc/vorbis_encode_init_vbr.html b/doc/vorbisenc/vorbis_encode_init_vbr.html index 66073eb..7e8585a 100644 --- a/doc/vorbisenc/vorbis_encode_init_vbr.html +++ b/doc/vorbisenc/vorbis_encode_init_vbr.html @@ -9,7 +9,7 @@ - +

    libvorbisenc documentation

    libvorbisenc - 20011218

    libvorbisenc release 1.1 - 20040709

    @@ -17,9 +17,8 @@

    declared in "vorbis/libvorbisenc.h";

    -

    This is the primary function within libvorbisenc. This is used to properly set up an encoding environment using libvorbisenc. +

    This is the primary function within libvorbisenc for setting up variable bitrate ("quality" based) modes.

    Before this function is called, the vorbis_info struct should be initialized by using vorbis_info_init() from the libvorbis API. After encoding, vorbis_info_clear should be called. -

    The max_bitrate, nominal_bitrate, and min_bitrate settings are used to set constraints for the encoded file. This function uses these settings to select the appropriate encoding mode and set it up.



    @@ -30,7 +29,7 @@ extern int vorbis_encode_init_vbr(vorbis_info *vi long channels, long rate, - float base_quality /* from 0. (lo) to 1. (hi) */); + float base_quality); @@ -46,7 +45,7 @@ extern int vorbis_encode_init_vbr(vorbis_info *vi
    rate
    The sampling rate of the source audio.
    base_quality
    -
    Desired quality level from 0.0 to 1.0 (lo to hi).
    +
    Desired quality level, currently from -0.1 to 1.0 (lo to hi).
    @@ -58,6 +57,8 @@ extern int vorbis_encode_init_vbr(vorbis_info *vi
  • less than zero for failure:
  • @@ -66,11 +67,11 @@ extern int vorbis_encode_init_vbr(vorbis_info *vi


    - + - +

    copyright © 2000 xiph.org

    copyright © 2004 xiph.org

    Ogg Vorbis
    team@vorbis.org

    libvorbisenc documentation

    libvorbisenc version 1.1.2.2 - 20001106

    libvorbisenc release 1.1 - 20040709

    diff --git a/doc/vorbisenc/vorbis_encode_setup_init.html b/doc/vorbisenc/vorbis_encode_setup_init.html new file mode 100644 index 0000000..4f75a08 --- /dev/null +++ b/doc/vorbisenc/vorbis_encode_setup_init.html @@ -0,0 +1,88 @@ + + + +libvorbisenc - function - vorbis_encode_setup_init + + + + + + + + + +

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20040709

    + +

    vorbis_encode_setup_init

    + +

    declared in "vorbis/libvorbisenc.h";

    + +

    This function performs the last stage of three-step encoding setup, as described in the API overview under managed bitrate modes. + +

    Before this function is called, the vorbis_info struct should be initialized +by using vorbis_info_init() from the libvorbis API, one of vorbis_encode_setup_managed() +or vorbis_encode_setup_vbr() +called to initialize the high-level encoding setup, and vorbis_encode_ctl() called if +necessary to make encoding setup changes. vorbis_encode_setup_init() +finalizes the highlevel encoding structure into a complete encoding +setup after which the application may make no further setup changes.

    + +After encoding, vorbis_info_clear should be called. +

    +

    + + + + +
    +
    
    +extern int vorbis_encode_setup_init(vorbis_info *vi);
    +
    +
    +
    + +

    Parameters

    +
    +
    vi
    +
    File pointer to an initialized vorbis_info struct.
    +
    + + +

    Return Values

    +
    +
  • +0 for success
  • + +
  • less than zero for failure:
  • + +
    +

    + +

    +


    + + + + + + + + +

    copyright © 2004 xiph.org

    Ogg Vorbis
    team@vorbis.org

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20040709

    + + + + + diff --git a/doc/vorbisenc/vorbis_encode_setup_managed.html b/doc/vorbisenc/vorbis_encode_setup_managed.html new file mode 100644 index 0000000..3ba0c60 --- /dev/null +++ b/doc/vorbisenc/vorbis_encode_setup_managed.html @@ -0,0 +1,102 @@ + + + +libvorbisenc - function - vorbis_encode_setup_managed + + + + + + + + + +

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20040709

    + +

    vorbis_encode_setup_managed

    + +

    declared in "vorbis/libvorbisenc.h";

    + +

    This function performs step-one of a three-step bitrate-managed +encode setup. It functions similarly to the one-step setup performed +by vorbis_encode_init() but +allows an application to make further encode setup tweaks using vorbis_encode_ctl() before finally +calling vorbis_encode_setup_init() to +complete the setup process. + +

    Before this function is called, the vorbis_info struct should be initialized +by using vorbis_info_init() from the libvorbis API. After encoding, +vorbis_info_clear should be called. + +

    The max_bitrate, nominal_bitrate, and min_bitrate settings are used +to set constraints for the encoded file. This function uses these +settings to select the appropriate encoding mode and set it up. +

    +

    + + + + +
    +
    
    +extern int vorbis_encode_init(vorbis_info *vi,
    +			      long channels,
    +			      long rate,
    +			      
    +			      long max_bitrate,
    +			      long nominal_bitrate,
    +			      long min_bitrate);
    +
    +
    +
    + +

    Parameters

    +
    +
    vi
    +
    File pointer to an initialized vorbis_info struct.
    +
    channels
    +
    The number of channels to be encoded.
    +
    rate
    +
    The sampling rate of the source audio.
    +
    max_bitrate
    +
    Desired maximum bitrate (limit). -1 indicates unset.
    +
    nominal_bitrate
    +
    Desired average, or central, bitrate. -1 indicates unset.
    +
    min_bitrate
    +
    Desired minimum bitrate. -1 indicates unset.
    +
    + + +

    Return Values

    +
    +
  • +0 for success
  • + +
  • less than zero for failure:
  • + +
    +

    + +

    +


    + + + + + + + + +

    copyright © 2004 xiph.org

    Ogg Vorbis
    team@vorbis.org

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20040709

    + + + + + diff --git a/doc/vorbisenc/vorbis_encode_setup_vbr.html b/doc/vorbisenc/vorbis_encode_setup_vbr.html new file mode 100644 index 0000000..25ad019 --- /dev/null +++ b/doc/vorbisenc/vorbis_encode_setup_vbr.html @@ -0,0 +1,90 @@ + + + +libvorbisenc - function - vorbis_encode_setup_vbr + + + + + + + + + +

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20040709

    + +

    vorbis_encode_setup_vbr

    + +

    declared in "vorbis/libvorbisenc.h";

    + +

    This function performs step-one of a three-step variable bitrate +(quality-based) encode setup. It functions similarly to the one-step +setup performed by vorbis_encode_init_vbr() but +allows an application to make further encode setup tweaks using vorbis_encode_ctl() before finally +calling vorbis_encode_setup_init() to +complete the setup process. + +

    Before this function is called, the vorbis_info struct should be initialized by using vorbis_info_init() from the libvorbis API. After encoding, vorbis_info_clear should be called. +

    +

    + + + + +
    +
    
    +extern int vorbis_encode_init_vbr(vorbis_info *vi,
    +			      long channels,
    +			      long rate,
    +			      
    +			      float base_quality);
    +
    +
    +
    + +

    Parameters

    +
    +
    vi
    +
    File pointer to an initialized vorbis_info struct.
    +
    channels
    +
    The number of channels to be encoded.
    +
    rate
    +
    The sampling rate of the source audio.
    +
    base_quality
    +
    Desired quality level, currently from -0.1 to 1.0 (lo to hi).
    +
    + + +

    Return Values

    +
    +
  • +0 for success
  • + +
  • less than zero for failure:
  • + +
    +

    + +

    +


    + + + + + + + + +

    copyright © 2004 xiph.org

    Ogg Vorbis
    team@vorbis.org

    libvorbisenc documentation

    libvorbisenc release 1.1 - 20040709

    + + + + + -- 2.7.4