Commit Graph

22 Commits

Author SHA1 Message Date
Saxon c691d4c1ff codec/mjpeg: renamed Ctx type to Context and name value of this type ctx instead of c 2019-12-29 22:40:54 +10:30
Saxon b5f87481ba codec/mjpeg/jpeg.go: comment global slices used for huffman table creation 2019-12-29 22:16:09 +10:30
Saxon 2d7a400b3e codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2019-12-23 14:24:08 +10:30
Saxon 545e7b858f codec/mjpeg/jpeg.go: Fixed comment for Ctx struct 2019-12-23 14:24:08 +10:30
Saxon 495e5c615a codec/mjpeg/jpeg.go: fixed indentation in file header 2019-12-23 14:24:08 +10:30
Saxon 90ab359599 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).
2019-12-23 14:24:08 +10:30
Saxon e3b6d2101a Fixed bugs, now working 2019-12-23 14:24:08 +10:30
Saxon ba25cdfd12 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.
2019-12-23 14:24:07 +10:30
Saxon c2ce700cbd 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.
2019-12-23 14:24:07 +10:30
Saxon 63f694a0a5 codec/mjpeg/jpeg.go: added writeHuffman function to write JPEG huffman tables to an io.Writer. 2019-12-23 14:24:07 +10:30
Saxon 4781a02ec5 codec/mjpeg/jpeg.go: added putMarker function to write JPEG marker codes to an io.Writer 2019-12-23 14:24:07 +10:30
Saxon 6c78ff49cd codec/mjpeg: added jpeg.go file to hold JPEG specific stuff and added some JPEG marker codes. 2019-12-23 14:24:07 +10:30
Saxon 7ee35f650f codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2019-12-23 12:59:25 +10:30
Saxon 4df5f11364 codec/mjpeg/jpeg.go: Fixed comment for Ctx struct 2019-12-23 12:54:31 +10:30
Saxon 870c0bc3fa codec/mjpeg/jpeg.go: fixed indentation in file header 2019-11-23 15:34:59 +10:30
Saxon 82d9e5e8bd 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).
2019-11-23 15:25:18 +10:30
Saxon e467c7792d Fixed bugs, now working 2019-11-22 13:05:11 +10:30
Saxon bee8cd270c 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.
2019-11-20 13:40:07 +10:30
Saxon eaac50f339 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.
2019-11-16 23:12:08 +10:30
Saxon a63cf5a1b7 codec/mjpeg/jpeg.go: added writeHuffman function to write JPEG huffman tables to an io.Writer. 2019-11-15 16:25:35 +10:30
Saxon 7577cfa0c4 codec/mjpeg/jpeg.go: added putMarker function to write JPEG marker codes to an io.Writer 2019-11-15 15:41:02 +10:30
Saxon f5b6af559f codec/mjpeg: added jpeg.go file to hold JPEG specific stuff and added some JPEG marker codes. 2019-11-15 15:11:53 +10:30