Commit Graph

339 Commits

Author SHA1 Message Date
Ella Pietraroia 36dfb05326 formatting changes 2020-04-23 14:49:30 +09:30
Ella Pietraroia 0213c89b1b small formatting changes 2020-04-23 14:42:34 +09:30
Ella Pietraroia 149f95af84 no package level comments in test files 2020-04-23 12:34:11 +09:30
Ella Pietraroia 4b99dac365 codec: mjpeg: pachage level comment 2020-03-12 15:29:41 +10:30
Ella Pietraroia 837b43985a codec: h264: h264dec: editing package comment 2020-03-12 15:16:51 +10:30
Ella Pietraroia 231ad77682 codec: hh264: adding package comment 2020-03-12 15:12:04 +10:30
Scott ac21b7d808 codec: add package comments to codec packages 2020-02-26 14:32:08 +10:30
Saxon Milton 615ec66163 Merged in level-prefix-fuzz (pull request #256)
codec/h264/h264dec/fuzz: added fuzzer test for parseLevelPrefix function

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-28 23:57:15 +00:00
Saxon fb020df877 codec/h264/h264dec/fuzz/helpers.c: checking if r or br == NULL 2020-01-29 10:26:24 +10:30
Saxon ed626e02ab cmd/rv: did some cleaning and commenting
Modified profile.go file header. Updated binary name in run.sh.
2020-01-27 15:50:24 +10:30
Saxon 7033d62cc6 cmd/rv: created new revid binary that is only netsender client, not CLI as well 2020-01-27 13:55:09 +10:30
Saxon Milton c2329b3a3f Merged in lexers-return-ioeof (pull request #330)
codec: lexers return ioeof

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2020-01-23 03:23:03 +00:00
Saxon 9b8667e56c fixed handling of errors from lex methods 2020-01-22 13:45:01 +10:30
Saxon 78484b5f5b codec/h264/lex.go: fixed handling of errors from ScanUntil 2020-01-22 13:43:08 +10:30
Saxon bf289221de codec/h264/lex.go: simplified return logic 2020-01-22 13:08:02 +10:30
Saxon f64c986efc codec: corrected error handling in lexers 2020-01-20 15:03:49 +10:30
Saxon fdf393566a codec/h265/lex_test.go: adapted test for changes to error lex can return 2020-01-17 16:41:12 +10:30
Saxon e45f51a31f codec/mjpeg/lex.go: return error if io.EOF is encountered 2020-01-17 16:07:37 +10:30
Saxon a26777b697 codec/h264&h265/lex.go: returning errors even if io.EOF, and not bothering to return what's currently in buffer if error 2020-01-17 16:07:10 +10:30
Scott 8dbcf1c148 extract_test.go: Simplified test code 2020-01-15 13:22:41 +10:30
Scott 35a413c80a Added test file for extract.go 2020-01-14 16:46:35 +10:30
Scott 0a79ac3474 Fixed mjpeg extract.go returning errors when it should not. 2020-01-09 16:03:52 +10:30
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
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
Saxon 803cdf0747 codec/mjpeg/jpeg.go: dir is now uint16 to avoid conversion 2020-01-07 11:14:43 +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
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 47d145a222 codec/mjpeg: added jpeg_test.go, tests.go and expected output, expect.mjpeg to test ParsePayload function in jpeg.go 2020-01-03 17:10:18 +10:30
Saxon 36bcd361ed codec/mjpeg/jpeg.go: removed 'mark' function 2020-01-02 15:42:15 +10:30
Saxon 5a09a5f12d codec/mjpeg/jpeg.go: simplified if statement 2020-01-02 15:04:16 +10:30
Saxon 31902f2448 codec/mjpeg/jpeg.go: componenting consts for SOF0 and SOS headers 2020-01-02 11:30:51 +10:30
Saxon 323cc185dc codec/mjpeg/jpeg.go: defining consts for SOS header fields 2020-01-02 11:20:21 +10:30
Saxon 49138ce021 codec/mjpeg/jpeg.go: defining consts for SOF0 header fields 2020-01-01 19:15:32 +10:30
Saxon 3f4561da5b codec/mjpeg/jpeg.go: defining consts for JFIF header 2020-01-01 18:34:51 +10:30
Saxon d146b65c57 codec/mjpeg/utils.go: added TODO in file header DESCRIPTION field to make stuff in this file exported in codecutil 2019-12-29 22:59:29 +10:30
Saxon 5b8f71b7d8 codec/mjpeg: renamed putBuffer.putBuf to putBytes 2019-12-29 22:57:35 +10:30