Commit Graph

311 Commits

Author SHA1 Message Date
Trek H ed6b2cc7f1 ADPCM: changed directory of adpcm package to audio folder 2019-03-08 15:55:20 +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 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 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 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 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
Saxon 9be2f95bef stream/mts: improved and added commenting 2019-03-02 13:21:46 +10:30
Saxon 7c6719ab5a stream/mts: using packet.Packet straight away and not doing unnecessary conversions 2019-03-02 13:15:18 +10:30
Saxon 559d15d6eb revid & stream/mts: fixed file headers in mtsSender_test.go and discontinuity.go regarding licensing location 2019-03-01 10:02:43 +10:30
Saxon 31025a114a stream/mts: fixed logic regarding psi writing frequency 2019-02-28 18:19:06 +10:30
Saxon ee915b58ac stream/mts: fixed conflict 2019-02-28 16:47:24 +10:30
Saxon Milton 6228123f7d Merged in add-findpid (pull request #145)
stream/mts: added general FindPID func and FindPAT func.
2019-02-28 05:46:39 +00:00
Saxon a7989955ca stream/mts: corrected func comments for FindPat, FindPmt and FindPid 2019-02-28 11:06:27 +10:30
Saxon 1e9b6c25c9 stream/mts: lowercase PID PAT and PMT in func names 2019-02-28 11:04:40 +10:30
Saxon c1f7497078 stream/mts: using fmt.Errorf instead of fmt.Sprintf inside errors.New 2019-02-27 17:16:15 +10:30
Saxon 1e9fcda47c stream/mts: %v to %d in fmt.Sprintf usage in error message 2019-02-27 17:12:52 +10:30
Saxon 947f818bc6 stream/mts: modified error in FindPid in the case that we can't a packet with given pid so that we show pid 2019-02-27 16:36:59 +10:30
saxon c58b207419 stream: reverted timing changes from most recent PR 2019-02-17 13:35:55 +10:30
saxon 9e9e349cbf stream: reverted some changes I made to tick() in both mts encoder and rtp encoder 2019-02-17 13:27:01 +10:30
saxon ca0a008c59 revid: correct cc logic is discontinuity.go 2019-02-17 12:50:33 +10:30
saxon 3f3d587eeb revid: mtsSender test for segmenting actually working now 2019-02-17 03:35:59 +10:30
saxon a5cb1c5abb stream/mts: made modifications such that the segment test is passing 2019-02-16 23:52:40 +10:30
saxon bb091f5961 revid: wrote test for mtsSender_test.go to see if the mtsSender is segmenting properly 2019-02-16 16:33:39 +10:30
saxon 4ddf87d63d stream/mts/discontinuity.go: fixed expectedCC logic 2019-02-16 14:38:10 +10:30
saxon 361f5edbc9 stream/mts: wrote sender interface and a minimalHttpSender type 2019-02-16 14:26:51 +10:30
saxon 34daa45b46 Merge branch 'master' into mts-chunking 2019-02-16 09:17:43 +10:30
saxon da5fdccaf3 stream/mts & stream/rtp: fixed timing calculations
Currently time calculations in the mts encoder are based on the premise that each mpegts packet is a 'frame', and in the rtp encoder that
each encoding of multiple packets into one rtp packet is a 'frame', these are both false. Mpegts encoding and rtp encoding should do
timestamp calculations using a reasonable approximation of time at encoding/send.
2019-02-16 09:09:54 +10:30
saxon 281aa47fd5 stream/mts: fixing discontinuities that could be caused by ringbuffer 2019-02-16 01:40:35 +10:30
saxon 4044368837 stream/mts: fixed commenting in discontinuity.go 2019-02-15 22:24:07 +10:30
saxon 6964ac513e stream/mts: adding discontinuity.go which contains discontinuity repairer 2019-02-15 13:49:37 +10:30
saxon 694ec5d009 stream/mts: fixed build errors 2019-02-15 13:43:01 +10:30
saxon 7d03830a4e revid & stream/mts: senders now handle clip duration and cc fixing for mts.
Removed rtpSender as we now put in loadSender slice. Removed packer write method as no longer required to do clip duration logic. For initialisation of encoders, they are now no longer writing
to packer, but now straight to the ring buffer. Wrote ausOceanSender which will deal with clip logic and cc fixing for mts. Added some functionality to mts/mpegts.go that allows adding
of adaptation fields to mts packets.
2019-02-15 12:01:07 +10:30
saxon b96df6d3a7 stream/mts: added general FindPID func and FindPAT func. 2019-02-13 14:40:58 +10:30
saxon dad70b37b4 stream/mts/meta/meta.go: reduced verbosity of local vars in meta.Keys 2019-02-11 14:30:37 +10:30