Mercurial > libavcodec.hg
comparison ra144.c @ 7159:7767dc2b0ee6 libavcodec
Doxy comment
author | vitor |
---|---|
date | Sun, 29 Jun 2008 07:58:46 +0000 |
parents | 1238746e1301 |
children | ad0d9713e953 |
comparison
equal
deleted
inserted
replaced
7158:bfbb2df9963a | 7159:7767dc2b0ee6 |
---|---|
321 } else { | 321 } else { |
322 return rescale_rms(rms(work), energy); | 322 return rescale_rms(rms(work), energy); |
323 } | 323 } |
324 } | 324 } |
325 | 325 |
326 /* Uncompress one block (20 bytes -> 160*2 bytes) */ | 326 /** Uncompress one block (20 bytes -> 160*2 bytes) */ |
327 static int ra144_decode_frame(AVCodecContext * avctx, void *vdata, | 327 static int ra144_decode_frame(AVCodecContext * avctx, void *vdata, |
328 int *data_size, const uint8_t *buf, int buf_size) | 328 int *data_size, const uint8_t *buf, int buf_size) |
329 { | 329 { |
330 static const uint8_t sizes[10] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2}; | 330 static const uint8_t sizes[10] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2}; |
331 unsigned int refl_rms[4]; // RMS of the reflection coefficients | 331 unsigned int refl_rms[4]; // RMS of the reflection coefficients |