Linfeng Zhang
2017-Apr-19 16:49 UTC
[opus] [PATCH] cosmetics,silk: correct input/output arg comments
Hi, Attached is a patch for cosmetics purpose. Please review. Thanks, Linfeng Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20170419/34354707/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-cosmetics-silk-correct-input-output-arg-comments.patch Type: text/x-patch Size: 9337 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/opus/attachments/20170419/34354707/attachment.bin>
Ulrich Windl
2017-Apr-20 06:54 UTC
[opus] Antw: [PATCH] cosmetics, silk: correct input/output arg comments
Hi! While talking on cosmetics: I noticed that a few lines significantly exceed the 80-column limit without obvious need. See attachment for an example. Regards, Ulrich>>> Linfeng Zhang <linfengz at google.com> schrieb am 19.04.2017 um 18:49 in Nachricht<CAKoqLCA-tXd7XSa0a1T9xE4SF9GPMp+ySxsULgbB_F_=3dK3iw at mail.gmail.com>:> Hi, > > Attached is a patch for cosmetics purpose. Please review. > > Thanks, > Linfeng Zhang-------------- next part -------------- A non-text attachment was scrubbed... Name: longlines.jpg Type: image/jpeg Size: 123348 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/opus/attachments/20170420/22954ee0/attachment-0001.jpg>
Linfeng Zhang
2017-Apr-25 00:11 UTC
[opus] [PATCH] cosmetics, silk: correct input/output arg comments
Hi Ulrich,
Thanks for checking the patch.
The entire declarations of the functions are like this:
void silk_NSQ_del_dec_c(
const silk_encoder_state *psEncC,
/* I/O Encoder State */
silk_nsq_state *NSQ,
/* I/O NSQ state */
SideInfoIndices *psIndices,
/* I/O Quantization Indices */
const opus_int16 x16[],
/* I Input */
opus_int8 pulses[],
/* O Quantized pulse signal */
const opus_int16 PredCoef_Q12[ 2 * MAX_LPC_ORDER ],
/* I Short term prediction coefs */
const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],
/* I Long term prediction coefs */
const opus_int16 AR_Q13[ MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER
], /* I Noise shaping coefs */
const opus_int HarmShapeGain_Q14[ MAX_NB_SUBFR ],
/* I Long term shaping coefs */
const opus_int Tilt_Q14[ MAX_NB_SUBFR ],
/* I Spectral tilt */
const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ],
/* I Low frequency shaping coefs */
const opus_int32 Gains_Q16[ MAX_NB_SUBFR ],
/* I Quantization step sizes */
const opus_int pitchL[ MAX_NB_SUBFR ],
/* I Pitch lags */
const opus_int Lambda_Q10,
/* I Rate/distortion tradeoff */
const opus_int LTP_scale_Q14
/* I LTP state scaling */
)
So the comments are trying to indent to the longest argument AR_Q13[
MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER ], though still failed by 2 white spaces.
This patch only focuses on the I/O comments correction, so we didn't touch
the indention issue.
Thanks,
Linfeng
On Wed, Apr 19, 2017 at 11:54 PM, Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:
> Hi!
>
> While talking on cosmetics: I noticed that a few lines significantly
> exceed the 80-column limit without obvious need. See attachment for an
> example.
>
> Regards,
> Ulrich
>
> >>> Linfeng Zhang <linfengz at google.com> schrieb am
19.04.2017 um 18:49 in
> Nachricht
> <CAKoqLCA-tXd7XSa0a1T9xE4SF9GPMp+ySxsULgbB_F_=3dK3iw at
mail.gmail.com>:
> > Hi,
> >
> > Attached is a patch for cosmetics purpose. Please review.
> >
> > Thanks,
> > Linfeng Zhang
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.xiph.org/pipermail/opus/attachments/20170424/f4c0784a/attachment.html>
Linfeng Zhang
2017-Apr-25 00:15 UTC
[opus] [PATCH] cosmetics, silk: correct input/output arg comments
Attached is a newer patch, which includes more I/O corrections. Thanks, Linfeng On Wed, Apr 19, 2017 at 9:49 AM, Linfeng Zhang <linfengz at google.com> wrote:> Hi, > > Attached is a patch for cosmetics purpose. Please review. > > Thanks, > Linfeng Zhang >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20170424/ce2142a1/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-cosmetics-silk-correct-input-output-arg-comments.patch Type: text/x-patch Size: 14014 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/opus/attachments/20170424/ce2142a1/attachment-0001.bin>
Apparently Analagous Threads
- [PATCH 7/8] Update NSQ_LPC_BUF_LENGTH macro.
- [PATCH] fix ARM build w/--disable-intrinsics --enable-asm
- Antw: [PATCH] cosmetics, silk: correct input/output arg comments
- [PATCH 8/8] Optimize silk_NSQ_del_dec() for ARM NEON
- silk_warped_autocorrelation_FIX() NEON optimization