MCPcopy Create free account

hub / github.com/Merovius/srvfb / functions

Functions60 in github.com/Merovius/srvfb

↓ 19 callersMethodWrite
An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks, including an 8-byte header and 4-byte CRC checksum per Write call. Such c
internal/png/writer.go:196
↓ 10 callersMethodError
()
internal/png/reader.go:129
↓ 8 callersFunctionabs8
The absolute value of a byte interpreted as a signed int8.
internal/png/writer.go:88
↓ 7 callersMethodverifyChecksum
()
internal/png/reader.go:932
↓ 6 callersMethodGet
()
internal/png/writer.go:31
↓ 6 callersFunctionabs
(x int)
internal/png/paeth.go:10
↓ 5 callersMethodClose
()
internal/fb/fb.go:90
↓ 5 callersMethodwriteChunk
(b []byte, name string)
internal/png/writer.go:95
↓ 4 callersMethodClose
()
srvfb.go:551
↓ 4 callersMethodreadImage
(im *image.Gray16)
srvfb.go:368
↓ 3 callersFunctioncbPaletted
(cb int)
internal/png/reader.go:53
↓ 3 callersMethodreadImagePass
readImagePass reads a single image pass, sized according to the pass number.
internal/png/reader.go:414
↓ 2 callersMethodEncode
Encode writes the Image m to w in PNG format.
internal/png/writer.go:571
↓ 2 callersMethodRead
Read presents one or more IDAT chunks as one continuous stream (minus the intermediate chunk headers and footers). If the PNG data looked like: ... le
internal/png/reader.go:335
↓ 2 callersMethodcheckHeader
()
internal/png/reader.go:942
↓ 2 callersMethodclose
()
srvfb.go:469
↓ 2 callersFunctiondialProxy
(addr string)
srvfb.go:397
↓ 2 callersFunctionmin
(a, b int)
internal/png/reader.go:138
↓ 2 callersFunctionopaque
Returns whether or not the image is fully opaque.
internal/png/writer.go:71
↓ 2 callersMethodparseChunk
()
internal/png/reader.go:862
↓ 2 callersMethodskip
(b []byte)
srvfb.go:483
↓ 1 callersFunctionEncode
Encode writes the Image m to w in PNG format. Any Image may be encoded, but images that are not image.NRGBA might be encoded lossily.
internal/png/writer.go:565
↓ 1 callersMethodImage
()
internal/fb/fb.go:67
↓ 1 callersMethodOpaque
()
internal/png/writer.go:67
↓ 1 callersFunctionOpen
(dev string)
internal/fb/fb.go:33
↓ 1 callersMethodPut
(*EncoderBuffer)
internal/png/writer.go:32
↓ 1 callersMethodVarScreeninfo
()
internal/fb/fb.go:58
↓ 1 callersMethoddecode
decode decodes the IDAT data into an image.
internal/png/reader.go:366
↓ 1 callersFunctionfilter
Chooses the filter to use for encoding the current row, and applies it. The return value is the index of the filter and also of the row in cr that has
internal/png/writer.go:206
↓ 1 callersFunctionfilterPaeth
filterPaeth applies the Paeth filter to the cdat slice. cdat is the current row's data, pdat is the previous row's data.
internal/png/paeth.go:47
↓ 1 callersFunctionlevelToZlib
This function is required because we want the zero value of Encoder.CompressionLevel to map to zlib.DefaultCompression.
internal/png/writer.go:546
↓ 1 callersMethodmergePassInto
mergePassInto merges a single pass into a full sized image.
internal/png/reader.go:788
↓ 1 callersFunctionpaeth
paeth implements the Paeth filter function, as per the PNG specification.
internal/png/paeth.go:23
↓ 1 callersMethodparseIDAT
(length uint32)
internal/png/reader.go:846
↓ 1 callersMethodparseIEND
(length uint32)
internal/png/reader.go:855
↓ 1 callersMethodparseIHDR
(length uint32)
internal/png/reader.go:145
↓ 1 callersMethodparsePLTE
(length uint32)
internal/png/reader.go:234
↓ 1 callersMethodparsetRNS
(length uint32)
internal/png/reader.go:268
↓ 1 callersMethodreadHdr
(resp *http.Response)
srvfb.go:410
↓ 1 callersFunctionrun
()
srvfb.go:53
↓ 1 callersMethodserveImage
(w http.ResponseWriter, r *http.Request)
srvfb.go:268
↓ 1 callersMethodserveIndex
(w http.ResponseWriter, r *http.Request)
srvfb.go:296
↓ 1 callersMethodserveRaw
(w http.ResponseWriter, r *http.Request)
srvfb.go:145
↓ 1 callersMethodserveVideo
(w http.ResponseWriter, r *http.Request)
srvfb.go:214
↓ 1 callersFunctionwrapListener
wrapListener wraps l with an idle timeout, if possible. A zero timeout disables timeouts. If setting a timeout fails, the returned Listener falls back
srvfb.go:502
↓ 1 callersMethodwriteIDATs
Write the actual image data to one or more IDAT chunks.
internal/png/writer.go:528
↓ 1 callersMethodwriteIEND
()
internal/png/writer.go:561
↓ 1 callersMethodwriteIHDR
()
internal/png/writer.go:125
↓ 1 callersMethodwriteImage
(w io.Writer, m image.Image, cb int, level int)
internal/png/writer.go:304
↓ 1 callersMethodwritePLTEAndTRNS
(p color.Palette)
internal/png/writer.go:168
↓ 1 callersFunctionzeroMemory
(v []uint8)
internal/png/writer.go:298
MethodAccept
Accept implements net.Conn. Connections returned by Accept are tracked. Once all active connections are closed and the idle timeout expires, Accept re
srvfb.go:523
FunctionDecode
Decode reads a PNG image from r and returns it as an image.Image. The type of Image returned depends on the PNG contents.
internal/png/reader.go:955
FunctionDecodeConfig
DecodeConfig returns the color model and dimensions of a PNG image without decoding the entire image.
internal/png/reader.go:979
MethodError
()
internal/png/reader.go:136
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
srvfb.go:111
Functioninit
()
srvfb.go:562
Functioninit
()
internal/png/reader.go:1033
Functionmain
()
srvfb.go:46
MethodreadImage
(im *image.Gray16)
srvfb.go:449