nihav.git
4 years agofix re-exports of crate submodules
Kostya Shishkov [Thu, 20 Feb 2020 17:32:38 +0000 (18:32 +0100)]
fix re-exports of crate submodules

4 years agosplit nihav-registry from nihav-core
Kostya Shishkov [Thu, 20 Feb 2020 10:35:16 +0000 (11:35 +0100)]
split nihav-registry from nihav-core

4 years agosplit nihav-codec-support crate from nihav-core
Kostya Shishkov [Thu, 20 Feb 2020 10:00:24 +0000 (11:00 +0100)]
split nihav-codec-support crate from nihav-core

The former is intended just for NihAV decoders, the latter is for both
NihAV crates and for the code using NihAV.

4 years agocore/frame: remove unneeded FrameFromPacket trait
Kostya Shishkov [Thu, 20 Feb 2020 09:02:54 +0000 (10:02 +0100)]
core/frame: remove unneeded FrameFromPacket trait

4 years agocore/frame: remove options field from NAFrame until later
Kostya Shishkov [Thu, 20 Feb 2020 09:00:54 +0000 (10:00 +0100)]
core/frame: remove options field from NAFrame until later

4 years agocore/frame: make some fields public (and rename for clarity if needed)
Kostya Shishkov [Thu, 20 Feb 2020 08:58:48 +0000 (09:58 +0100)]
core/frame: make some fields public (and rename for clarity if needed)

4 years agocore/frame: document module
Kostya Shishkov [Wed, 19 Feb 2020 17:58:46 +0000 (18:58 +0100)]
core/frame: document module

4 years agocore/codecs: document blockdsp
Kostya Shishkov [Wed, 19 Feb 2020 15:27:39 +0000 (16:27 +0100)]
core/codecs: document blockdsp

4 years agocore/dsp: document module
Kostya Shishkov [Wed, 19 Feb 2020 14:20:36 +0000 (15:20 +0100)]
core/dsp: document module

4 years agocore/formats: document module
Kostya Shishkov [Wed, 19 Feb 2020 14:05:22 +0000 (15:05 +0100)]
core/formats: document module

4 years agocore: document crate a bit
Kostya Shishkov [Tue, 18 Feb 2020 17:52:13 +0000 (18:52 +0100)]
core: document crate a bit

4 years agocore/demuxers: document module
Kostya Shishkov [Tue, 18 Feb 2020 17:50:39 +0000 (18:50 +0100)]
core/demuxers: document module

4 years agocore/test: document module
Kostya Shishkov [Tue, 18 Feb 2020 15:06:36 +0000 (16:06 +0100)]
core/test: document module

4 years agocore/scale: document module
Kostya Shishkov [Tue, 18 Feb 2020 13:55:50 +0000 (14:55 +0100)]
core/scale: document module

4 years agocore/soundcvt: document module
Kostya Shishkov [Tue, 18 Feb 2020 13:40:33 +0000 (14:40 +0100)]
core/soundcvt: document module

4 years agocore/codecs: document module
Kostya Shishkov [Mon, 17 Feb 2020 17:30:08 +0000 (18:30 +0100)]
core/codecs: document module

4 years agocore: document data module
Kostya Shishkov [Mon, 17 Feb 2020 17:18:38 +0000 (18:18 +0100)]
core: document data module

4 years agoallstuff: document the module
Kostya Shishkov [Mon, 17 Feb 2020 15:31:42 +0000 (16:31 +0100)]
allstuff: document the module

4 years agocore: document detect module
Kostya Shishkov [Mon, 17 Feb 2020 15:29:32 +0000 (16:29 +0100)]
core: document detect module

4 years agocore: document reorder module
Kostya Shishkov [Mon, 17 Feb 2020 15:13:18 +0000 (16:13 +0100)]
core: document reorder module

4 years agocore: document register module
Kostya Shishkov [Mon, 17 Feb 2020 14:18:13 +0000 (15:18 +0100)]
core: document register module

4 years agocore: document refs module
Kostya Shishkov [Mon, 17 Feb 2020 14:17:57 +0000 (15:17 +0100)]
core: document refs module

4 years agomake all codec crates export just register_all functions and document them
Kostya Shishkov [Mon, 17 Feb 2020 13:01:21 +0000 (14:01 +0100)]
make all codec crates export just register_all functions and document them

4 years agoduck/vpcommon: vp_tree! does not need to be exported
Kostya Shishkov [Mon, 17 Feb 2020 12:35:45 +0000 (13:35 +0100)]
duck/vpcommon: vp_tree! does not need to be exported

4 years agoremove trailing whitespace
Kostya Shishkov [Sun, 16 Feb 2020 17:54:39 +0000 (18:54 +0100)]
remove trailing whitespace

4 years agocore/io: document codebook module
Kostya Shishkov [Sun, 16 Feb 2020 17:54:16 +0000 (18:54 +0100)]
core/io: document codebook module

4 years agocore/io: add module description
Kostya Shishkov [Sat, 15 Feb 2020 18:16:56 +0000 (19:16 +0100)]
core/io: add module description

4 years agocore/io: document intcode module
Kostya Shishkov [Sat, 15 Feb 2020 18:16:40 +0000 (19:16 +0100)]
core/io: document intcode module

4 years agocore/io: document bytestream reading/writing module
Kostya Shishkov [Sat, 15 Feb 2020 17:54:19 +0000 (18:54 +0100)]
core/io: document bytestream reading/writing module

4 years agocore/io: make bitstream reader clone()able
Kostya Shishkov [Thu, 13 Feb 2020 18:20:26 +0000 (19:20 +0100)]
core/io: make bitstream reader clone()able

4 years agocore/io: bitstream reader documentation
Kostya Shishkov [Thu, 13 Feb 2020 18:19:22 +0000 (19:19 +0100)]
core/io: bitstream reader documentation

4 years agoremove trailing whitespaces
Kostya Shishkov [Tue, 11 Feb 2020 11:53:03 +0000 (12:53 +0100)]
remove trailing whitespaces

4 years agoMake BitReader rely on passed slice size without the additional arguments.
Kostya Shishkov [Tue, 11 Feb 2020 11:31:35 +0000 (12:31 +0100)]
Make BitReader rely on passed slice size without the additional arguments.

4 years agoclearvideo: switch to MD5-based test
Kostya Shishkov [Tue, 11 Feb 2020 11:05:16 +0000 (12:05 +0100)]
clearvideo: switch to MD5-based test

4 years agocore/byteio: use slice length directly
Kostya Shishkov [Tue, 11 Feb 2020 11:02:33 +0000 (12:02 +0100)]
core/byteio: use slice length directly

4 years agovp7: switch to MD5-based testing
Kostya Shishkov [Sat, 8 Feb 2020 14:19:30 +0000 (15:19 +0100)]
vp7: switch to MD5-based testing

4 years agovp7: fix special modes motion compensation
Kostya Shishkov [Sat, 8 Feb 2020 14:14:10 +0000 (15:14 +0100)]
vp7: fix special modes motion compensation

4 years agovp7: reset scan on keyframe
Kostya Shishkov [Sat, 8 Feb 2020 10:26:08 +0000 (11:26 +0100)]
vp7: reset scan on keyframe

4 years agovp7: inter DC prediction depends on inter frame type
Kostya Shishkov [Fri, 7 Feb 2020 18:03:45 +0000 (19:03 +0100)]
vp7: inter DC prediction depends on inter frame type

4 years agovp7: fix split block chroma motion compensation
Kostya Shishkov [Thu, 6 Feb 2020 17:47:41 +0000 (18:47 +0100)]
vp7: fix split block chroma motion compensation

4 years agovp7: fix intra prediction corner cases
Kostya Shishkov [Thu, 6 Feb 2020 17:47:00 +0000 (18:47 +0100)]
vp7: fix intra prediction corner cases

4 years agovp7: skip DC transform for empty block
Kostya Shishkov [Thu, 6 Feb 2020 17:44:32 +0000 (18:44 +0100)]
vp7: skip DC transform for empty block

4 years agovp7: fix inter mode DC predictor
Kostya Shishkov [Thu, 6 Feb 2020 17:43:24 +0000 (18:43 +0100)]
vp7: fix inter mode DC predictor

4 years agovp6: switch to MD5-based tests
Kostya Shishkov [Sun, 2 Feb 2020 10:35:37 +0000 (11:35 +0100)]
vp6: switch to MD5-based tests

4 years agoduck/vp56: select proper format for VP6 alpha
Kostya Shishkov [Sun, 2 Feb 2020 10:26:50 +0000 (11:26 +0100)]
duck/vp56: select proper format for VP6 alpha

4 years agocore/register: add fourcc for VP6A
Kostya Shishkov [Sun, 2 Feb 2020 10:24:07 +0000 (11:24 +0100)]
core/register: add fourcc for VP6A

4 years agovp6: set correct interlaced state in inter frame headers
Kostya Shishkov [Sun, 2 Feb 2020 09:36:22 +0000 (10:36 +0100)]
vp6: set correct interlaced state in inter frame headers

4 years agovp6: fix motion compensation bugs
Kostya Shishkov [Sun, 2 Feb 2020 09:21:26 +0000 (10:21 +0100)]
vp6: fix motion compensation bugs

4 years agovp5: switch to MD5 hash test
Kostya Shishkov [Mon, 27 Jan 2020 17:17:03 +0000 (18:17 +0100)]
vp5: switch to MD5 hash test

4 years agovp5: fix chroma MV
Kostya Shishkov [Mon, 27 Jan 2020 17:14:08 +0000 (18:14 +0100)]
vp5: fix chroma MV

4 years agoduck/vp56: fix motion type decoding
Kostya Shishkov [Sun, 26 Jan 2020 17:35:25 +0000 (18:35 +0100)]
duck/vp56: fix motion type decoding

4 years agoduck/vp56: fix DC prediction
Kostya Shishkov [Sat, 25 Jan 2020 17:29:01 +0000 (18:29 +0100)]
duck/vp56: fix DC prediction

4 years agoduck/vpcommon: hopefully fix motion compensation with filtering
Kostya Shishkov [Sat, 25 Jan 2020 17:26:14 +0000 (18:26 +0100)]
duck/vpcommon: hopefully fix motion compensation with filtering

4 years agovp5: fix motion compensation part
Kostya Shishkov [Sat, 25 Jan 2020 17:24:37 +0000 (18:24 +0100)]
vp5: fix motion compensation part

4 years agovp3: switch VP4 test to MD5 sum
Kostya Shishkov [Wed, 22 Jan 2020 11:36:14 +0000 (12:36 +0100)]
vp3: switch VP4 test to MD5 sum

4 years agovp3: fix neighbourhood info
Kostya Shishkov [Wed, 22 Jan 2020 11:33:03 +0000 (12:33 +0100)]
vp3: fix neighbourhood info

4 years agovp3: fix fourmv address for VP4
Kostya Shishkov [Tue, 21 Jan 2020 14:42:14 +0000 (15:42 +0100)]
vp3: fix fourmv address for VP4

4 years agovp3: fix quantisation matrices for VP4
Kostya Shishkov [Tue, 21 Jan 2020 14:39:05 +0000 (15:39 +0100)]
vp3: fix quantisation matrices for VP4

4 years agoduck/vpcommon: hopefully fix vp_copy_block()
Kostya Shishkov [Tue, 21 Jan 2020 14:38:22 +0000 (15:38 +0100)]
duck/vpcommon: hopefully fix vp_copy_block()

4 years agovp3: switch VP30 test to MD5 hash
Kostya Shishkov [Mon, 13 Jan 2020 18:06:57 +0000 (19:06 +0100)]
vp3: switch VP30 test to MD5 hash

4 years agovp3: VP30 should update golden frames on low quants
Kostya Shishkov [Mon, 13 Jan 2020 18:03:43 +0000 (19:03 +0100)]
vp3: VP30 should update golden frames on low quants

4 years agovp3: remove debug leftovers
Kostya Shishkov [Mon, 30 Dec 2019 15:05:07 +0000 (16:05 +0100)]
vp3: remove debug leftovers

4 years agovp3: use MD5 hash for VP3.1 test
Kostya Shishkov [Mon, 30 Dec 2019 15:04:24 +0000 (16:04 +0100)]
vp3: use MD5 hash for VP3.1 test

4 years agovp3: fix fourmv block positions
Kostya Shishkov [Mon, 30 Dec 2019 14:56:28 +0000 (15:56 +0100)]
vp3: fix fourmv block positions

4 years agovp3: uncoded block in inter are skip blocks regardless of mode
Kostya Shishkov [Wed, 18 Dec 2019 17:53:09 +0000 (18:53 +0100)]
vp3: uncoded block in inter are skip blocks regardless of mode

4 years agovp3: fix motion compensation code
Kostya Shishkov [Wed, 18 Dec 2019 17:12:15 +0000 (18:12 +0100)]
vp3: fix motion compensation code

4 years agovp3: refactor MC for fourmv
Kostya Shishkov [Wed, 18 Dec 2019 17:03:45 +0000 (18:03 +0100)]
vp3: refactor MC for fourmv

4 years agocore/test: flip output PGMYUV if needed
Kostya Shishkov [Wed, 18 Dec 2019 16:55:42 +0000 (17:55 +0100)]
core/test: flip output PGMYUV if needed

4 years agovp3: add loop filter for chroma
Kostya Shishkov [Tue, 17 Dec 2019 17:13:33 +0000 (18:13 +0100)]
vp3: add loop filter for chroma

4 years agovp3: fix has_ac condition
Kostya Shishkov [Tue, 17 Dec 2019 13:25:23 +0000 (14:25 +0100)]
vp3: fix has_ac condition

4 years agotruemotion2x: switch to MD5-based test
Kostya Shishkov [Mon, 16 Dec 2019 17:03:50 +0000 (18:03 +0100)]
truemotion2x: switch to MD5-based test

4 years agotruemotion2: switch to MD5-based test
Kostya Shishkov [Mon, 16 Dec 2019 17:03:36 +0000 (18:03 +0100)]
truemotion2: switch to MD5-based test

4 years agotruemotionrt: switch to MD5-based test
Kostya Shishkov [Mon, 16 Dec 2019 17:03:21 +0000 (18:03 +0100)]
truemotionrt: switch to MD5-based test

4 years agoindeo3: support mid-stream frame size change
Kostya Shishkov [Sat, 14 Dec 2019 09:54:21 +0000 (10:54 +0100)]
indeo3: support mid-stream frame size change

4 years agocore/test: print generated hash in the expected format
Kostya Shishkov [Sat, 14 Dec 2019 09:44:47 +0000 (10:44 +0100)]
core/test: print generated hash in the expected format

4 years agoindeo5: switch to MD5-based testing
Kostya Shishkov [Sat, 14 Dec 2019 09:43:59 +0000 (10:43 +0100)]
indeo5: switch to MD5-based testing

4 years agoindeo/ivi: restore erroneously deleted chunk
Kostya Shishkov [Sat, 14 Dec 2019 09:30:56 +0000 (10:30 +0100)]
indeo/ivi: restore erroneously deleted chunk

4 years agoindeo4: use MD5-based testing
Kostya Shishkov [Sat, 14 Dec 2019 08:22:51 +0000 (09:22 +0100)]
indeo4: use MD5-based testing

4 years agoindeo/ivi: init codebook for transparency plane
Kostya Shishkov [Fri, 13 Dec 2019 18:11:39 +0000 (19:11 +0100)]
indeo/ivi: init codebook for transparency plane

4 years agoindeo/ivi: fix reference selection
Kostya Shishkov [Fri, 13 Dec 2019 18:09:57 +0000 (19:09 +0100)]
indeo/ivi: fix reference selection

4 years agoindeo/ivi: fix motion compensation routine
Kostya Shishkov [Fri, 13 Dec 2019 10:40:53 +0000 (11:40 +0100)]
indeo/ivi: fix motion compensation routine

4 years agoindeo/ivi: use tiles without references
Kostya Shishkov [Wed, 11 Dec 2019 18:02:32 +0000 (19:02 +0100)]
indeo/ivi: use tiles without references

4 years agocore/scale: add output buffer flipping if needed
Kostya Shishkov [Tue, 10 Dec 2019 17:45:25 +0000 (18:45 +0100)]
core/scale: add output buffer flipping if needed

4 years agocore/frame: add get_num_components() call to NAVideoBuffer
Kostya Shishkov [Tue, 10 Dec 2019 17:44:52 +0000 (18:44 +0100)]
core/frame: add get_num_components() call to NAVideoBuffer

4 years agovp3: codec outputs flipped frames
Kostya Shishkov [Tue, 10 Dec 2019 17:39:48 +0000 (18:39 +0100)]
vp3: codec outputs flipped frames

4 years agormdemux: Sipro deinterleaver should work on whole frame
Kostya Shishkov [Mon, 9 Dec 2019 17:16:44 +0000 (18:16 +0100)]
rmdemux: Sipro deinterleaver should work on whole frame

4 years agocore/soundcvt: fix some bugs and switch to generic sample reader/writers
Kostya Shishkov [Sat, 7 Dec 2019 17:57:59 +0000 (18:57 +0100)]
core/soundcvt: fix some bugs and switch to generic sample reader/writers

4 years agoindeo3: switch test to frame hashes
Kostya Shishkov [Sat, 7 Dec 2019 15:35:54 +0000 (16:35 +0100)]
indeo3: switch test to frame hashes

4 years agoindeo3: add reference requantisation
Kostya Shishkov [Sat, 7 Dec 2019 15:32:09 +0000 (16:32 +0100)]
indeo3: add reference requantisation

4 years agoindeo3: handle skip frames
Kostya Shishkov [Sat, 7 Dec 2019 15:30:26 +0000 (16:30 +0100)]
indeo3: handle skip frames

4 years agoindeo3: various small fixes
Kostya Shishkov [Sat, 7 Dec 2019 15:29:16 +0000 (16:29 +0100)]
indeo3: various small fixes

4 years agoindeo3: flip buffers instead of selecting
Kostya Shishkov [Sat, 7 Dec 2019 15:24:57 +0000 (16:24 +0100)]
indeo3: flip buffers instead of selecting

4 years agoindeo2: use frame hashes for testing
Kostya Shishkov [Sat, 30 Nov 2019 11:01:50 +0000 (12:01 +0100)]
indeo2: use frame hashes for testing

4 years agoindeo2: swap chroma planes
Kostya Shishkov [Sat, 30 Nov 2019 10:37:36 +0000 (11:37 +0100)]
indeo2: swap chroma planes

4 years agocore/soundcvt: use wrapping mul in sample width extension
Kostya Shishkov [Wed, 27 Nov 2019 14:04:14 +0000 (15:04 +0100)]
core/soundcvt: use wrapping mul in sample width extension

4 years agocore/scale: copy pictures with different strides too
Kostya Shishkov [Wed, 27 Nov 2019 14:03:07 +0000 (15:03 +0100)]
core/scale: copy pictures with different strides too

4 years agoavi demuxer: sample size is already in bits
Kostya Shishkov [Wed, 27 Nov 2019 14:02:39 +0000 (15:02 +0100)]
avi demuxer: sample size is already in bits

4 years agocore/soundcvt: add DupMono mode for remixing speed-up
Kostya Shishkov [Wed, 27 Nov 2019 07:20:48 +0000 (08:20 +0100)]
core/soundcvt: add DupMono mode for remixing speed-up

4 years agomake decoders Send-able
Kostya Shishkov [Wed, 27 Nov 2019 07:20:16 +0000 (08:20 +0100)]
make decoders Send-able

4 years agocore/scale: optimise nearest-neighbour scaling
Kostya Shishkov [Sat, 23 Nov 2019 15:44:08 +0000 (16:44 +0100)]
core/scale: optimise nearest-neighbour scaling