nihav.git
3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

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

3 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

3 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

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

3 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

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

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

3 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

3 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

3 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

3 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

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

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

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

3 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

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

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

3 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

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

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

3 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

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

3 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

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

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

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

3 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

3 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

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

3 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

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

3 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()

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

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

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

3 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

3 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

3 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

3 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

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

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

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

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

3 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

3 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

3 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

3 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

3 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

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

3 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

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

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

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

3 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

3 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

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

3 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

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

3 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

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

3 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

3 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

3 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

3 years agoavi: ignore actual bimap header size in relation to stream header size
Kostya Shishkov [Sat, 23 May 2020 17:11:23 +0000 (19:11 +0200)]
avi: ignore actual bimap header size in relation to stream header size

3 years agoavi: do not ignore guessed format
Kostya Shishkov [Sat, 23 May 2020 16:44:54 +0000 (18:44 +0200)]
avi: do not ignore guessed format

3 years agoavi: fix palette order
Kostya Shishkov [Sat, 23 May 2020 16:44:26 +0000 (18:44 +0200)]
avi: fix palette order

3 years agoavi: end demuxing when index is encountered
Kostya Shishkov [Sat, 23 May 2020 15:11:50 +0000 (17:11 +0200)]
avi: end demuxing when index is encountered

3 years agoavi: provide palette as side data and handle palette changes
Kostya Shishkov [Sat, 23 May 2020 15:10:10 +0000 (17:10 +0200)]
avi: provide palette as side data and handle palette changes

3 years agoavi muxer
Kostya Shishkov [Thu, 21 May 2020 09:01:00 +0000 (11:01 +0200)]
avi muxer

3 years agoregistry: allow searching for FOURCC/TWOCC by codec name
Kostya Shishkov [Thu, 21 May 2020 09:00:47 +0000 (11:00 +0200)]
registry: allow searching for FOURCC/TWOCC by codec name

3 years agocore/demuxers: export demuxer stream manager
Kostya Shishkov [Thu, 21 May 2020 08:58:38 +0000 (10:58 +0200)]
core/demuxers: export demuxer stream manager

This may be useful for remuxing.

3 years agocore/formats: add NAPixelFormaton::get_total_depth()
Kostya Shishkov [Thu, 21 May 2020 08:57:22 +0000 (10:57 +0200)]
core/formats: add NAPixelFormaton::get_total_depth()

3 years agocore: introduce muxers module
Kostya Shishkov [Thu, 21 May 2020 08:56:32 +0000 (10:56 +0200)]
core: introduce muxers module

3 years agocinepak: add grayscale and palette output modes
Kostya Shishkov [Wed, 20 May 2020 17:15:19 +0000 (19:15 +0200)]
cinepak: add grayscale and palette output modes

3 years agomov: output track palette as side data
Kostya Shishkov [Wed, 20 May 2020 17:11:16 +0000 (19:11 +0200)]
mov: output track palette as side data

3 years agocore/frame: introduce NASideData
Kostya Shishkov [Wed, 20 May 2020 17:03:18 +0000 (19:03 +0200)]
core/frame: introduce NASideData

3 years agoavi demuxer: mark packets as keyframe if we have index
Kostya Shishkov [Mon, 18 May 2020 10:00:22 +0000 (12:00 +0200)]
avi demuxer: mark packets as keyframe if we have index

3 years agoCinepak decoder
Kostya Shishkov [Sun, 17 May 2020 11:59:43 +0000 (13:59 +0200)]
Cinepak decoder

3 years agomov: ignore some common chunks
Kostya Shishkov [Sun, 17 May 2020 11:57:51 +0000 (13:57 +0200)]
mov: ignore some common chunks

3 years agomov: read palette if present
Kostya Shishkov [Sun, 17 May 2020 11:57:26 +0000 (13:57 +0200)]
mov: read palette if present

3 years agocore/scale: add conversion into paletted format
Kostya Shishkov [Wed, 13 May 2020 12:27:39 +0000 (14:27 +0200)]
core/scale: add conversion into paletted format

3 years agosiren: correct scaling to match reference output
Kostya Shishkov [Tue, 5 May 2020 15:19:23 +0000 (17:19 +0200)]
siren: correct scaling to match reference output