Commit Graph

1629 Commits

Author SHA1 Message Date
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
kortschak 197ca684a6 Merged in sliceoutputs (pull request #120)
cmd/revid-cli,revid: use a slice for output destination flags

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-01-30 03:07:30 +00:00
Dan Kortschak 58102e5587 revid: fix http destination assignment 2019-01-30 13:19:00 +10:30
Dan Kortschak 071e6fd0f7 revid: honour difference between rtmp dst and others 2019-01-29 19:56:02 +10:30
Saxon Milton 286ae4334b Merged in psi-at-start (pull request #127)
stream/mts/encoder.go: writing psi at start of stream

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-24 02:53:53 +00:00
saxon df146cfb17 stream/mts/encoder.go: writing psi at start of stream 2019-01-23 15:50:25 +10:30
Saxon Milton bea48d8657 Merged in findPMT-improve (pull request #122)
mts/mpegts.go: FindPMT now also returns index

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-22 01:01:18 +00:00
saxon 6b4e0946dd stream/mts/mpegts.go: updated FindPMT comment 2019-01-22 11:27:24 +10:30
saxon ba209a1d7c mts/mpegts.go: FindPMT now also returns index 2019-01-22 11:21:12 +10:30
Saxon Milton 1ec23badcc Merged in remove-LocationStrBytes (pull request #118)
Get rid of LocationStrBytes func

Approved-by: kortschak <dan@kortschak.io>
2019-01-21 11:40:02 +00:00
saxon bc3a73bedc av/stream/psi/psi_test.go: updated comment for buildPmtWithMeta() 2019-01-21 18:25:06 +10:30
saxon 67d952c6a7 psi/psi_test.go: made buildPmtWithMeta() safer and readable 2019-01-20 21:58:23 +10:30
saxon a24e4ecb81 psi/psi_test.go: not making it look like I'm appending directly to a global 2019-01-20 21:48:34 +10:30
saxon c4990c946f psi/psi_test.go: not wrapp tstStr in []byte 2019-01-20 21:39:07 +10:30
saxon 239cebe347 psi/psi_test.go: made location tsts const 2019-01-20 21:12:26 +10:30
saxon 3835ff7ce1 psi/psi_test.go: made location tsts strings again and have buildPmtWithMeta take a string instead of []byte 2019-01-20 21:11:09 +10:30
saxon b69c990b21 psi/psi_test.go: got rid of bytes declaration for location strigns 2019-01-20 21:04:27 +10:30
saxon 1a966e8f9b psi/psi_test.go: improved some naming 2019-01-20 20:43:00 +10:30
saxon 5c4795786e psi/helpers.go: modified UpdateLocation() to make updating of location in pmt cleaner, and also removed redundant conversion of string to byte slice 2019-01-20 20:14:27 +10:30
Dan Kortschak 92ba9c89a2 cmd/revid-cli,revid: use a slice for output destination flags 2019-01-19 20:01:42 +10:30