]> git.nihav.org Git - nihav.git/log
nihav.git
4 years agomov: fix video extradata reading
Kostya Shishkov [Fri, 3 Jul 2020 15:30:27 +0000 (17:30 +0200)]
mov: fix video extradata reading

4 years agomove QMF implementation into nihav_codec_support
Kostya Shishkov [Tue, 30 Jun 2020 08:46:02 +0000 (10:46 +0200)]
move QMF implementation into nihav_codec_support

4 years agonihav_core/deflate: fix handling large buffers
Kostya Shishkov [Sat, 27 Jun 2020 12:26:31 +0000 (14:26 +0200)]
nihav_core/deflate: fix handling large buffers

4 years agomov: better support for CBR audio
Kostya Shishkov [Fri, 26 Jun 2020 13:49:20 +0000 (15:49 +0200)]
mov: better support for CBR audio

4 years agomov: use block size for audio frames if it's available
Kostya Shishkov [Thu, 25 Jun 2020 13:44:24 +0000 (15:44 +0200)]
mov: use block size for audio frames if it's available

4 years agomov: parse and add audio extradata
Kostya Shishkov [Thu, 25 Jun 2020 13:01:12 +0000 (15:01 +0200)]
mov: parse and add audio extradata

4 years agomov: do not skip deflate stream header, inflate can do it automatically now
Kostya Shishkov [Thu, 25 Jun 2020 09:37:14 +0000 (11:37 +0200)]
mov: do not skip deflate stream header, inflate can do it automatically now

4 years agonihav_core/deflate: recognize deflated stream header in uncompress()
Kostya Shishkov [Thu, 25 Jun 2020 09:35:49 +0000 (11:35 +0200)]
nihav_core/deflate: recognize deflated stream header in uncompress()

4 years agomov: support compressed header
Kostya Shishkov [Wed, 24 Jun 2020 17:01:10 +0000 (19:01 +0200)]
mov: support compressed header

4 years agocodec_support/blockdsp: add halfpel interpolation functions
Kostya Shishkov [Tue, 23 Jun 2020 08:58:35 +0000 (10:58 +0200)]
codec_support/blockdsp: add halfpel interpolation functions

4 years agoregistry: mark Sorenson Video 3 as having B-frames
Kostya Shishkov [Tue, 23 Jun 2020 08:58:10 +0000 (10:58 +0200)]
registry: mark Sorenson Video 3 as having B-frames

4 years agoregister more Sorenson Video FOURCCs
Kostya Shishkov [Sun, 21 Jun 2020 16:00:14 +0000 (18:00 +0200)]
register more Sorenson Video FOURCCs

4 years agocore/bitreader: add get_data() for accessing bitreader input directly
Kostya Shishkov [Sun, 21 Jun 2020 15:46:15 +0000 (17:46 +0200)]
core/bitreader: add get_data() for accessing bitreader input directly

4 years agomake HAMShuffler generic
Kostya Shishkov [Tue, 16 Jun 2020 15:36:15 +0000 (17:36 +0200)]
make HAMShuffler generic

4 years agomsvideo1enc: switch to MD5-based test
Kostya Shishkov [Tue, 16 Jun 2020 14:43:08 +0000 (16:43 +0200)]
msvideo1enc: switch to MD5-based test

4 years agomsadpcmenc: switch to MD5-based test
Kostya Shishkov [Tue, 16 Jun 2020 14:42:50 +0000 (16:42 +0200)]
msadpcmenc: switch to MD5-based test

4 years agocodec_support/test: add test_encoding_md5() for testing encoders by output hash
Kostya Shishkov [Tue, 16 Jun 2020 14:41:40 +0000 (16:41 +0200)]
codec_support/test: add test_encoding_md5() for testing encoders by output hash

4 years agoavi: handle audio extradata shorter than chunk size
Kostya Shishkov [Tue, 16 Jun 2020 13:52:06 +0000 (15:52 +0200)]
avi: handle audio extradata shorter than chunk size

4 years agocommonfmt: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 13:06:54 +0000 (15:06 +0200)]
commonfmt: fix or silence clippy warnings

4 years agovivo: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 12:30:02 +0000 (14:30 +0200)]
vivo: fix or silence clippy warnings

4 years agoregistry: silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 12:15:54 +0000 (14:15 +0200)]
registry: silence clippy warnings

4 years agorealmedia: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 12:14:24 +0000 (14:14 +0200)]
realmedia: fix or silence clippy warnings

4 years agorad: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 11:00:32 +0000 (13:00 +0200)]
rad: fix or silence clippy warnings

4 years agoms: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 10:49:20 +0000 (12:49 +0200)]
ms: fix or silence clippy warnings

4 years agoindeo: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 10:40:52 +0000 (12:40 +0200)]
indeo: fix or silence clippy warnings

4 years agogame: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 10:12:22 +0000 (12:12 +0200)]
game: fix or silence clippy warnings

4 years agoduck: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 10:11:32 +0000 (12:11 +0200)]
duck: fix or silence clippy warnings

4 years agocodec_support: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 10:10:57 +0000 (12:10 +0200)]
codec_support: fix or silence clippy warnings

4 years agocore: fix or silence clippy warnings
Kostya Shishkov [Tue, 16 Jun 2020 10:08:29 +0000 (12:08 +0200)]
core: fix or silence clippy warnings

4 years agocinepakenc: switch default quantisation mode to median cut
Kostya Shishkov [Mon, 15 Jun 2020 17:06:27 +0000 (19:06 +0200)]
cinepakenc: switch default quantisation mode to median cut

4 years agocinepakenc: take into account the number of quantised entries
Kostya Shishkov [Mon, 15 Jun 2020 17:03:16 +0000 (19:03 +0200)]
cinepakenc: take into account the number of quantised entries

4 years agocodec_support/vq: make ELBG report the number of meaningful codewords
Kostya Shishkov [Mon, 15 Jun 2020 16:56:59 +0000 (18:56 +0200)]
codec_support/vq: make ELBG report the number of meaningful codewords

4 years agocodec_support/vq: use 1% improvement as a threshold in ELBG loop
Kostya Shishkov [Mon, 15 Jun 2020 16:47:32 +0000 (18:47 +0200)]
codec_support/vq: use 1% improvement as a threshold in ELBG loop

4 years agocodec_support/vq: calculate full cluster distortion instead of an average
Kostya Shishkov [Mon, 15 Jun 2020 16:46:08 +0000 (18:46 +0200)]
codec_support/vq: calculate full cluster distortion instead of an average

4 years agocodec_support/vq: do not move empty group centroid
Kostya Shishkov [Mon, 15 Jun 2020 16:45:11 +0000 (18:45 +0200)]
codec_support/vq: do not move empty group centroid

4 years agoavimux: pad odd frame chunks
Kostya Shishkov [Mon, 15 Jun 2020 12:40:13 +0000 (14:40 +0200)]
avimux: pad odd frame chunks

4 years agomov: do not generate palette for color table ID -1
Kostya Shishkov [Mon, 15 Jun 2020 12:39:32 +0000 (14:39 +0200)]
mov: do not generate palette for color table ID -1

4 years agoavi: fix index parsing
Kostya Shishkov [Mon, 15 Jun 2020 12:38:47 +0000 (14:38 +0200)]
avi: fix index parsing

4 years agocinepakenc: add missing field in NAVideoInfo used in test
Kostya Shishkov [Mon, 15 Jun 2020 12:38:24 +0000 (14:38 +0200)]
cinepakenc: add missing field in NAVideoInfo used in test

4 years agocinepakenc: fix V1-only intra mode
Kostya Shishkov [Mon, 15 Jun 2020 12:37:15 +0000 (14:37 +0200)]
cinepakenc: fix V1-only intra mode

4 years agocinepak: fix inter-frames decoding
Kostya Shishkov [Mon, 15 Jun 2020 12:34:33 +0000 (14:34 +0200)]
cinepak: fix inter-frames decoding

4 years agoadd A-law and mu-law decoders
Kostya Shishkov [Sun, 14 Jun 2020 16:35:09 +0000 (18:35 +0200)]
add A-law and mu-law decoders

4 years agomov: fix bitdepth handling
Kostya Shishkov [Sun, 14 Jun 2020 15:44:00 +0000 (17:44 +0200)]
mov: fix bitdepth handling

4 years agoregistry: add common QuickTime codecs
Kostya Shishkov [Sat, 13 Jun 2020 12:34:41 +0000 (14:34 +0200)]
registry: add common QuickTime codecs

4 years agomov: support default palette and grayscale mode
Kostya Shishkov [Sat, 13 Jun 2020 12:33:55 +0000 (14:33 +0200)]
mov: support default palette and grayscale mode

4 years agocore: add iterator for the lists of registered demuxers and muxers
Kostya Shishkov [Fri, 12 Jun 2020 14:14:15 +0000 (16:14 +0200)]
core: add iterator for the lists of registered demuxers and muxers

4 years agoregistry: add entry for MS RLE
Kostya Shishkov [Fri, 12 Jun 2020 13:55:06 +0000 (15:55 +0200)]
registry: add entry for MS RLE

4 years agorv60: switch to MD5-based test
Kostya Shishkov [Thu, 11 Jun 2020 17:16:52 +0000 (19:16 +0200)]
rv60: switch to MD5-based test

4 years agorv60: fix neighbourhood check
Kostya Shishkov [Thu, 11 Jun 2020 17:02:31 +0000 (19:02 +0200)]
rv60: fix neighbourhood check

4 years agormdemux: support index version 2
Kostya Shishkov [Thu, 11 Jun 2020 10:54:34 +0000 (12:54 +0200)]
rmdemux: support index version 2

4 years agorv6: add frame skipping option
Kostya Shishkov [Thu, 11 Jun 2020 08:11:40 +0000 (10:11 +0200)]
rv6: add frame skipping option

4 years agoadd frame skip option for decoders
Kostya Shishkov [Thu, 11 Jun 2020 08:11:02 +0000 (10:11 +0200)]
add frame skip option for decoders

4 years agoMicrosoft RLE decoder
Kostya Shishkov [Sun, 7 Jun 2020 12:49:13 +0000 (14:49 +0200)]
Microsoft RLE decoder

4 years agoadd declared bitdepth to NAVideoInfo
Kostya Shishkov [Sun, 7 Jun 2020 12:48:03 +0000 (14:48 +0200)]
add declared bitdepth to NAVideoInfo

4 years agomsadpcm: fix test after sample order change
Kostya Shishkov [Sat, 6 Jun 2020 16:43:55 +0000 (18:43 +0200)]
msadpcm: fix test after sample order change

4 years agoPCM encoder
Kostya Shishkov [Sat, 6 Jun 2020 10:46:41 +0000 (12:46 +0200)]
PCM encoder

4 years agoremove trailing whitespaces
Kostya Shishkov [Sat, 6 Jun 2020 10:41:16 +0000 (12:41 +0200)]
remove trailing whitespaces

4 years agocore/frame: add helper functions for dealing with reference-counted buffer
Kostya Shishkov [Sat, 6 Jun 2020 10:39:46 +0000 (12:39 +0200)]
core/frame: add helper functions for dealing with reference-counted buffer

4 years agomsvideo1enc: add keyframe interval option
Kostya Shishkov [Sat, 6 Jun 2020 07:54:30 +0000 (09:54 +0200)]
msvideo1enc: add keyframe interval option

4 years agocinepakenc: replace missed instance of key_int with the constant
Kostya Shishkov [Sat, 6 Jun 2020 07:42:41 +0000 (09:42 +0200)]
cinepakenc: replace missed instance of key_int with the constant

4 years agoadd nihav-encoder to ignores
Kostya Shishkov [Sat, 6 Jun 2020 07:41:58 +0000 (09:41 +0200)]
add nihav-encoder to ignores

4 years agocinepakenc: remove debug print
Kostya Shishkov [Sat, 6 Jun 2020 07:41:38 +0000 (09:41 +0200)]
cinepakenc: remove debug print

4 years agofactor out keyframe interval option
Kostya Shishkov [Sat, 6 Jun 2020 07:40:26 +0000 (09:40 +0200)]
factor out keyframe interval option

4 years agocore: make StreamManager accept NAStreamRef too
Kostya Shishkov [Fri, 5 Jun 2020 16:46:40 +0000 (18:46 +0200)]
core: make StreamManager accept NAStreamRef too

4 years agoset stream number in encoders too
Kostya Shishkov [Fri, 5 Jun 2020 16:42:02 +0000 (18:42 +0200)]
set stream number in encoders too

4 years agocinepakenc: introduce several encoding options
Kostya Shishkov [Fri, 5 Jun 2020 14:00:38 +0000 (16:00 +0200)]
cinepakenc: introduce several encoding options

4 years agocopy encoding parameters from the reference when negotiating the format
Kostya Shishkov [Fri, 5 Jun 2020 13:59:28 +0000 (15:59 +0200)]
copy encoding parameters from the reference when negotiating the format

4 years agocore: implement NAOptionHandler for Muxer
Kostya Shishkov [Fri, 5 Jun 2020 13:57:56 +0000 (15:57 +0200)]
core: implement NAOptionHandler for Muxer

4 years agoregistry: add detect_format_by_name()
Kostya Shishkov [Thu, 4 Jun 2020 16:29:09 +0000 (18:29 +0200)]
registry: add detect_format_by_name()

4 years agocore: redesign options module
Kostya Shishkov [Thu, 4 Jun 2020 09:51:27 +0000 (11:51 +0200)]
core: redesign options module

4 years agoallstuff: add encoders and muxers
Kostya Shishkov [Thu, 4 Jun 2020 09:50:38 +0000 (11:50 +0200)]
allstuff: add encoders and muxers

4 years agoexperimental Cinepak encoder
Kostya Shishkov [Wed, 3 Jun 2020 09:45:07 +0000 (11:45 +0200)]
experimental Cinepak encoder

4 years agocore/codecs: implement AllocatorError -> EncoderError conversion
Kostya Shishkov [Wed, 3 Jun 2020 09:44:18 +0000 (11:44 +0200)]
core/codecs: implement AllocatorError -> EncoderError conversion

4 years agocodec_support/test: document enc_video module
Kostya Shishkov [Mon, 1 Jun 2020 13:02:07 +0000 (15:02 +0200)]
codec_support/test: document enc_video module

4 years agocommonfmt: make AVI and WAV muxers use proper remuxing test
Kostya Shishkov [Mon, 1 Jun 2020 12:33:41 +0000 (14:33 +0200)]
commonfmt: make AVI and WAV muxers use proper remuxing test

4 years agocodec_support/test: add remuxing tests
Kostya Shishkov [Mon, 1 Jun 2020 12:32:51 +0000 (14:32 +0200)]
codec_support/test: add remuxing tests

4 years agointroduce option handling for decoders
Kostya Shishkov [Mon, 1 Jun 2020 09:52:15 +0000 (11:52 +0200)]
introduce option handling for decoders

4 years agointroduce option handling for encoders
Kostya Shishkov [Sun, 31 May 2020 16:19:52 +0000 (18:19 +0200)]
introduce option handling for encoders

4 years agointroduce option handling for demuxers
Kostya Shishkov [Sun, 31 May 2020 16:15:50 +0000 (18:15 +0200)]
introduce option handling for demuxers

4 years agomake muxers handle options
Kostya Shishkov [Sun, 31 May 2020 13:18:42 +0000 (15:18 +0200)]
make muxers handle options

4 years agocore: split options into separate module
Kostya Shishkov [Sun, 31 May 2020 13:14:16 +0000 (15:14 +0200)]
core: split options into separate module

4 years agoMS Video 1 16-bit encoder and MS ADPCM encoder
Kostya Shishkov [Sat, 30 May 2020 14:17:58 +0000 (16:17 +0200)]
MS Video 1 16-bit encoder and MS ADPCM encoder

4 years agointroduce interface and support code for encoders
Kostya Shishkov [Sat, 30 May 2020 14:16:14 +0000 (16:16 +0200)]
introduce interface and support code for encoders

4 years agocore: preparation work for introducing options
Kostya Shishkov [Sat, 30 May 2020 10:08:49 +0000 (12:08 +0200)]
core: preparation work for introducing options

4 years agocodec_support: add module for generic vector quantisation
Kostya Shishkov [Sat, 30 May 2020 10:07:17 +0000 (12:07 +0200)]
codec_support: add module for generic vector quantisation

4 years agomake muxers report their capabilities
Kostya Shishkov [Sat, 30 May 2020 09:51:38 +0000 (11:51 +0200)]
make muxers report their capabilities

4 years agocore/scale: make sure that yuv2rgb kernel outputs to planar RGB
Kostya Shishkov [Fri, 29 May 2020 16:50:25 +0000 (18:50 +0200)]
core/scale: make sure that yuv2rgb kernel outputs to planar RGB

4 years agocore/io: introduce GrowableMemoryWriter
Kostya Shishkov [Fri, 29 May 2020 16:49:26 +0000 (18:49 +0200)]
core/io: introduce GrowableMemoryWriter

4 years agomsvideo1: remove debug leftover
Kostya Shishkov [Thu, 28 May 2020 12:04:57 +0000 (14:04 +0200)]
msvideo1: remove debug leftover

4 years agocore/scale: support grayscale format
Kostya Shishkov [Wed, 27 May 2020 16:22:56 +0000 (18:22 +0200)]
core/scale: support grayscale format

4 years agocore/soundcvt: fix conversion of packed data
Kostya Shishkov [Wed, 27 May 2020 15:24:25 +0000 (17:24 +0200)]
core/soundcvt: fix conversion of packed data

4 years agocore/frame: add a function for assigning packets to other streams
Kostya Shishkov [Wed, 27 May 2020 15:23:08 +0000 (17:23 +0200)]
core/frame: add a function for assigning packets to other streams

4 years agoWAV muxer
Kostya Shishkov [Wed, 27 May 2020 12:02:20 +0000 (14:02 +0200)]
WAV muxer

4 years agocodec_support: factor out PNM writing into separate module
Kostya Shishkov [Tue, 26 May 2020 14:21:05 +0000 (16:21 +0200)]
codec_support: factor out PNM writing into separate module

4 years agoadd WAV demuxer
Kostya Shishkov [Mon, 25 May 2020 14:03:18 +0000 (16:03 +0200)]
add WAV demuxer

4 years agocore/byteio: add read_tag/peek_tag for reading four-byte tags
Kostya Shishkov [Mon, 25 May 2020 13:49:55 +0000 (15:49 +0200)]
core/byteio: add read_tag/peek_tag for reading four-byte tags

4 years agoavimux: remove obsoleted workaround
Kostya Shishkov [Sun, 24 May 2020 13:26:11 +0000 (15:26 +0200)]
avimux: remove obsoleted workaround

4 years agoregistry: twocc 0x0000 is an unknown codec, mark it as such
Kostya Shishkov [Sun, 24 May 2020 13:20:37 +0000 (15:20 +0200)]
registry: twocc 0x0000 is an unknown codec, mark it as such

4 years agoadd a crate for common MS formats
Kostya Shishkov [Sun, 24 May 2020 13:19:43 +0000 (15:19 +0200)]
add a crate for common MS formats

4 years agoavi: do not put extradata size into extradata for audio streams
Kostya Shishkov [Sun, 24 May 2020 13:18:40 +0000 (15:18 +0200)]
avi: do not put extradata size into extradata for audio streams