Commit Graph

2791 Commits

Author SHA1 Message Date
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 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
Saxon Milton 401f75a712 Merged in vui-hrd-parameters-types (pull request #217)
codec/h264/h264dec: separated VUI and HRD from SPS struct
2019-08-05 04:18:59 +00:00
Saxon 951d9dd244 codec/h264/h264dec: merged in master, fixed conflicts and problems that that resulted 2019-08-05 13:46:02 +09:30
Trek Hopton db659ab051 Merged in revid-audio (pull request #204)
Revid audio

Approved-by: kortschak <dan@kortschak.io>
2019-08-05 01:57:35 +00:00
Trek H 3f29f0c84e Merge branch 'master' into revid-audio 2019-08-02 23:32:21 +09:30
Trek H e63b51e24f codec-util: removed newticker helper 2019-08-02 23:26:15 +09:30
Saxon Milton 3f1c09a671 Merged in slice-modularisation (pull request #218)
codec/h264/h264dec: SliceHeader modularisation
2019-08-01 11:25:14 +00:00
Saxon Milton 1288186069 Merged in pps-testing (pull request #219)
codec/h264/h264dec: added tests for pps parsing found in pps.go
2019-07-31 16:57:55 +00:00
Saxon 0b21b7a8c4 codec/h264/h264dec/read_test.go: added file header 2019-07-31 22:40:10 +09:30
Saxon 9239676214 codec/h264/h264dec: merged in master and removed additional binToSlice func 2019-07-31 22:39:20 +09:30
Saxon e839a8ae57 Merge branch 'master' into pps-testing 2019-07-31 22:38:43 +09:30
Saxon Milton 539611d3ff Merged in helpers (pull request #223)
codec/h264/h264dec/helpers.go: added helpers.go file and binToSlice func for converting binary string to a []byte
2019-07-31 13:06:23 +00:00
Saxon 547e9f22ae codec/h264/h264dec/helpers.go: added helpers.go file and binToSlice func for converting binary string to a []byte 2019-07-31 22:35:09 +09:30
Saxon 2906e82adc codec/h264/h264dec/pps_test.go: added file header 2019-07-31 22:08:03 +09:30
Saxon 84dfbfa2fd codec/h264/h264dec: merged in master and fixed conflict 2019-07-31 22:05:35 +09:30