summaryrefslogtreecommitdiff
path: root/libavcodec/dds.c
Commit message (Collapse)AuthorAge
* dds: Add support for monochrome imagesVittorio Giovara2016-04-26
|
* dds: Drop gray-alpha swappingVittorio Giovara2016-04-26
| | | | The original sample was generated with invalid software.
* dds: Simplify postprocessing checkVittorio Giovara2016-04-06
|
* dds: Add support for alpha-only filesVittorio Giovara2016-04-06
| | | | | | | Due to how pixel format conversion is done, they behave the same way as gray files. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: Add support for rgb555 filesVittorio Giovara2016-04-06
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: disable palette flag for compressed imagesAndreas Cadhalpun2015-11-14
| | | | | | | | Having both is not valid and can cause a NULL pointer dereference of frame->data[1] later. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: add missing newline to log messagesAndreas Cadhalpun2015-11-12
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dds: validate compressed source buffer sizeAndreas Cadhalpun2015-11-12
| | | | | | | A too small buffer will cause segfaults somewhere below decompress_texture_thread. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* dds: validate source buffer size before copyingAndreas Cadhalpun2015-11-12
| | | | | | If it is too small av_image_copy_plane segfaults. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: Write the palette in the native endian formMartin Storsjö2015-07-23
| | | | | | | This fixes the palette on big endian, broken (or, differing from little endian) since 57214b2f7. Signed-off-by: Martin Storsjö <martin@martin.st>
* dds: Fix the slice size computationTom Butterworth2015-07-23
| | | | | | | | A bug was introduced in 6b2b26e7af3ede0abfb46eb5725c26d1083f50bc whereby when frame height wasn't divisible by the number of threads, pixels would be omitted from the bottom rows during decode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dds: Fix 32bpp bitmaps decodingMichael Niedermayer2015-07-22
| | | | | Found-By: ami_stuff Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dds: Fix palette decodingVittorio Giovara2015-07-22
| | | | | | Red and blue channels were decoded in the wrong order. Found-By: ami_stuff
* dds: Fix enum declarationVittorio Giovara2015-07-22
| | | | Drop the global variables with anonymous enum type.
* dds: Decode using optimal slices sizesLuca Barbato2015-07-21
| | | | | | | Enjoy some cache locality and use less threads. About the same speedup provided to HAP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dds: Fix palette mode on big endianLuca Barbato2015-06-24
| | | | | Found-By: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* DirectDraw Surface image decoderVittorio Giovara2015-06-22
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>