[FFmpeg-devel] [PATCH] qcelp: silence handling

Kenan Gillet kenan.gillet
Fri Dec 19 22:11:08 CET 2008


hi,

On Thu, Dec 18, 2008 at 12:36 AM, Diego Biurrun <diego at biurrun.de> wrote:
> On Wed, Dec 17, 2008 at 12:22:41PM -0800, Kenan Gillet wrote:
>>
>> here is a set of patches that implements SILENCE
>> bitrate for qcelp.
>>
>> --- libavcodec/qcelpdec.c     (revision 16173)
>> +++ libavcodec/qcelpdec.c     (working copy)
>> @@ -536,7 +536,12 @@
>> +            if (q->erasure_count < 3)
>> +                max_pitch_gain = 0.9 - 0.3 * (q->erasure_count - 1);
>> +             else
>
> weird indentation
>
>> --- ../../qcelp/trunk/libavcodec/qcelpdec.c   2008-12-17 09:24:55.000000000 -0800
>> +++ libavcodec/qcelpdec.c     2008-12-17 09:53:51.000000000 -0800
>> @@ -544,10 +544,10 @@ static void apply_pitch_filters(QCELPCon
>>
>> +                if (q->erasure_count < 3)
>> +                    max_pitch_gain = 0.9 - 0.3 * (q->erasure_count - 1);
>> +                 else
>
> ditto

thanks, new patch attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qcelp_1_cosmetics_pre_silence_handling.patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081219/6176a883/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qcelp_2_silence_handling.patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081219/6176a883/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qcelp_3_cosmetics_post_silence_handling.patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081219/6176a883/attachment-0002.txt>



More information about the ffmpeg-devel mailing list