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
Saxon
7587a15fbf
codec/mjpeg/jpeg.go: fixed indentation in file header
2020-01-03 17:15:06 +10:30
Saxon
e1e890d49e
codec/mjpeg/extract.go: corrected comment for Extractor.dst field
2020-01-03 17:15:06 +10:30
Saxon
398543ac8e
codec/mjpeg: tidying up
...
Separated my code from code that was ported from ffmpeg (differen copyright). Also added utils.go file to house the putBuffer and bytestream types. Reduced copying and use of bytes.Buffer.
Instead expanded putBuffer functionality so that I can use this throughout process (reduce copying from buffer to buffer).
2020-01-03 17:15:06 +10:30
Saxon
2d824707ee
Fixed bugs, now working
2020-01-03 17:15:06 +10:30
Saxon
f0f401ab8c
codec/mjpeg/extract.go: wrote Extractor type
...
Wrote extractor type that provides an Extract function to extract JPEG frames from an RTP/MJPEG stream and writes them to a destination.
2020-01-03 17:15:05 +10:30
Saxon
0ae133d7fb
codec/mjpeg/jpeg.go: added writeHeader function to write JPEG header
...
This also included the addition of some lunimance and chrominance tables, a multiError type (implements error) and a putter type, that will put uint16s, bytes and "buffers" into a byte
slice.
2020-01-03 17:15:05 +10:30
Saxon
238771459b
codec/mjpeg/jpeg.go: added writeHuffman function to write JPEG huffman tables to an io.Writer.
2020-01-03 17:15:05 +10:30
Saxon
db877fd934
codec/mjpeg/jpeg.go: added putMarker function to write JPEG marker codes to an io.Writer
2020-01-03 17:15:05 +10:30
Saxon
c6252195af
codec/mjpeg: added jpeg.go file to hold JPEG specific stuff and added some JPEG marker codes.
2020-01-03 17:15:05 +10:30
Saxon
7181532ccb
codec/mjpeg/lex.go changed error checks for io.EOF to positive checks
2019-10-20 09:08:19 +10:30
Saxon
1c9146eec0
codec/mjpeg/lex.go: returning nil error from Lex if we get io.EOF on reading bytes
2019-10-03 00:32:34 +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
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