On Tue, Apr 5, 2011 at 12:05 AM, Nathan Caldwell <[email protected]> wrote:
> ---
>  libavcodec/psymodel.h |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h
> index 296d1ab..91eb9ae 100644
> --- a/libavcodec/psymodel.h
> +++ b/libavcodec/psymodel.h
> @@ -26,6 +26,8 @@
>
>  /** maximum possible number of bands */
>  #define PSY_MAX_BANDS 128
> +/** maximum number of channels */
> +#define PSY_MAX_CHANS 20
>
>  /**
>  * single band psychoacoustic information
> @@ -62,6 +64,13 @@ typedef struct FFPsyContext {
>     int     *num_bands;               ///< number of scalefactor bands for 
> possible frame sizes
>     int num_lens;                     ///< number of scalefactor band sets
>
> +    float pe[PSY_MAX_CHANS];          ///< total PE for each channel in the 
> frame
> +
> +    struct {
> +        int size;                     ///< size of the bitresevoir in bits
> +        int bits;                     ///< number of bits used in the 
> bitresevoir
> +    } bitres;
> +
>     void* model_priv_data;            ///< psychoacoustic model 
> implementation private data
>  } FFPsyContext;
>
> --

OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to