Commit Graph

3774 Commits

Author SHA1 Message Date
Saxon e9bd2fc0d1 revid: now using variable ring buffer 2020-01-09 13:31:03 +10:30
Scott Barnard f5b8ea10fc Merged in motion-filter-variables (pull request #325)
Motion filter variables

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-09 02:13:27 +00:00
Scott be3f82616b Increased iot version to v1.2.11 2020-01-09 11:41:09 +10:30
Scott 1b45c52379 Added motion filter variables. 2020-01-09 11:41:09 +10:30
Saxon Milton be27d17c7a go.mod updated to use utils version with vring 2020-01-08 01:51:55 +00:00
Saxon Milton 36220e967f Merged in rtp-jpeg-extractor (pull request #289)
codec/mjpeg: RTP/JPEG extractor

Approved-by: Alan Noble <anoble@gmail.com>
2020-01-07 04:43:07 +00:00
Saxon ca9c1ad425 codec/mjpeg/jpeg.go: removed white space 2020-01-07 14:47:06 +10:30
Saxon 723166ec50 codec/mjpeg/jpeg.go: simplified copy 2020-01-07 14:45:25 +10:30
Saxon fcb8f18e1f codec/mjpeg/jpeg.go: removed white space 2020-01-07 14:43:26 +10:30
Saxon 7fca2257a4 codec/mjpeg/jpeg.go: simplified writing of huffman tables by calculating n values in global vars 2020-01-07 14:36:15 +10:30
Saxon 7fb5ed00a2 codec/mjpeg/jpeg.go: simplified copies 2020-01-07 13:53:26 +10:30
Ella Pietraroia 60dcf0e285 Merged in cbr-mjpeg (pull request #323)
Cbr true for mjpeg input codec

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-07 03:16:14 +00:00
Ella Pietraroia ba1c304281 no looging messages 2020-01-07 13:44:48 +10:30
Saxon 52f18cdc58 codec/mjpeg/jpeg.go: simplified some more indexing 2020-01-07 13:14:18 +10:30
Saxon 0b848cb01b codec/mjpeg/jpeg.go: no longer need to convert dri to uint16. 2020-01-07 13:12:22 +10:30
Saxon 4325b86a99 codec/mjpeg/jpeg.go: don't need to convert jfifLabel string to []byte for copy 2020-01-07 13:11:25 +10:30
Saxon 38c4972a76 codec/mjpeg/jpeg.go: simplified some indexing 2020-01-07 13:09:27 +10:30
Saxon d0e356314d codec/mjpeg/jpeg.go: moved get24 to bottom of file and gave comment. 2020-01-07 13:06:56 +10:30
Saxon 86e215f913 codec/mjpeg/jpeg.go: decrementing q by 128 before qLen > 0 check to simplify indexing where q-128 is done 2020-01-07 13:01:34 +10:30
Saxon f187af747b codec/mjpeg/jpeg.go: removing panics inside ParsePayload in favour of errors 2020-01-07 12:52:31 +10:30
Ella Pietraroia 55e13c2f8f device/raspivid/raspivid.go changing default bitrate to fit within buffer 2020-01-07 11:26:17 +10:30
Saxon 803cdf0747 codec/mjpeg/jpeg.go: dir is now uint16 to avoid conversion 2020-01-07 11:14:43 +10:30
Ella Pietraroia 492e5025de revid/revid.go adding info messages 2020-01-07 11:10:04 +10:30
Saxon 83a304037c codec/mjpeg/jpeg.go: simplified writing of bytes for SOF and SOS headers 2020-01-07 11:08:36 +10:30
Ella Pietraroia 04b7a79055 revid/revid.go adding CBR=true for MJPEG encoded video for RaspiVid and RSTP 2020-01-07 10:45:45 +10:30
Scott 4a4bf0dab6 Moved test videos from av to test repository 2020-01-07 09:37:56 +10:30
Saxon 4834aa8ca2 codec/mjpeg/jpeg.go: don't need to set c.blen to 0 2020-01-04 13:53:04 +10:30
Saxon ef4e9a3f69 codec/mjpeg: removed putBuffer and its usage 2020-01-04 13:10:40 +10:30
Saxon ab2f2e4c0b codec/mjpeg/testdata/expect.mjpeg: updated expected MJPEG file 2020-01-04 01:55:56 +10:30
Saxon 692325523c codec/mjpeg/jpeg.go: removed usage of putBuffer in parsePayload 2020-01-04 01:50:56 +10:30
Saxon 7ee8fa566c codec/mjpeg: removed byteStream type and its usage 2020-01-04 01:32:45 +10:30
Saxon f67fcd35e7 codec/mjpeg/jpeg.go: fixed conflicts 2020-01-03 19:41:23 +10:30
Saxon 20b52dc5f0 codec/mjpeg: added jpeg_test.go, tests.go and expected output, expect.mjpeg to test ParsePayload function in jpeg.go 2020-01-03 19:38:31 +10:30
Saxon d98da29596 codec/mjpeg/jpeg.go: removed 'mark' function 2020-01-03 19:38:30 +10:30
Saxon 210d368adb codec/mjpeg/jpeg.go: simplified if statement 2020-01-03 19:38:30 +10:30
Saxon c42d58ea85 codec/mjpeg/jpeg.go: componenting consts for SOF0 and SOS headers 2020-01-03 19:38:30 +10:30
Saxon ac23e126e3 codec/mjpeg/jpeg.go: defining consts for SOS header fields 2020-01-03 19:38:30 +10:30
Saxon 6bdfdb1f2a codec/mjpeg/jpeg.go: defining consts for SOF0 header fields 2020-01-03 19:38:30 +10:30
Saxon 1d0c10a402 codec/mjpeg/jpeg.go: defining consts for JFIF header 2020-01-03 19:38:30 +10:30
Saxon 6f8300fdfb codec/mjpeg/utils.go: added TODO in file header DESCRIPTION field to make stuff in this file exported in codecutil 2020-01-03 19:38:30 +10:30
Saxon 423a5c12c4 codec/mjpeg: renamed putBuffer.putBuf to putBytes 2020-01-03 19:38:30 +10:30
Saxon 4c04cc033a codec/mjpeg/jpeg.go: renamed fields of putBuffer struct 2020-01-03 19:38:30 +10:30
Saxon e8fd1a8661 codec/mjpeg/jpeg.go: made JFIF header label local const 2020-01-03 19:38:30 +10:30
Saxon 029a59fc78 codec/mjpeg/jpeg.go: improve Context struct field names 2020-01-03 19:38:30 +10:30
Saxon ef699451d5 codec/mjpeg: renamed Ctx type to Context and name value of this type ctx instead of c 2020-01-03 19:38:30 +10:30
Saxon 7c8ba0ae4b codec/mjpeg/utils.go: using BigEndian.Uint16 in get16 2020-01-03 17:15:06 +10:30
Saxon 657ed2f277 codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2020-01-03 17:15:06 +10:30
Saxon d4deb5b641 codec/mjpeg/jpeg.go: Fixed comment for Ctx struct 2020-01-03 17:15:06 +10:30
Saxon db0e292507 codec/mjpeg/extract.go: simplified error message when can't get RTP payload 2020-01-03 17:15:06 +10:30
Saxon 341af70d81 codec/mjpeg/jpeg.go: fixed indentation on file header 2020-01-03 17:15:06 +10:30