Commit Graph

2050 Commits

Author SHA1 Message Date
Trek H d4e0c87635 ADPCM: unexported encoder and decoder structs, documented Write funcs. 2019-03-15 17:22:19 +10:30
Trek H fdc4d880ac ADPCM: added a Write function to decoder so that it implements io.Writer,
and also so that it can decode adpcm of arbitrary length.
Updated test and decode command to use Write.
2019-03-15 17:07:22 +10:30
Trek H c7c7ef75f5 ADPCM: Added a Write function to Encoder so that it implements an io.Writer,
and also so that a byte slice of any length can be encoded.
Added global variables for adpcm and pcm block sizes.
Updated tests, encode and decode pcm commands.
2019-03-15 15:47:08 +10:30
Trek H 2dc6032564 Merge branch 'master' into audio-compression
Making sure everything is up to date
2019-03-13 15:36:08 +10:30
Saxon Milton 8023b0d9d7 Merged in senders_test (pull request #168)
revid: renamed mtsSender_test.go to senders_test.go
2019-03-12 05:50:21 +00:00
Saxon 7acca43837 revid: renamed mtsSender_test.go to senders_test.go 2019-03-12 16:17:52 +10:30
Alan Noble 910b120b9b It is time we had some tests for revid (esp. ones that test for current or previously reported bugs).
Approved-by: Alan Noble <anoble@gmail.com>
2019-03-11 23:03:52 +00:00
Saxon Milton cfb4946588 Merged in video-rotate (pull request #158)
Video rotate

Approved-by: Alan Noble <anoble@gmail.com>
2019-03-08 23:33:40 +00:00
Alan Noble 71e993255b Merged in revid-bitrate-fix (pull request #157)
Don't call rv.Bitrate when rv is nil.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-03-08 23:01:59 +00:00
scruzin 437470b53f Only dump stack for Fatal log messages. 2019-03-09 06:57:55 +10:30
scruzin db265404eb Skip if raspivid not present. 2019-03-08 20:43:01 +10:30
scruzin e0471d5e2c Initial revision. 2019-03-08 17:45:38 +10:30
scruzin aced40b5bd Merge branch 'master' of https://bitbucket.org/ausocean/av 2019-03-08 16:59:23 +10:30
Trek H ed6b2cc7f1 ADPCM: changed directory of adpcm package to audio folder 2019-03-08 15:55:20 +10:30
Trek H c234c8b760 ADPCM: changed location of encode decode adpcm file commands 2019-03-08 15:46:48 +10:30
Trek H f3a890c999 new exp folder needed
Merge branch 'master' into audio-compression
2019-03-08 15:41:56 +10:30
Trek H 4e41402cb6 Merge branch 'audio-compression' of https://bitbucket.org/ausocean/av into audio-compression 2019-03-08 15:27:45 +10:30
Trek H 7c2fccb50f ADPCM: Improved comment consistancy. 2019-03-08 15:27:10 +10:30
Trek H c271418f58 ADPCM: removed capAdd16 no longer used 2019-03-08 15:27:10 +10:30
Trek H 8642d1e087 ADPCM: got rid of buggy overflow checks 2019-03-08 15:27:10 +10:30
Trek H 89ccf9eac7 ADPCM: small fixes, comments and style. 2019-03-08 15:27:10 +10:30
Trek H d5cf171485 ADPCM: updated encode decode commands to use restructured encoder and decoder 2019-03-08 15:27:10 +10:30
Trek H 29f4acd7fe ADPCM: decoder now writes to bytes.Buffer instead of returning a byte array, tests updated. 2019-03-08 15:27:10 +10:30
Trek H e45c67e157 ADPCM: encoder now uses bytes.Buffer so that bytes and byte arrays can be written out 2019-03-08 15:27:10 +10:30
Trek H edb0ec6de1 ADPCM: encoder now using byte writer instead of returning byte slices 2019-03-08 15:27:10 +10:30
Trek H 8f282b1200 ADPCM: resructure to encoder and decoder structs 2019-03-08 15:27:10 +10:30
Trek H 7af363a3a4 ADPCM: fixed header indentation 2019-03-08 15:27:10 +10:30
Trek H 5204b52ece ADPCM: removed reference to revid in headers 2019-03-08 15:27:10 +10:30
Trek H 1ad2195938 ADPCM: fixed conversions and calculations for block variables 2019-03-08 15:27:10 +10:30
Trek H 48e848b7c4 ADPCM: added descriptions to file headers and author to readme 2019-03-08 15:27:10 +10:30
Trek H 3f8d889ce5 ADPCM: correct calls to adpcm functions in test 2019-03-08 15:27:10 +10:30
Trek H ebdd65ea09 ADPCM: Simplified for loops for creating and encoding/decoding blocks 2019-03-08 15:27:10 +10:30
Trek H 408a952c9a ADPCM: changed adpcm_test.go to use pre-allocation of byte slices 2019-03-08 15:27:10 +10:30
Trek H 071b16ccf6 ADPCM: pre-allocating memory for entire known length of output byte slice 2019-03-08 15:27:10 +10:30
Trek H 6edd86f5da ADPCM: added helper function for adding int16s without overflowing 2019-03-08 15:27:10 +10:30
Trek H 8762b3c74f ADPCM: fixed spacing and overflow check 2019-03-08 15:27:10 +10:30
Trek H 1d88c498ca ADPCM: added decode test, named constants and added comments 2019-03-08 15:27:10 +10:30
Trek H 35d98f1a73 ADPCM: removed unneeded files and renamed files 2019-03-08 15:27:10 +10:30
Trek H 9939de26ac ADPCM: removed unneeded test programs 2019-03-08 15:27:10 +10:30
Trek H 9fdfde6d87 ADPCM: removed todo comments 2019-03-08 15:27:10 +10:30
Trek H 7f9a919baa ADPCM: moved commands and adpcm codec to appropriate folders 2019-03-08 15:27:10 +10:30
Trek H 102a7736db ADPCM: removed unneccessary debug code and added comments for exported functions 2019-03-08 15:27:10 +10:30
Trek H 07b228fde3 ADPCM: removed unneccessary code for commands and updated their file names 2019-03-08 15:27:10 +10:30
Trek H 2aa9c3a360 ADPCM: added programs to test encoding and decoding of raw PCM files 2019-03-08 15:27:10 +10:30
Trek H ca71a5ed49 ADPCM: Encoding and decoding blocks fully functional. 2019-03-08 15:27:10 +10:30
Trek f5f3922436 adpcmgo: encodeblock function added 2019-03-08 15:27:10 +10:30
Trek 33d62672c6 adpcmgo: added ported encode and decode functions 2019-03-08 15:27:10 +10:30
Trek 6beefc536b adpcm: saving raw pcm before conversion 2019-03-08 15:27:10 +10:30
Trek H 00cb9bf3f6 adpcm test working with wav files 2019-03-08 15:27:10 +10:30
Saxon Milton 02db78cac7 Merged in remove-udp-sender (pull request #165)
revid: removed udp sender and anything pertainent to it
2019-03-07 09:51:46 +00:00