Commit Graph

2763 Commits

Author SHA1 Message Date
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
Saxon 4e43f0f444 container/mts: merged master into branch and fixed conflicts 2019-07-31 21:57:54 +09:30
Saxon 7a4ee894d4 codec/h264/h264dec/sps.go: commented fields of syntax structures 2019-07-31 20:25:38 +09:30
Saxon 1d6c501bb8 codec/h264/h264dec: fixed field types in sps.go and corrected code after merge of master into branch 2019-07-30 10:16:08 +09:30
Saxon 8e8dbbaec6 Merge branch 'master' into vui-hrd-parameters-types 2019-07-29 14:20:11 +09:30
Saxon Milton 939fd4853e Merged in nal-extension-types (pull request #216)
codec/h264/h264dec: NAL unit extension types and clean up
2019-07-29 04:41:00 +00:00
Saxon 520ead0c6c codec/h264/h264dec/nalunit.go: using consts for NAL unit types check in newNALUnit 2019-07-29 14:08:59 +09:30
Saxon b71d8fdd8b container/mts/mpegts.go: undoing changes to mpegts.go that shouldn't be there 2019-07-29 13:49:57 +09:30
Saxon 8e1e84d311 codec/h264/h264dec/bits: removed ReadBitsInt and ReadBool as not required anymore 2019-07-29 13:43:03 +09:30
Saxon 6c69174303 codec/h264/h264dec: change field types to types more consistent with specs and now using fieldReader to read fields of syntax structures 2019-07-29 13:41:40 +09:30
Saxon 23d9f289dd codec/h264/h264dec: fixed field types for NalUnit and now using fieldReader in NewNALUnit 2019-07-29 13:04:59 +09:30
Saxon 03813d5a89 Merge branch 'master' into nal-extension-types 2019-07-29 12:49:54 +09:30
Saxon 7f2e03e181 Merge branch 'master' of http://bitbucket.org/ausocean/av 2019-07-29 12:49:32 +09:30
Saxon Milton 74548ad24d Merged in field-reader (pull request #222)
codec/h264/h264dec/read.go: fieldReader type.
2019-07-29 03:17:23 +00:00
Saxon 430e56e22b codec/h264/h264dec: fixed readBits return type 2019-07-29 12:35:01 +09:30
Saxon 75a6df5da5 codec/h264/h264dec: removed readBitsInt and readBool 2019-07-29 12:33:14 +09:30
Saxon 9f47b22a84 codec/h264/h264dec: moved fieldReader to parse.go and wrote methods for reading other descriptor types like ue and te. 2019-07-27 13:59:12 +09:30
Saxon 404e6493b6 codec/h264/h26dec/read.go: added fieldReader type to provide sticky error and specific methods for bool and int reading 2019-07-27 13:37:57 +09:30
scruzin 46c709404f Propagate netsender client error. 2019-07-27 13:37:57 +09:30
scruzin 23c53d78f5 Use ausocean/iot v1.2.5. 2019-07-27 13:37:57 +09:30
Saxon 450d356f05 Merge branch 'master' of http://bitbucket.org/ausocean/av 2019-07-27 13:19:31 +09:30
Saxon 6779fa3cb6 codec/h264/h264dec: commenting for NAL uni syntax structure fields 2019-07-27 12:26:30 +09:30
Alan Noble a9e790bf67 Merged in report-netsender-error (pull request #221)
Report netsender error

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-07-26 10:02:55 +00:00
scruzin 3c1965d938 Propagate netsender client error. 2019-07-26 18:55:56 +09:30
scruzin 391d7f9885 Merge branch 'master' of https://bitbucket.org/ausocean/av 2019-07-26 18:53:37 +09:30
Saxon c55cd9a64e container/mts: wrote test for FindPSI and corrected bugs
Wrote the FindPSI test which revealed a bug regarding creation of a PMT using comcast gots. This was fixed by writing Payload function and
extracting payload of PMT packet before giving to psi.NewPMT.
2019-07-26 14:16:05 +09:30
Saxon 0825799cfa container/mts/mpegts.go: renamed IndexPid to FindPSIs and change such that only looked for PSI
We have only ever used this function to find PSI so it makes sense to make it exclusive for this. It now also returns the streams found in the PMT. So that
we can actually retrieve the PIDs of the media and their types.
2019-07-24 12:39:18 +09:30
Saxon 4807b4fcb6 container/mts/mpegts.go: added some commenting to MediaStreams 2019-07-24 00:17:57 +09:30
Saxon bdc3b4cfc5 container/mts/mpegts.go: added Programs, Streams and MediaStreams functions 2019-07-24 00:04:10 +09:30