Commit Graph

167 Commits

Author SHA1 Message Date
Saxon 84dfbfa2fd codec/h264/h264dec: merged in master and fixed conflict 2019-07-31 22:05:35 +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 520ead0c6c codec/h264/h264dec/nalunit.go: using consts for NAL unit types check in newNALUnit 2019-07-29 14:08:59 +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 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
Saxon 6779fa3cb6 codec/h264/h264dec: commenting for NAL uni syntax structure fields 2019-07-27 12:26:30 +09:30
Saxon 513ac67ad9 codec/h264/h264dec: added tests for pps parsing found in pps.go and made necessary changes
Changes to get successful parsing included modification to moreRBSPData, and as a result
the Off function from the bits.BitReader. A couple of basic PPS tests have been added, but
more should be added once we know the scaling list parsing works.
2019-07-23 16:38:35 +09:30
Saxon 0240c4c5f7 codec/h264/h264dec: wrote DecRefPicMarking type with constructor and gave to SliceHeader type 2019-07-22 15:13:18 +09:30
Saxon c193853015 codec/h264/h264dec: wrote PredWeightTable type with constructor and gave to SliceHeader struct 2019-07-22 14:01:23 +09:30
Saxon 47d0c300fc codec/h264/h264dec: created RefPicListModification type with constructors and separated from SliceHeader type 2019-07-22 12:56:37 +09:30
Saxon a755ccfc58 codec/h264/h264dec: separated VUI and HRD from SPS struct
Took out all VUI and HRD parameters from the SPS struct and gave them their own structs - VUIParameters and HRDParameters, along with 'contructors'
NewVUIParameters and NewHRDParameters to parse from a bits.BitReader and populate the fields of the struct.
2019-07-21 22:11:27 +09:30
Saxon 865c1676da codec/h264/h264dec: wrote explantory comment for neglectance of io.EOF error when peeking in RBSP parsing process 2019-07-21 21:22:55 +09:30
Saxon 4d65d0d433 codec/h264/h264dec: fixed random build errors 2019-07-19 20:58:01 +09:30
Saxon 278c6f2ef1 codec/h264/h264dec/nalunit.go: added commenting 2019-07-19 20:51:48 +09:30
Saxon bdf3b37fef codec/h264/h264dec: fixed import path for bits package 2019-07-19 20:23:30 +09:30
Saxon ee12e4e90e codec/h264/h264dec: merged in master an fixed conflicts 2019-07-19 20:22:25 +09:30
Saxon f11ba2b433 codec/h264/h264dec: renamed NalUnit function to NewNALUnit and cleaned it up 2019-07-19 20:20:33 +09:30
Saxon 24f6b2d12f codec/h264/decode: added MVCExtension type and NewMVCExtension func 2019-07-19 18:04:51 +09:30
Saxon e54bc234c8 codec/h264/decode: added ThreeDAVCExtenstion type and NewThreeDAVCExtension function 2019-07-19 17:50:45 +09:30
Saxon 0d9861c49e codec/h264/decode: added SVCExtension struct with NewSVCExtension function 2019-07-19 17:37:54 +09:30
Saxon 16b4d570b6 codec/h264/h264dec/bits/bitreader.go: added ReadBool and ReadBitsInt methods 2019-07-19 17:25:57 +09:30
Saxon 3914bc1422 codec/h264/h264dec: fixed import paths 2019-07-19 15:44:45 +09:30
Saxon 5d31c49360 code/h264/h264dec: removed go module stuff 2019-07-19 15:21:17 +09:30
Saxon ce3d98bd3b codec/h264/h264dec: changed packages from h264 to h264dec 2019-07-19 15:20:39 +09:30
Saxon f7b1f2f7b8 codec/h264: decode pakage renamed to h264dec 2019-07-19 15:19:15 +09:30
Saxon ca717dddaf codec/h264/decode: giving parsing function calls BitReaders instead of nil 2019-07-19 14:36:50 +09:30
Saxon 4a9da74ff0 codec/h264/decode: did not copy over most up to date version from old repo, so fixing that 2019-07-19 13:29:10 +09:30
Saxon 04de967aa8 h264: renamed files to make more go like 2019-07-19 12:09:30 +09:30
Saxon f856671ee7 codec/h264: added mrmod h264decode pkg to our av/codec/h264 dir 2019-07-18 14:02:42 +09:30
Saxon dae6151bae codec/h264: removed decode folder (shouldn't have been on master branch) 2019-06-27 13:57:30 +09:30
Saxon 611dbd14be codec/h264: added decode folder, decode/parse.go and first function in parse.go.
Added decode folder which will contain the h264 decoder and utilities. Added first file parse.go, which contains parsing
processes for syntax elements.
2019-06-23 23:58:05 +09:30
Saxon ce457e1d95 should have been in last commit 2019-06-07 02:00:31 +09:30
Saxon fa128d1809 codec/h264: renamed RTPLexer to Extracter
Renamed the RTPLexer to Extracter, renamed NewRTPLexer to NewExtracter and renamed Lex to Extract. Put Extracter and accompanying methods in file extract.go.
Put tests relating to Extracter in extract_test.go.
2019-06-07 01:27:31 +09:30
Saxon aad0c54039 codec/h264/lex_test.go: removed unnecessary conversion 2019-05-30 19:06:50 +09:30
Saxon 20d5f9605f codec/h264/lex.go: checking NAL packet lengths 2019-05-30 19:05:08 +09:30
Saxon 8b7c62602f codec/h264/lex.go: made nalType if statement in RTPLexer.Lex more go like 2019-05-30 18:49:27 +09:30
Saxon 0ee6e86638 codec/h264/lex.go: fixed bug in handleFUA 2019-05-27 14:23:33 +09:30
Saxon 85a5f043c8 codec/h264/lex.go: removed FUIndicatorIdx const in handleFUA 2019-05-27 14:08:44 +09:30
Saxon a39cd31a57 codec/h264/lex.go: added spec link for nal type consts 2019-05-27 14:07:04 +09:30
Saxon 5b970823ef codec/h264/lex_test.go: renamed t to tmp in destination.Write() 2019-05-24 10:41:18 +09:30
Saxon 41f442437d codec/h264/lex_test.go: improve comment for rtpReader struct 2019-05-24 10:40:17 +09:30
Saxon e158101170 codec/h264/lex_test.go: fixed Saxon Nelson-Milton author indentation in file header 2019-05-24 10:38:54 +09:30
Saxon 5dfff61887 codec/h264/lex.go: merge logic for start end packet writing into first if 2019-05-24 10:38:06 +09:30
Saxon 04cd2e66ff codec/h264/lex.go: updated comment for RTPLexer.handleFUA() 2019-05-24 10:36:30 +09:30
Saxon 930c35a154 codec/h264/lex.go: udpated comment for RTPLexer.handleSTAPA 2019-05-24 10:36:00 +09:30
Saxon e1fd6837ef codec/h264/lex.go: updated comment for RTPLexer.Lex() 2019-05-24 10:34:52 +09:30
Saxon b49e65d928 codec/h264/lex.go: commented buffer size consts 2019-05-24 10:33:34 +09:30
Saxon 35069bd4f3 codec/h264/lex.go: using if and else statements rather than switch for start and end indicator logic in handleFUA 2019-05-23 13:55:25 +09:30
Saxon 0e7504374e codec/h264: fixed some minor naming and comment spelling 2019-05-22 15:09:54 +09:30
Saxon 722ddc6ccb codec/h264/lex_test.go: added test for RTPLexer.Lex(...) and also fixed some build errors 2019-05-22 14:49:25 +09:30
Saxon ceb15e53c3 codec/h264/lex.go: wrote lexer for lexing h264 access units from RTP stream 2019-05-22 12:23:29 +09:30
Saxon c0b5724ea7 Merge branch 'master' into h264-rtp-lexer 2019-05-22 11:10:03 +09:30
Saxon 980cf8da21 codec: H264 and MJPEG lexers now using codecutil package for byte scanner functionality 2019-05-22 11:07:39 +09:30
Saxon 819b4a122f codec/h264: renamed Lex to LexFromBytestream 2019-05-19 21:44:23 +09:30
Saxon f52acc7efb codec/h264: fixed comment for Lex 2019-05-19 21:38:05 +09:30
Saxon 478db11ecc codec: file descriptions under file header so that they are put in godoc 2019-05-06 15:47:51 +09:30
Saxon 314a8dab9a codec: updated commenting and file header descriptions for files in h265 and mjpeg packages 2019-05-03 19:52:23 +09:30
Saxon 32621f0cfe av: fixed build errors 2019-04-26 20:46:43 +09:30
Saxon b42e7f9b13 codec: created h264 and mjpeg packages to house lexers 2019-04-26 20:31:12 +09:30