summaryrefslogtreecommitdiffstats
path: root/libavcodec/wmalosslessdec.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2011-12-081-2/+2
|\ | | | | | | | | | | | | * shariman/wmall: Pass pointer to integer buffer instead of integer to memcpy Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Pass pointer to integer buffer instead of integer to memcpyMashiat Sarker Shakkhar2011-12-081-2/+2
| |
* | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2011-12-081-60/+58
|\ \ | |/ | | | | | | | | | | | | | | | | * shariman/wmall: Partially fix CDLMS prediction Conflicts: libavcodec/wmalosslessdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Partially fix CDLMS predictionMashiat Sarker Shakkhar2011-12-081-60/+58
| |
* | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2011-12-071-20/+110
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * shariman/wmall: Fix lms_update() Move num_lms reading out of a loop Use correct value for range Fix some int / int16_t / int32_t confusion Implement revert_mclms() and associated functions Fix two more int16_t vs. int confusion Init s->cdlms[][].recent to order - 1 Add a size argument to dump_int_buffer() Get rid of logging that are not required anymore Fix some int vs. int16_t confusion Conflicts: libavcodec/wmalosslessdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix lms_update()Mashiat Sarker Shakkhar2011-12-021-4/+6
| |
| * Move num_lms reading out of a loopMashiat Sarker Shakkhar2011-12-021-1/+1
| |
| * Use correct value for rangeMashiat Sarker Shakkhar2011-12-021-1/+1
| | | | | | | | | | | | The current range value causes an underflow when negated and pushes anything less than zero to the minimum.
| * Fix some int / int16_t / int32_t confusionMashiat Sarker Shakkhar2011-12-021-2/+3
| | | | | | | | | | For now force everything to int16_t, except for variables used as index
| * Implement revert_mclms() and associated functionsMashiat Sarker Shakkhar2011-11-301-0/+87
| |
| * Fix two more int16_t vs. int confusionMashiat Sarker Shakkhar2011-11-301-2/+2
| | | | | | | | | | If everything works fine for 16-bit streams, the current code could be extended to do 24-bit.
| * Init s->cdlms[][].recent to order - 1Mashiat Sarker Shakkhar2011-11-301-1/+1
| | | | | | | | | | | | Not sure if this is correct. But looks like it was giving us off-by-one's when used to index buffers.
| * Add a size argument to dump_int_buffer()Mashiat Sarker Shakkhar2011-11-301-3/+3
| |
| * Get rid of logging that are not required anymoreMashiat Sarker Shakkhar2011-11-301-4/+4
| | | | | | | | (Resolves some conflicts)
| * Fix some int vs. int16_t confusionMashiat Sarker Shakkhar2011-11-301-6/+6
| | | | | | | | | | Size should be determined from bits per sample. The current code only accepts 16-bit streams.
* | wmall: fix return type of dump_int_buffer()Michael Niedermayer2011-11-301-1/+1
| | | | | | | | | | Found-by: Dominique Leuenberger Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmall: remove tabs that leaked in from a merge and seem to haveMichael Niedermayer2011-11-301-143/+143
| | | | | | | | | | | | managed to silently bypass the push checks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2011-11-221-4/+5
|\ \ | |/ | | | | | | | | | | | | | | * shariman/wmall: call revert_cdlms() Fix some loop conditions to prevent overreads Initialize pred in lms_predict() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * call revert_cdlms()Mashiat Sarker Shakkhar2011-11-221-0/+1
| |
| * Fix some loop conditions to prevent overreadsMashiat Sarker Shakkhar2011-11-221-3/+3
| |
| * Initialize pred in lms_predict()Mashiat Sarker Shakkhar2011-11-221-1/+1
| |
* | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2011-11-201-163/+220
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * shariman/wmall: (24 commits) Clean-up dump_int_buffer() to dump samples from a buffer Implement revert_cdlms() Doxy for reset_codec() Store transient state and position of transient area Implement use_high_update_speed() and use_normal_update_speed() Initialize num_logged_tiles and remove unnecessary codes Log index for each line of output Log tile size Output decoded residues Replace placeholders with actual calls to clear_codec_buffers() and reset_codec() Implement lms_update() Implement lms_predict() Implement reset_codec() Add missing syntax elements to WmallDecodeCtx Add .recent syntax element to cdlms struct Implement clear_codec_buffers() Add buffers to context necessary for reverting cdmls and mclms filter Use avpriv_copy_bits() instead of ff_copy_bits() Cosmetics ... Conflicts: libavcodec/wmalosslessdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Clean-upMashiat Sarker Shakkhar2011-11-201-5/+3
| |
| * dump_int_buffer() to dump samples from a bufferMashiat Sarker Shakkhar2011-11-201-0/+14
| |
| * Implement revert_cdlms()Mashiat Sarker Shakkhar2011-11-201-0/+33
| |
| * Doxy for reset_codec()Mashiat Sarker Shakkhar2011-11-201-0/+3
| |
| * Store transient state and position of transient areaMashiat Sarker Shakkhar2011-11-201-4/+16
| |
| * Implement use_high_update_speed() and use_normal_update_speed()Mashiat Sarker Shakkhar2011-11-201-0/+32
| |
| * Initialize num_logged_tiles and remove unnecessary codesMashiat Sarker Shakkhar2011-11-201-3/+1
| |
| * Log index for each line of outputMashiat Sarker Shakkhar2011-11-201-0/+1
| |
| * Log tile sizeMashiat Sarker Shakkhar2011-11-201-1/+1
| |
| * Output decoded residuesMashiat Sarker Shakkhar2011-11-201-0/+7
| |
| * Replace placeholders with actual calls to clear_codec_buffers() and ↵Mashiat Sarker Shakkhar2011-11-201-0/+4
| | | | | | | | reset_codec()
| * Implement lms_update()Mashiat Sarker Shakkhar2011-11-201-0/+49
| |
| * Implement lms_predict()Mashiat Sarker Shakkhar2011-11-201-0/+17
| |
| * Implement reset_codec()Mashiat Sarker Shakkhar2011-11-201-0/+11
| |
| * Add missing syntax elements to WmallDecodeCtxMashiat Sarker Shakkhar2011-11-201-1/+3
| |
| * Add .recent syntax element to cdlms structMashiat Sarker Shakkhar2011-11-201-1/+4
| |
| * Implement clear_codec_buffers()Mashiat Sarker Shakkhar2011-11-201-0/+21
| |
| * Add buffers to context necessary for reverting cdmls and mclms filterMashiat Sarker Shakkhar2011-11-201-0/+4
| |
| * Use avpriv_copy_bits() instead of ff_copy_bits()Mashiat Sarker Shakkhar2011-11-201-2/+2
| |
| * CosmeticsMashiat Sarker Shakkhar2011-11-201-5/+5
| |
| * Add missing ff_ before the AVCodec struct for wmalosslessMashiat Sarker Shakkhar2011-11-201-1/+1
| |
| * wmall: Working bitstream parserAndreas Öman2011-11-201-0/+1170
|
* Implement use_high_update_speed() and use_normal_update_speed()Mashiat Sarker Shakkhar2011-11-111-0/+32
| | | | | | (cherry picked from commit 9ebc93fa4623791eca9efeee4de65b23dc015de1) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Initialize num_logged_tiles and remove unnecessary codesMashiat Sarker Shakkhar2011-11-111-3/+1
| | | | | | (cherry picked from commit 69bca779e5d8409cde336406a26b5173002cac97) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Log index for each line of outputMashiat Sarker Shakkhar2011-11-111-0/+1
| | | | | | (cherry picked from commit 9e2ccb2de8d4dc5179cd86610b129500e6223be7) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Log tile sizeMashiat Sarker Shakkhar2011-11-111-1/+1
| | | | | | (cherry picked from commit 257e5c4829cd916938c9e1922e50668636346f71) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Output decoded residuesMashiat Sarker Shakkhar2011-11-111-0/+7
|
* Replace placeholders with actual calls to clear_codec_buffers() and ↵Mashiat Sarker Shakkhar2011-11-111-2/+2
| | | | reset_codec()
OpenPOWER on IntegriCloud