Commit Graph

2819 Commits

Author SHA1 Message Date
Saxon Milton 7ab8fd9e87 Merged in nalunit-test (pull request #224)
codec/h264/h264dec: added NAL unit parsing tests

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-20 03:23:17 +00:00
Saxon Milton 13490e0145 Merged in slice-testing (pull request #225)
codec/h264/h264dec: added some testing for parsing found in slice.go

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-20 02:53:00 +00:00
Saxon 0f35786d06 codec/h264/h264dec/slice_test.go: added license information to file header 2019-08-20 12:06:11 +09:30
Saxon bdcd340802 codec/h264/h264dec/slice_test.go: removed redundant comment 2019-08-20 12:02:39 +09:30
Saxon 27d8d0992c codec/h264/h264dec/slice.go: made corrections to file header 2019-08-20 11:56:42 +09:30
Saxon dab94f6ae2 codec/h264/h264dec: addressing PR feedback.
Updated comment. Put a space between file header and package declaration. Not dereferencing things
2019-08-20 11:39:12 +09:30
Saxon Milton e7f36162b1 codec/h264/h264dec/cabac_test.go: fixed indentation of Shawn's name in file header 2019-08-19 23:43:28 +00:00
Saxon Milton 2735f99f9c codec/h264/h264dec/cabac.go: fixed indentation of Shawn's name in file header 2019-08-19 23:41:56 +00:00
Saxon Milton 0e3bdf6932 Merged in fixed-len-binarization (pull request #233)
codec/h264/h264dec: added fixedLenBinarization and testing

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-19 23:39:01 +00:00
Saxon 657d62a10b codec/h2646/h264dec: added file headers for cabac.go and cabac_test.go 2019-08-20 09:07:55 +09:30
Saxon 9691b1346c codec/h264/h264dec: removed comment for unexported error message and bettered text 2019-08-20 08:59:18 +09:30
Saxon 04fef9ce1d codec/h264/h264dec: added fixedLenBinarization and testing 2019-08-20 08:58:16 +09:30
Saxon Milton d36fe190b0 Merged in unary-binarization (pull request #232)
codec/h264/h264dec: added unary binarization processes

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-19 22:36:37 +00:00
Saxon 1a5f07305d codec/h264/h2646dec/cabac.go: runcated=>truncated in truncUnaryBinarization comment 2019-08-20 08:04:17 +09:30
Saxon 4a2c3487c7 codec/h264/h264dec: got rid of unneeded closure and renamed suffix to s 2019-08-20 07:53:31 +09:30
Saxon 08d3f6c3d1 codec/h264/h264dec: made absi faster and more readable 2019-08-20 07:53:31 +09:30
Saxon a7abd76113 codec/h264/h264dec: made mini faster and more readable 2019-08-20 07:53:31 +09:30
Saxon 4e29a70b78 codec/h264/h264dec: made maxi faster and more readable 2019-08-20 07:53:31 +09:30
Saxon a4130404fd codec/h264/h264dec: added truncUnaryBinarization and unaryExpGolombBinarization functions both with testing 2019-08-20 07:53:30 +09:30
Saxon 336aa73107 codec/h264/h264dec: wrote UnaryBinarization function and TestUnaryBinarization 2019-08-20 07:53:30 +09:30
Saxon Milton 89386ceb2d Merged in mb-type-binarization (pull request #234)
Mb type binarization

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-19 22:11:49 +00:00
Saxon 806264cd42 codec/h264/h264dec/slice.go: added comment to slice type consts to reference specifications 2019-08-19 16:24:53 +09:30
Saxon 6d06fab39f codec/h264/h264dec: added subMbTypeBinarization and TestSubMbTypeBinarization 2019-08-15 00:31:48 +09:30
Saxon cd83cf9e8e codec/h264/h2646dec: fixed up binarization tables and added mbTypeBinarization function along with test TestMbTypeBinarization. 2019-08-15 00:31:12 +09:30
Saxon b41ae4bcd3 revid: fixed config check bug 2019-08-09 19:18:52 +09:30
Saxon Milton 2470ce95ad revid-cli: setting default InputCodec to codecutil.H264 2019-08-09 09:41:47 +00:00
scruzin c14bdb6a8d Use ausocean/iot v1.2.6. 2019-08-09 17:16:03 +09:30
Saxon Milton 5bd2528bb0 Merged in rb-vars (pull request #230)
revid: ring buffer sizes configurable via vars

Approved-by: kortschak <dan@kortschak.io>
2019-08-09 06:06:20 +00:00
Saxon 67e50295c9 revid: fixed assignment of MTSRBSize 2019-08-09 15:34:29 +09:30
Alan Noble 91c3cdfa8f Merged in compile-on-windows (pull request #231)
Compile on windows

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Trek Hopton <trek.hopton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-08-08 08:04:49 +00:00
scruzin ab6c789c34 Added license. 2019-08-08 15:23:09 +09:30
scruzin cd1e7294dd Merge branch 'compile-on-windows' of https://bitbucket.org/ausocean/av into compile-on-windows 2019-08-08 15:02:12 +09:30
scruzin dec7bd4870 Initial revision. 2019-08-08 15:01:16 +09:30
Alan Noble 2597556e6d Add missing packages for Linux. 2019-08-08 14:57:09 +09:30
Alan Noble 11e6d55f49 Merge branch 'compile-on-windows' of https://bitbucket.org/ausocean/av into compile-on-windows 2019-08-08 14:50:04 +09:30
scruzin d32eac7394 Moved audio support to OS-specific files. 2019-08-08 14:39:55 +09:30
Saxon 61274a18d5 revid-cli: removed reference to framesPerClip which doesn't exist anymore 2019-08-08 13:25:24 +09:30
Saxon 75b7a2946f revid: made MTS and RTMP ringbuffer sizes configurable via vars and added to revid config 2019-08-08 13:20:02 +09:30
Saxon Milton 662462a2ae Merged in ringbuffer-sizes (pull request #229)
revid: tmp ringBuffer sizes fix

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-07 08:29:59 +00:00
Saxon 83407004ed revid: gave mtsSender and rtmpSender separate ringBuffer sizes, and also increase rtmpSender ringBuffer element size 2019-08-07 17:02:06 +09:30
Saxon Milton e78b38a4da Merged in get-first-pid (pull request #228)
codec/h264/h264dec: added helper function to get first MediaPID found in a stream map

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-07 07:10:54 +00:00
Saxon c9d30ad807 codec/h264/h264dec: added helper function to get first MediaPID found in a stream map 2019-08-07 16:15:50 +09:30
Saxon Milton f6c296de01 Merged in media-pids (pull request #220)
container/mts/mpegts.go: added Programs, Streams and MediaStreams functions

Approved-by: Alan Noble <anoble@gmail.com>
2019-08-06 12:01:11 +00:00
Saxon a19c0f4ec3 container/mts/mpegts.go: fixed nil map bug in FindPSI 2019-08-06 15:40:37 +09:30
Saxon ed11fac655 container/mts/mpegts.go: FindPSI now returns a map[uint16]uint8 containing program PIDs and their types instead of []psi.PmtElementaryStream 2019-08-06 15:38:34 +09:30
Saxon Milton 76b3f71d8c Merged in cabac-tables (pull request #226)
codec/h264/h264dec: added tables for CABAC initialisation from spec tables 9-12 to 9-33
2019-08-06 04:55:39 +00:00
Saxon ba6ecc2902 codec/h264/h264dec: added tables from reference implementation which are adapted tables from tables 9-12 to 9-33 of specifications for use in CABC initialisation 2019-08-06 14:21:52 +09:30
Saxon 150492a5bd codec/h264/h264dec: merged in master and fixed resultant problems 2019-08-05 14:41:26 +09:30
Saxon 0cb9a50af8 container/mts/mpegts_test.go: added some more interesting test cases for FindPSI 2019-08-05 14:11:28 +09:30
Saxon 2473b9ee0a codec/h264/h264dec: fixed some bugs found by testing 2019-08-05 13:59:08 +09:30