detached bdb7c71

chore(deps): stop tracking vendored modules

commit
bdb7c71a2ff1ba7d0b058ac92dea14f87de2fe68
author
brice · · 2026-07-22 07:22 UTC
parent
659be60
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
3329 files · +2 -1396109
M .gitignore +2 -2
@@ -16,8 +16,8 @@ dumber.exe
1616 # Output of the go coverage tool
1717 *.out
1818
19-# Dependency directories (remove the comment below to include it)
20-# vendor/
19+# Dependency directories
20+vendor/
2121
2222 # Go workspace file
2323 go.work
D vendor/github.com/a-h/parse/.gitignore +0 -1 generated file: collapsed
D vendor/github.com/a-h/parse/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/a-h/parse/README.md +0 -145 generated file: collapsed
D vendor/github.com/a-h/parse/all.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/parse/any.go +0 -22 generated file: collapsed
D vendor/github.com/a-h/parse/convert.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/parse/digits.go +0 -4 generated file: collapsed
D vendor/github.com/a-h/parse/eof.go +0 -15 generated file: collapsed
D vendor/github.com/a-h/parse/error.go +0 -21 generated file: collapsed
D vendor/github.com/a-h/parse/input.go +0 -79 generated file: collapsed
D vendor/github.com/a-h/parse/optional.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/parse/or.go +0 -37 generated file: collapsed
D vendor/github.com/a-h/parse/regexp.go +0 -46 generated file: collapsed
D vendor/github.com/a-h/parse/rune.go +0 -58 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof2.go +0 -27 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof3.go +0 -35 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof4.go +0 -41 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof5.go +0 -48 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof6.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof7.go +0 -62 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof8.go +0 -69 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof9.go +0 -76 generated file: collapsed
D vendor/github.com/a-h/parse/string.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/parse/stringfrom.go +0 -30 generated file: collapsed
D vendor/github.com/a-h/parse/stringuntil.go +0 -49 generated file: collapsed
D vendor/github.com/a-h/parse/then.go +0 -9 generated file: collapsed
D vendor/github.com/a-h/parse/times.go +0 -83 generated file: collapsed
D vendor/github.com/a-h/parse/tuples.go +0 -69 generated file: collapsed
D vendor/github.com/a-h/parse/types.go +0 -33 generated file: collapsed
D vendor/github.com/a-h/parse/until.go +0 -68 generated file: collapsed
D vendor/github.com/a-h/parse/whitespace.go +0 -29 generated file: collapsed
D vendor/github.com/a-h/templ/.dockerignore +0 -3 generated file: collapsed
D vendor/github.com/a-h/templ/.envrc +0 -1 generated file: collapsed
D vendor/github.com/a-h/templ/.gitignore +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/.goreleaser.yaml +0 -72 generated file: collapsed
D vendor/github.com/a-h/templ/.ignore +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/.version +0 -1 generated file: collapsed
D vendor/github.com/a-h/templ/CODE_OF_CONDUCT.md +0 -128 generated file: collapsed
D vendor/github.com/a-h/templ/CONTRIBUTING.md +0 -247 generated file: collapsed
D vendor/github.com/a-h/templ/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/a-h/templ/README.md +0 -194 generated file: collapsed
D vendor/github.com/a-h/templ/SECURITY.md +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/fmtcmd/main.go +0 -132 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/fmtcmd/testdata.txtar +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/cmd.go +0 -452 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/eventhandler.go +0 -349 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/fatalerror.go +0 -23 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/main.go +0 -237 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/modcheck/modcheck.go +0 -82 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/proxy.go +0 -385 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/script.js +0 -10 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_unix.go +0 -88 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_windows.go +0 -75 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/sse/server.go +0 -84 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/watcher/watch.go +0 -166 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/infocmd/main.go +0 -195 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/handler.go +0 -130 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list.templ +0 -22 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list_templ.go +0 -114 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/main.go +0 -145 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/pls/main.go +0 -128 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/client.go +0 -146 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/diagnosticcache.go +0 -61 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/documentcontents.go +0 -215 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/rewrite.go +0 -24 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/server.go +0 -1464 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/snippets.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/sourcemapcache.go +0 -60 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/stdrwc.go +0 -50 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/main.go +0 -280 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/processor/processor.go +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/sloghandler/handler.go +0 -120 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation.templ +0 -68 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation_templ.go +0 -295 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/types.go +0 -87 generated file: collapsed
D vendor/github.com/a-h/templ/cosign.pub +0 -4 generated file: collapsed
D vendor/github.com/a-h/templ/flake.lock +0 -87 generated file: collapsed
D vendor/github.com/a-h/templ/flake.nix +0 -99 generated file: collapsed
D vendor/github.com/a-h/templ/flush.go +0 -36 generated file: collapsed
D vendor/github.com/a-h/templ/fragment.go +0 -73 generated file: collapsed
D vendor/github.com/a-h/templ/generator/generator.go +0 -1829 generated file: collapsed
D vendor/github.com/a-h/templ/generator/rangewriter.go +0 -122 generated file: collapsed
D vendor/github.com/a-h/templ/handler.go +0 -163 generated file: collapsed
D vendor/github.com/a-h/templ/ide-demo.gif +0 -0 binary file: no text diff

binary file: no text diff

D vendor/github.com/a-h/templ/internal/format/scriptelement.go +0 -96 generated file: collapsed
D vendor/github.com/a-h/templ/internal/format/styleelement.go +0 -25 generated file: collapsed
D vendor/github.com/a-h/templ/internal/format/templ.go +0 -102 generated file: collapsed
D vendor/github.com/a-h/templ/internal/htmlfind/htmlfind.go +0 -67 generated file: collapsed
D vendor/github.com/a-h/templ/internal/imports/process.go +0 -218 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/docheader.go +0 -27 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/docheaderparser.go +0 -53 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/pkgloader.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/pkgtraverser.go +0 -110 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/templdoclazyloader.go +0 -161 generated file: collapsed
D vendor/github.com/a-h/templ/internal/prettier/prettier.go +0 -133 generated file: collapsed
D vendor/github.com/a-h/templ/internal/prettier/testdata.txtar +0 -12 generated file: collapsed
D vendor/github.com/a-h/templ/internal/skipdir/skipdir.go +0 -20 generated file: collapsed
D vendor/github.com/a-h/templ/internal/syncmap/map.go +0 -49 generated file: collapsed
D vendor/github.com/a-h/templ/internal/syncset/set.go +0 -42 generated file: collapsed
D vendor/github.com/a-h/templ/join.go +0 -19 generated file: collapsed
D vendor/github.com/a-h/templ/js.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/jsonscript.go +0 -85 generated file: collapsed
D vendor/github.com/a-h/templ/jsonstring.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/LICENSE +0 -29 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/codes.go +0 -86 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/conn.go +0 -244 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/errors.go +0 -70 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/handler.go +0 -120 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/jsonrpc2.go +0 -7 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/message.go +0 -354 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/serve.go +0 -131 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/stream.go +0 -225 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/wire.go +0 -140 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/base.go +0 -95 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/basic.go +0 -705 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/callhierarchy.go +0 -103 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/capabilities_client.go +0 -1068 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/capabilities_server.go +0 -523 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/client.go +0 -412 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/context.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/deprecated.go +0 -264 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/diagnostics.go +0 -149 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/doc.go +0 -23 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/errors.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/general.go +0 -461 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/handler.go +0 -88 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/language.go +0 -1401 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/progress.go +0 -119 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/protocol.go +0 -41 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/registration.go +0 -44 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/selectionrange.go +0 -110 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/semantic_token.go +0 -179 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/server.go +0 -1893 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/text.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/util.go +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/version.go +0 -7 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/window.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/workspace.go +0 -213 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/uri/uri.go +0 -245 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/xcontext/xcontext.go +0 -22 generated file: collapsed
D vendor/github.com/a-h/templ/once.go +0 -63 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/calltemplateparser.go +0 -37 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/childrenparser.go +0 -25 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/conditionalattributeparser.go +0 -103 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/cssparser.go +0 -200 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/diagnostics.go +0 -64 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/doctypeparser.go +0 -33 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/elementparser.go +0 -605 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/expressionparser.go +0 -246 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/fallthroughparser.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/forexpressionparser.go +0 -57 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/fuzz.sh +0 -5 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/gocodeparser.go +0 -64 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/gocommentparser.go +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/fuzz.sh +0 -19 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/parse.go +0 -343 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/scanner.go +0 -180 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goparser.go +0 -70 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/htmlcommentparser.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/ifexpressionparser.go +0 -144 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/packageparser.go +0 -32 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/parser.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/raw.go +0 -67 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/scriptparser.go +0 -336 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/scripttemplateparser.go +0 -91 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/sourcemap.go +0 -134 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/stringexpressionparser.go +0 -44 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/structure.go +0 -43 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/switchexpressionparser.go +0 -171 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templatefile.go +0 -195 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templateparser.go +0 -154 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templelementparser.go +0 -59 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/textparser.go +0 -53 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/types.go +0 -1537 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/visitor.go +0 -36 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/visitor/visitor.go +0 -357 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/whitespaceparser.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/templ/runtime.go +0 -736 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/buffer.go +0 -62 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/bufferpool.go +0 -38 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/builder.go +0 -8 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/runtime.go +0 -21 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/scriptelement.go +0 -107 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/styleattribute.go +0 -217 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/watchmode.go +0 -181 generated file: collapsed
D vendor/github.com/a-h/templ/safehtml/style.go +0 -199 generated file: collapsed
D vendor/github.com/a-h/templ/scripttemplate.go +0 -150 generated file: collapsed
D vendor/github.com/a-h/templ/templ.png +0 -0 binary file: no text diff

binary file: no text diff

D vendor/github.com/a-h/templ/url.go +0 -31 generated file: collapsed
D vendor/github.com/a-h/templ/version.go +0 -10 generated file: collapsed
D vendor/github.com/a-h/templ/watchmode.go +0 -105 generated file: collapsed
D vendor/github.com/andybalholm/brotli/.gitignore +0 -2 generated file: collapsed
D vendor/github.com/andybalholm/brotli/LICENSE +0 -19 generated file: collapsed
D vendor/github.com/andybalholm/brotli/README.md +0 -19 generated file: collapsed
D vendor/github.com/andybalholm/brotli/backward_references.go +0 -185 generated file: collapsed
D vendor/github.com/andybalholm/brotli/backward_references_hq.go +0 -796 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bit_cost.go +0 -436 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bit_reader.go +0 -266 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bitwriter.go +0 -56 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter.go +0 -144 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_command.go +0 -434 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_distance.go +0 -433 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_literal.go +0 -433 generated file: collapsed
D vendor/github.com/andybalholm/brotli/brotli_bit_stream.go +0 -1435 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster.go +0 -30 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_command.go +0 -164 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_distance.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_literal.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/command.go +0 -254 generated file: collapsed
D vendor/github.com/andybalholm/brotli/compress_fragment.go +0 -834 generated file: collapsed
D vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go +0 -775 generated file: collapsed
D vendor/github.com/andybalholm/brotli/constants.go +0 -77 generated file: collapsed
D vendor/github.com/andybalholm/brotli/context.go +0 -2176 generated file: collapsed
D vendor/github.com/andybalholm/brotli/decode.go +0 -2570 generated file: collapsed
D vendor/github.com/andybalholm/brotli/dictionary.go +0 -122890 generated file: collapsed
D vendor/github.com/andybalholm/brotli/dictionary_hash.go +0 -32779 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encode.go +0 -1220 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder.go +0 -177 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder_dict.go +0 -22 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder_fast.go +0 -197 generated file: collapsed
D vendor/github.com/andybalholm/brotli/entropy_encode.go +0 -592 generated file: collapsed
D vendor/github.com/andybalholm/brotli/entropy_encode_static.go +0 -4399 generated file: collapsed
D vendor/github.com/andybalholm/brotli/fast_log.go +0 -290 generated file: collapsed
D vendor/github.com/andybalholm/brotli/find_match_length.go +0 -45 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/LICENSE +0 -27 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/README.md +0 -2 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/gzip.go +0 -65 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/huffman_bit_writer.go +0 -517 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/huffman_code.go +0 -346 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/token.go +0 -80 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/writer.go +0 -66 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h10.go +0 -287 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h5.go +0 -214 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h6.go +0 -216 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash.go +0 -342 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_composite.go +0 -93 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go +0 -252 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go +0 -214 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_rolling.go +0 -168 generated file: collapsed
D vendor/github.com/andybalholm/brotli/histogram.go +0 -226 generated file: collapsed
D vendor/github.com/andybalholm/brotli/http.go +0 -189 generated file: collapsed
D vendor/github.com/andybalholm/brotli/huffman.go +0 -653 generated file: collapsed
D vendor/github.com/andybalholm/brotli/literal_cost.go +0 -182 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain1.go +0 -212 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain2.go +0 -248 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain3.go +0 -278 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/emitter.go +0 -34 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/m0.go +0 -175 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/m4.go +0 -339 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go +0 -103 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go +0 -328 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go +0 -53 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/trio.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zdfast.go +0 -258 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zfast.go +0 -206 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zm.go +0 -301 generated file: collapsed
D vendor/github.com/andybalholm/brotli/memory.go +0 -66 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock.go +0 -574 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_command.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_distance.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_literal.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/params.go +0 -37 generated file: collapsed
D vendor/github.com/andybalholm/brotli/platform.go +0 -103 generated file: collapsed
D vendor/github.com/andybalholm/brotli/prefix.go +0 -30 generated file: collapsed
D vendor/github.com/andybalholm/brotli/prefix_dec.go +0 -723 generated file: collapsed
D vendor/github.com/andybalholm/brotli/quality.go +0 -196 generated file: collapsed
D vendor/github.com/andybalholm/brotli/reader.go +0 -126 generated file: collapsed
D vendor/github.com/andybalholm/brotli/ringbuffer.go +0 -134 generated file: collapsed
D vendor/github.com/andybalholm/brotli/state.go +0 -313 generated file: collapsed
D vendor/github.com/andybalholm/brotli/static_dict.go +0 -662 generated file: collapsed
D vendor/github.com/andybalholm/brotli/static_dict_lut.go +0 -75094 generated file: collapsed
D vendor/github.com/andybalholm/brotli/symbol_list.go +0 -22 generated file: collapsed
D vendor/github.com/andybalholm/brotli/transform.go +0 -641 generated file: collapsed
D vendor/github.com/andybalholm/brotli/utf8_util.go +0 -70 generated file: collapsed
D vendor/github.com/andybalholm/brotli/util.go +0 -7 generated file: collapsed
D vendor/github.com/andybalholm/brotli/write_bits.go +0 -52 generated file: collapsed
D vendor/github.com/andybalholm/brotli/writer.go +0 -162 generated file: collapsed
D vendor/github.com/atotto/clipboard/.travis.yml +0 -22 generated file: collapsed
D vendor/github.com/atotto/clipboard/LICENSE +0 -27 generated file: collapsed
D vendor/github.com/atotto/clipboard/README.md +0 -48 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard.go +0 -20 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_darwin.go +0 -52 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_plan9.go +0 -42 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_unix.go +0 -149 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_windows.go +0 -157 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/README.md +0 -83 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/osc52.go +0 -305 generated file: collapsed
D vendor/github.com/bnema/purego-cef/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/bridge.go +0 -783 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_accessibility_handler_gen.go +0 -135 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_app_gen.go +0 -255 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_audio_handler_gen.go +0 -222 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_auth_callback_gen.go +0 -80 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_base_gen.go +0 -13 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +0 -1340 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_browser_process_handler_gen.go +0 -280 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_callback_gen.go +0 -173 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_client_gen.go +0 -691 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_command_handler_gen.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +0 -282 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_component_updater_gen.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_context_menu_handler_gen.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_crash_util_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_devtools_message_observer_gen.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_dialog_handler_gen.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_display_handler_gen.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_dom_gen.go +0 -578 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_download_handler_gen.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_download_item_gen.go +0 -255 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +0 -329 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_drag_handler_gen.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_file_util_gen.go +0 -74 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_find_handler_gen.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_focus_handler_gen.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_frame_gen.go +0 -284 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_frame_handler_gen.go +0 -214 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_i18n_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_jsdialog_handler_gen.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_keyboard_handler_gen.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_life_span_handler_gen.go +0 -261 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_load_handler_gen.go +0 -198 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +0 -771 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_menu_model_delegate_gen.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_navigation_entry_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_origin_whitelist_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_path_util_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_permission_handler_gen.go +0 -303 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_print_handler_gen.go +0 -364 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_registration_gen.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_render_handler_gen.go +0 -562 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_render_process_handler_gen.go +0 -325 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_context_handler_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +0 -576 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_handler_gen.go +0 -490 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_handler_gen.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_handler_gen.go +0 -392 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_request_handler_gen.go +0 -469 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_response_filter_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_scheme_gen.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_server_gen.go +0 -470 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_ssl_info_gen.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_ssl_status_gen.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_string_visitor_gen.go +0 -113 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_trace_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_color_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_component_gen.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +0 -1631 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_geometry_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_linux_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_osr_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_runtime_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_unresponsive_process_callback_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +0 -363 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +0 -1825 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_x509_certificate_gen.go +0 -300 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/doc.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/init.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/.gitkeep +0 -0

no textual change.

D vendor/github.com/bnema/purego-cef/cef/mocks/mock_app.go +0 -261 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser.go +0 -929 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser_process_handler.go +0 -345 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_client.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_context_menu_handler.go +0 -487 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_dialog_handler.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_display_handler.go +0 -743 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_focus_handler.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_frame.go +0 -1093 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_keyboard_handler.go +0 -169 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_life_span_handler.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_load_handler.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_process_message.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_client.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_life_span_handler.go +0 -409 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_handler.go +0 -959 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_process_handler.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request.go +0 -1010 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_context.go +0 -1167 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_handler.go +0 -760 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_response.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/opaque_types.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/string_list.go +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +0 -1391 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_test_helpers_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +0 -282 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +0 -1534 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/v8_helpers.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_box_layout_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_delegate_gen.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_button_delegate_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_button_gen.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_fill_layout_gen.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_layout_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_delegate_gen.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_overlay_controller_gen.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_panel_delegate_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_delegate_gen.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_view_delegate_gen.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_view_gen.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_window_delegate_gen.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +0 -436 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/window_info_helpers.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/bridge.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_accessibility_handler_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_app_gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_audio_handler_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_auth_callback_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_base_gen.go +0 -77 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_gen.go +0 -1091 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_process_handler_gen.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_callback_gen.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_client_gen.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_command_handler_gen.go +0 -80 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_command_line_gen.go +0 -255 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_component_updater_gen.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_context_menu_handler_gen.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_cookie_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_crash_util_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_devtools_message_observer_gen.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_dialog_handler_gen.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_display_handler_gen.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_dom_gen.go +0 -478 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_download_handler_gen.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_download_item_gen.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_data_gen.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_handler_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_file_util_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_find_handler_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_focus_handler_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_gen.go +0 -303 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_handler_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_i18n_util_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_image_gen.go +0 -164 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_jsdialog_handler_gen.go +0 -77 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_keyboard_handler_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_life_span_handler_gen.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_load_handler_gen.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_media_router_gen.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_delegate_gen.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_gen.go +0 -637 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_navigation_entry_gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_origin_whitelist_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_parser_gen.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_path_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_permission_handler_gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_preference_gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_print_handler_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_print_settings_gen.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_process_message_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_registration_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_render_handler_gen.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_render_process_handler_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_gen.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_handler_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_gen.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_handler_gen.go +0 -166 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_handler_gen.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_handler_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_request_handler_gen.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_response_filter_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_response_gen.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_scheme_gen.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_server_gen.go +0 -257 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_memory_region_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_process_message_builder_gen.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_info_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_status_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_stream_gen.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_string_visitor_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_task_gen.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_task_manager_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_thread_gen.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_trace_gen.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_color_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_component_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_content_settings_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_geometry_gen.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_linux_gen.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_osr_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_runtime_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_unresponsive_process_callback_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_urlrequest_gen.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +0 -1137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_values_gen.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_waitable_event_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_x509_certificate_gen.go +0 -217 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_xml_reader_gen.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_zip_reader_gen.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/doc.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_darwin_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_default_gen.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_linux_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_windows_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_helpers_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_server_gen.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_translator_test__gen.go +0 -967 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_box_layout_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_delegate_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_gen.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_delegate_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_gen.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_display_gen.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_fill_layout_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_label_button_gen.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_layout_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_delegate_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_overlay_controller_gen.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_delegate_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_gen.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_scroll_view_gen.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_delegate_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_delegate_gen.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_gen.go +0 -589 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_delegate_gen.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_gen.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/cefapi/contract.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/engine.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/helpers.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/init.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/marshal.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/refcount.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/loader/loader.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_accessibility_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_app_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_audio_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_auth_callback_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_base_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_process_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_client_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_handler_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_line_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_component_updater_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_context_menu_handler_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_cookie_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_devtools_message_observer_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dialog_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_display_handler_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dom_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_handler_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_item_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_data_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_find_handler_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_focus_handler_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_handler_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_image_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_jsdialog_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_keyboard_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_life_span_handler_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_load_handler_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_delegate_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_gen.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_navigation_entry_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_permission_handler_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_preference_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_handler_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_settings_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_process_message_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_registration_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_handler_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_process_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_gen.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_handler_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_handler_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_request_handler_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_filter_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_scheme_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_server_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_info_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_status_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_stream_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_string_visitor_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_manager_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_thread_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_trace_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_color_gen.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_component_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_content_settings_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_gen.go +0 -256 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_geometry_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_linux_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_osr_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_runtime_gen.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_unresponsive_process_callback_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_urlrequest_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_waitable_event_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_x509_certificate_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_xml_reader_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_zip_reader_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/opaque_types.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_test_server_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_translator_test__gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_box_layout_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_delegate_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_delegate_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_display_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_fill_layout_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_label_button_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_layout_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_delegate_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_overlay_controller_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_delegate_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_scroll_view_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_delegate_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_delegate_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_gen.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_delegate_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/capi.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_app_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_auth_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_browser_gen.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_command_line_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_component_updater_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_context_menu_handler_gen.go +0 -44 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_cookie_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_crash_util_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dialog_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dom_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_handler_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_item_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_drag_data_gen.go +0 -44 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_file_util_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_frame_gen.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_i18n_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_image_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_jsdialog_handler_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_media_router_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_menu_model_gen.go +0 -73 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_navigation_entry_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_origin_whitelist_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_parser_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_path_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_permission_handler_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_preference_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_handler_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_settings_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_message_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_registration_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_context_gen.go +0 -42 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_gen.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_handler_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_bundle_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_handler_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_response_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_scheme_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_server_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_memory_region_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_process_message_builder_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_info_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_status_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_stream_gen.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_manager_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_thread_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_trace_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_types_linux_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_unresponsive_process_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_urlrequest_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_v8_gen.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_values_gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_waitable_event_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_x509_certificate_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_xml_reader_gen.go +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_zip_reader_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_api_version_test__gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_helpers_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_server_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_translator_test__gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_box_layout_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_browser_view_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_button_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_display_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_fill_layout_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_label_button_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_layout_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_delegate_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_overlay_controller_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_panel_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_scroll_view_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_textfield_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_view_gen.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_window_gen.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/.gitignore +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/Makefile +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/README.md +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/browser_settings.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/command_line.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/diagnostics.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/doc.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/handlers.go +0 -284 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/input.go +0 -277 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/command_line.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/window_info.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cutil/cstring.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/format.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/modifier.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/attrs.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/display.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/extensions.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/importer.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/loader.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/types.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/copy.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/loader.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/timer_query.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +0 -980 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/accelerated_renderer.go +0 -476 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/context.go +0 -172 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/gl.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/glib.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/input_bridge.go +0 -1037 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/main_thread.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/render_signal.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/profile/recorder.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/options.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/osr_backing_scale.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/profile.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/refresh_rate.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/render_stack.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/size_observation.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/view.go +0 -1171 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/window_info.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/.gitkeep +0 -0

no textual change.

D vendor/github.com/bnema/purego-pipewire/internal/capi/adapters_gen.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/init_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/loop_gen.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/loop_lock.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/register.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/register_all.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_ops.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_params.go +0 -172 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_playback_gen.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/context.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/core.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/loop.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player_state.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +0 -173 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/registry.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/runtime.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/stream.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/loader/loader.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/.gitkeep +0 -0

no textual change.

D vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/init_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/loop_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_ops.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_playback_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/context.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/core.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/interfaces.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/player.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/registry.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/runtime.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/stream.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/driver/driver.go +0 -390 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/driver/register.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/bridge.go +0 -1461 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/enums_gen.go +0 -863 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/functions_gen.go +0 -358 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/register_gen.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/variadic_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/db.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/errors.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/stmt.go +0 -128 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/auth_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/backup_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/bind_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/blob_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/capi_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/column_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/config_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/context_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/exec_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/func_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/hook_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/lifecycle_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/memory_gen.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/metadata_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/misc_gen.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/prepare_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/result_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/serialize_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/str_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/trace_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/value_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/vfs_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/vtab_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/wal_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/sqlite/sqlite_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/generated_symbols.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/loader.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/types.go +0 -164 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/libwebp/libwebp.go +0 -880 collapsed to keep the page light
D vendor/github.com/bnema/purego/.gitignore +0 -1 collapsed to keep the page light
D vendor/github.com/bnema/purego/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/purego/README.md +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_amd64.h +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_arm64.h +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_loong64.h +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/cgo.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlerror.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_android.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_freebsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_linux.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_freebsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_linux.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_netbsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_playground.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_stubs.s +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego/func.go +0 -677 collapsed to keep the page light
D vendor/github.com/bnema/purego/gen.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego/go_runtime.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego/hostlayout_go123.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego/hostlayout_nogo123.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/dlfcn_cgo_unix.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/empty.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/syscall_cgo_unix.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_amd64.h +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_arm64.h +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_loong64.h +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_ppc64x.h +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_riscv64.h +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_386.s +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_amd64.s +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_arm.s +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_arm64.s +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_loong64.s +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_ppc64le.s +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_riscv64.s +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_s390x.s +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/callbacks.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/doc.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/fakecgo.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/freebsd.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_darwin.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_freebsd.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_libinit.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_linux.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_netbsd.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_setenv.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_util.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/iscgo.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_darwin.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_linux.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_netbsd.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/linux.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/netbsd.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/setenv.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_386.s +0 -121 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_amd64.s +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm.s +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm64.s +0 -81 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_386.s +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_amd64.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_loong64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_ppc64le.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_riscv64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_loong64.s +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_ppc64le.s +0 -128 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_riscv64.s +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_darwin.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_freebsd.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_linux.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_netbsd.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_darwin.s +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_freebsd.s +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_linux.s +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_netbsd.s +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_stubs.s +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/strings/strings.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/xreflect/reflect_go124.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/xreflect/reflect_go125.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego/is_ios.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego/nocgo.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_386.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_abi_helpers.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_amd64.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_arm.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_arm64.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_loong64.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_ppc64le.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_riscv64.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_s390x.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_386.s +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_amd64.s +0 -170 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_arm.s +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_arm64.s +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_loong64.s +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_ppc64le.s +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_riscv64.s +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_s390x.s +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_386.s +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_arm.s +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_arm64.s +0 -75 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_loong64.s +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_ppc64le.s +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_riscv64.s +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_s390x.s +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_32bit.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_cgo_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_notstackargs.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_stackargs.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_unix.go +0 -693 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_windows.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_386.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_amd64.s +0 -2014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_arm.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_arm64.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_loong64.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_ppc64le.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_riscv64.s +0 -4051 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_s390x.s +0 -4015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/internal/core/core.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +0 -2056 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +0 -2083 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +0 -80 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +0 -812 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +0 -1214 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +0 -313 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +0 -969 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +0 -493 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +0 -704 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +0 -382 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +0 -1019 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +0 -523 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +0 -562 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +0 -568 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +0 -572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +0 -399 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +0 -398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +0 -871 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +0 -548 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +0 -816 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +0 -954 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +0 -1077 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +0 -300 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +0 -791 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +0 -1049 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +0 -566 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +0 -1296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +0 -1218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +0 -859 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +0 -1906 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +0 -999 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +0 -690 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +0 -520 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +0 -586 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +0 -672 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +0 -715 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +0 -480 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +0 -441 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +0 -561 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +0 -386 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +0 -1118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +0 -889 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +0 -477 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +0 -971 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +0 -420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +0 -287 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +0 -802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +0 -529 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +0 -2327 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +0 -387 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +0 -1196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +0 -938 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +0 -1890 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +0 -470 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +0 -547 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +0 -599 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +0 -480 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +0 -685 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +0 -687 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/cairo/main.go +0 -947 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +0 -329 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +0 -245 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +0 -279 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +0 -299 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +0 -625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +0 -73 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +0 -896 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +0 -1449 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +0 -424 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +0 -508 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +0 -113 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkkeysyms.go +0 -4904 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +0 -304 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +0 -382 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +0 -575 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +0 -57 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +0 -214 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +0 -311 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +0 -710 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +0 -716 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +0 -853 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +0 -746 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-features.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +0 -1783 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gaction.go +0 -663 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +0 -852 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +0 -434 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +0 -2242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +0 -2213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +0 -715 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +0 -339 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +0 -325 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +0 -314 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +0 -327 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +0 -496 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +0 -674 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +0 -416 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +0 -152 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +0 -1909 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +0 -542 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +0 -753 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +0 -392 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +0 -390 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +0 -719 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +0 -169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +0 -1102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +0 -311 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +0 -1459 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +0 -1041 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfile.go +0 -7039 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +0 -1682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +0 -614 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gicon.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +0 -869 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +0 -2410 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giostream.go +0 -723 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +0 -236 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +0 -167 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +0 -610 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +0 -993 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmount.go +0 -1422 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +0 -1017 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +0 -336 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +0 -1272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +0 -305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +0 -136 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +0 -315 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -301 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +0 -1053 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresource.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +0 -1862 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +0 -676 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +0 -433 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +0 -618 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +0 -446 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +0 -2007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +0 -955 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtask.go +0 -1352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +0 -309 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +0 -499 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +0 -319 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +0 -886 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +0 -90 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +0 -211 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +0 -370 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +0 -1140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +0 -1182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/garray.go +0 -817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +0 -448 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +0 -404 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +0 -958 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcache.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +0 -222 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +0 -457 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdate.go +0 -850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdir.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/genviron.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gerror.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +0 -806 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghash.go +0 -742 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghook.go +0 -260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +0 -1174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glist.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmain.go +0 -2568 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +0 -178 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +0 -788 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmem.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +0 -1030 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gnode.go +0 -439 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/goption.go +0 -666 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gquark.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +0 -503 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grand.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +0 -200 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gregex.go +0 -1625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grel.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +0 -483 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gshell.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslice.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslist.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +0 -1164 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstring.go +0 -622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +0 -1491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthread.go +0 -2487 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtree.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +0 -1703 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guri.go +0 -1112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gutils.go +0 -766 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guuid.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +0 -3134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversion.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/main.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +0 -58 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/genums.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +0 -2267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +0 -1291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +0 -839 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +0 -1702 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +0 -380 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +0 -951 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/main.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/more.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +0 -3 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +0 -885 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +0 -220 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +0 -417 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +0 -189 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +0 -2171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +0 -1303 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +0 -857 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +0 -484 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +0 -111 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +0 -604 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +0 -656 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +0 -681 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +0 -1023 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +0 -944 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +0 -1046 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +0 -206 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +0 -910 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +0 -1892 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +0 -1060 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +0 -691 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +0 -872 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +0 -565 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +0 -317 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +0 -472 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +0 -337 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +0 -1338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +0 -757 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +0 -536 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +0 -1116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +0 -686 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +0 -463 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +0 -2296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +0 -665 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +0 -2235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +0 -975 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +0 -711 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +0 -662 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +0 -324 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +0 -447 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +0 -251 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +0 -1649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +0 -773 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +0 -643 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +0 -712 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +0 -1007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +0 -494 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +0 -635 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +0 -535 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +0 -1817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +0 -879 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +0 -1256 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +0 -705 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +0 -881 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +0 -1759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +0 -583 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +0 -1802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +0 -571 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +0 -312 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +0 -1173 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +0 -917 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +0 -356 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +0 -1572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +0 -223 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +0 -497 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +0 -930 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +0 -375 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +0 -835 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +0 -931 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +0 -627 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +0 -488 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +0 -564 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +0 -486 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +0 -1921 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +0 -1024 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +0 -659 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +0 -968 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +0 -913 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +0 -539 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +0 -736 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +0 -726 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +0 -1169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +0 -606 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +0 -1332 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +0 -640 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +0 -597 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +0 -505 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +0 -320 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +0 -864 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +0 -401 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +0 -1420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +0 -1398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +0 -371 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +0 -394 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +0 -464 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +0 -396 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +0 -877 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +0 -1750 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +0 -2305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +0 -1468 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +0 -1574 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +0 -238 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +0 -2855 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +0 -667 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +0 -611 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +0 -1898 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +0 -688 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +0 -334 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +0 -379 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +0 -899 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +0 -2734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +0 -1028 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +0 -630 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +0 -504 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +0 -5777 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +0 -2182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +0 -231 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +0 -1092 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +0 -1850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +0 -202 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +0 -2354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +0 -573 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +0 -143 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +0 -1847 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +0 -248 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +0 -302 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +0 -467 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +0 -67 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +0 -642 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +0 -1445 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +0 -254 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +0 -700 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +0 -1397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +0 -854 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +0 -636 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +0 -66 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +0 -133 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +0 -343 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +0 -344 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +0 -276 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +0 -187 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +0 -429 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +0 -1260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +0 -215 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +0 -423 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +0 -149 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +0 -273 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +0 -177 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +0 -2622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +0 -432 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +0 -230 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +0 -4734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +0 -545 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/more.go +0 -234 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/LICENSE +0 -20 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/README.md +0 -30 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/backoff.go +0 -66 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/context.go +0 -62 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/exponential.go +0 -216 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/retry.go +0 -146 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/ticker.go +0 -97 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/timer.go +0 -35 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/tries.go +0 -38 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +0 -221 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/help/help.go +0 -240 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/key/key.go +0 -140 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/README.md +0 -71 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +0 -229 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/keys.go +0 -97 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/list.go +0 -1330 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/style.go +0 -99 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +0 -214 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +0 -102 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +0 -224 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/table/table.go +0 -450 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +0 -890 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +0 -544 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitattributes +0 -1 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitignore +0 -23 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.golangci.yml +0 -44 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/README.md +0 -400 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/commands.go +0 -222 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/exec.go +0 -133 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +0 -129 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key.go +0 -715 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_other.go +0 -13 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_sequences.go +0 -130 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_windows.go +0 -441 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/logging.go +0 -53 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/mouse.go +0 -308 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/options.go +0 -252 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/renderer.go +0 -88 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/screen.go +0 -248 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_unix.go +0 -33 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_windows.go +0 -10 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +0 -790 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea.go +0 -941 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea_init.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty.go +0 -141 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_unix.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_windows.go +0 -68 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.golangci.yml +0 -47 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/README.md +0 -109 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/doc.go +0 -4 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env.go +0 -294 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/profile.go +0 -108 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/writer.go +0 -171 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.golangci.yml +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/README.md +0 -815 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/align.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/borders.go +0 -490 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/color.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/get.go +0 -556 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/join.go +0 -175 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/position.go +0 -154 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ranges.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/renderer.go +0 -181 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/runes.go +0 -43 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/set.go +0 -799 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/size.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/style.go +0 -588 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/unset.go +0 -331 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/whitespace.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ansi.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ascii.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/background.go +0 -178 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c0.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c1.go +0 -72 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/charset.go +0 -55 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/clipboard.go +0 -75 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/color.go +0 -784 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ctrl.go +0 -156 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cursor.go +0 -637 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cwd.go +0 -26 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/doc.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/finalterm.go +0 -67 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/graphics.go +0 -62 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/hyperlink.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/inband.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/iterm2.go +0 -18 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/keypad.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/kitty.go +0 -90 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/method.go +0 -196 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode.go +0 -690 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +0 -495 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/modes.go +0 -65 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mouse.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/notification.go +0 -32 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/palette.go +0 -34 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser.go +0 -417 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/const.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/seq.go +0 -136 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_decode.go +0 -525 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_handler.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_sync.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/passthrough.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/paste.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/progress.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/reset.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/screen.go +0 -410 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/sgr.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/status.go +0 -168 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/style.go +0 -819 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/termcap.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/title.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/truncate.go +0 -290 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/urxvt.go +0 -17 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/util.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/width.go +0 -107 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/winop.go +0 -59 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/wrap.go +0 -472 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/xterm.go +0 -138 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/buffer.go +0 -474 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/cell.go +0 -487 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/errors.go +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/geom.go +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +0 -301 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/link.go +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/pen.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/screen.go +0 -1514 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/sequence.go +0 -131 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/style.go +0 -31 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +0 -137 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/utils.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/wrap.go +0 -191 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/writer.go +0 -340 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term.go +0 -51 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_other.go +0 -39 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_plan9.go +0 -118 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix.go +0 -96 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_other.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_windows.go +0 -87 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/terminal.go +0 -12 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/util.go +0 -47 collapsed to keep the page light
D vendor/github.com/cli/browser/LICENSE +0 -23 collapsed to keep the page light
D vendor/github.com/cli/browser/README.md +0 -20 collapsed to keep the page light
D vendor/github.com/cli/browser/browser.go +0 -57 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_darwin.go +0 -5 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_freebsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_openbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_unsupported.go +0 -12 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_windows.go +0 -7 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/.gitignore +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/AGENTS.md +0 -51 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +0 -129 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/README.md +0 -190 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/gen.go +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/graphemes.go +0 -73 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/options.go +0 -30 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/trie.go +0 -1699 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/truncate.go +0 -149 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/width.go +0 -239 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +0 -120 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +0 -138 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +0 -79 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +0 -144 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +0 -25 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +0 -205 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +0 -1717 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +0 -21 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +0 -62 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +0 -24 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +0 -416 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/LICENSE +0 -15 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypass.go +0 -145 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +0 -38 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/common.go +0 -341 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/config.go +0 -306 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/doc.go +0 -211 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/dump.go +0 -509 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/format.go +0 -419 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/spew.go +0 -148 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.golangci.yml +0 -24 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/README.md +0 -2 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/keycodes.go +0 -205 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/mode.go +0 -82 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/read.go +0 -154 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/records.go +0 -486 collapsed to keep the page light
D vendor/github.com/fatih/color/LICENSE.md +0 -20 collapsed to keep the page light
D vendor/github.com/fatih/color/README.md +0 -189 collapsed to keep the page light
D vendor/github.com/fatih/color/color.go +0 -733 collapsed to keep the page light
D vendor/github.com/fatih/color/color_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/fatih/color/doc.go +0 -134 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.mailmap +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +0 -651 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +0 -147 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/README.md +0 -214 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_fen.go +0 -469 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_inotify.go +0 -597 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +0 -735 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_other.go +0 -22 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_windows.go +0 -702 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/fsnotify.go +0 -526 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +0 -32 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +0 -56 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +0 -16 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +0 -45 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/internal.go +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix2.go +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/shared.go +0 -64 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/staticcheck.conf +0 -3 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_bsd.go +0 -7 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_darwin.go +0 -8 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.editorconfig +0 -24 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.envrc +0 -7 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +0 -104 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/README.md +0 -81 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +0 -714 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.nix +0 -14 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/errors.go +0 -244 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +0 -11 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +0 -9 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +0 -61 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +0 -1948 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +0 -44 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +0 -10 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.cirrus.yml +0 -11 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.golangci.yml +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/MAINTAINERS +0 -3 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/README.md +0 -47 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/SECURITY.md +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth.go +0 -257 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_anonymous.go +0 -16 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_other.go +0 -7 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_windows.go +0 -5 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_external.go +0 -26 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +0 -109 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/call.go +0 -66 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn.go +0 -1009 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_darwin.go +0 -36 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_other.go +0 -83 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_unix.go +0 -40 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_windows.go +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/dbus.go +0 -427 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/decoder.go +0 -376 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/default_handler.go +0 -338 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/doc.go +0 -70 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/encoder.go +0 -235 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/escape.go +0 -84 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/export.go +0 -484 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/match.go +0 -89 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/message.go +0 -393 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/object.go +0 -181 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequence.go +0 -24 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequential_handler.go +0 -125 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/server_interfaces.go +0 -107 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sig.go +0 -298 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_darwin.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_generic.go +0 -52 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unix.go +0 -291 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +0 -95 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +0 -94 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_zos.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant.go +0 -169 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_lexer.go +0 -284 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_parser.go +0 -815 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_others.go +0 -16 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_windows.go +0 -42 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/.gitignore +0 -101 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +0 -72 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/LICENSE +0 -7 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/README.md +0 -490 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +0 -67 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colors.go +0 -1156 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +0 -91 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +0 -1 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +0 -208 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/rand.go +0 -22 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +0 -192 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/sort.go +0 -191 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +0 -290 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/README.md +0 -48 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_others.go +0 -38 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_windows.go +0 -1047 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/noncolorable.go +0 -57 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/LICENSE +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/README.md +0 -50 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_bsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_others.go +0 -17 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_plan9.go +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_solaris.go +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_tcgets.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_windows.go +0 -136 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader.go +0 -19 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_unix.go +0 -11 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_windows.go +0 -85 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/README.md +0 -27 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/benchstat.txt +0 -43 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/new.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/old.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth.go +0 -420 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_js.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_posix.go +0 -81 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_table.go +0 -488 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_windows.go +0 -34 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/LICENSE.txt +0 -24 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/README.md +0 -85 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/env.go +0 -53 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/interpolate.go +0 -213 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/parser.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.golangci.yml +0 -27 collapsed to keep the page light
D vendor/github.com/muesli/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/ansi/README.md +0 -31 collapsed to keep the page light
D vendor/github.com/muesli/ansi/ansi.go +0 -7 collapsed to keep the page light
D vendor/github.com/muesli/ansi/buffer.go +0 -40 collapsed to keep the page light
D vendor/github.com/muesli/ansi/compressor/writer.go +0 -132 collapsed to keep the page light
D vendor/github.com/muesli/ansi/writer.go +0 -76 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci-soft.yml +0 -47 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci.yml +0 -29 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/README.md +0 -64 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader.go +0 -93 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +0 -146 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_default.go +0 -12 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_linux.go +0 -154 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_select.go +0 -136 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_unix.go +0 -18 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_windows.go +0 -244 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci-soft.yml +0 -43 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci.yml +0 -28 collapsed to keep the page light
D vendor/github.com/muesli/termenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/termenv/README.md +0 -431 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansi_compat.md +0 -65 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansicolors.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/termenv/color.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_linux.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_solaris.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_unix.go +0 -13 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_zos.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/copy.go +0 -37 collapsed to keep the page light
D vendor/github.com/muesli/termenv/hyperlink.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/notification.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/output.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/profile.go +0 -112 collapsed to keep the page light
D vendor/github.com/muesli/termenv/screen.go +0 -590 collapsed to keep the page light
D vendor/github.com/muesli/termenv/style.go +0 -126 collapsed to keep the page light
D vendor/github.com/muesli/termenv/templatehelper.go +0 -88 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv.go +0 -115 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_other.go +0 -30 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_posix.go +0 -17 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_solaris.go +0 -22 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_unix.go +0 -301 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_windows.go +0 -140 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/.gitignore +0 -24 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/README.md +0 -35 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/atomic.go +0 -73 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_unix.go +0 -14 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_windows.go +0 -33 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/zfile_windows.go +0 -27 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.dockerignore +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitattributes +0 -4 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.golangci.toml +0 -76 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +0 -128 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/AGENTS.md +0 -73 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +0 -254 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/Dockerfile +0 -6 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/README.md +0 -327 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/SECURITY.md +0 -16 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +0 -1 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/caps.sh +0 -101 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/ci.sh +0 -293 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode.go +0 -538 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode_fused.go +0 -362 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/errors.go +0 -233 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +0 -37 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +0 -49 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +0 -450 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/localtime.go +0 -121 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/marshaler.go +0 -1697 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/strict.go +0 -108 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +0 -597 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/toml.abnf +0 -246 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/types.go +0 -24 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +0 -2396 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +0 -124 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +0 -21 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +0 -3 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +0 -83 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +0 -29 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +0 -1686 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +0 -43 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/LICENSE +0 -27 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/difflib/difflib.go +0 -772 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.gitignore +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.golangci.yaml +0 -31 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.goreleaser.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/CHANGELOG.md +0 -350 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/Makefile +0 -150 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/README.md +0 -500 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/create.go +0 -116 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier.go +0 -25 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialects.go +0 -214 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/doc.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/sql_extended.go +0 -23 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store_extended.go +0 -33 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/db.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/dialect.go +0 -74 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/down.go +0 -107 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/fix.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/globals.go +0 -104 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/goose.go +0 -141 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/helpers.go +0 -84 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/install.sh +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/controller/store.go +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +0 -53 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +0 -62 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +0 -70 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +0 -50 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +0 -72 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +0 -118 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +0 -173 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +0 -59 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +0 -394 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +0 -282 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +0 -237 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/locker.go +0 -32 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/postgres.go +0 -165 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +0 -98 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +0 -136 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/log.go +0 -36 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migrate.go +0 -379 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration.go +0 -398 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration_sql.go +0 -115 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/osfs.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider.go +0 -669 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_collect.go +0 -196 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_errors.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_options.go +0 -280 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_run.go +0 -535 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_types.go +0 -91 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/redo.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/register.go +0 -133 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/reset.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/status.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/up.go +0 -221 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/version.go +0 -52 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/LICENSE.txt +0 -21 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/README.md +0 -137 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/doc.go +0 -108 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/eastasianwidth.go +0 -2588 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/emojipresentation.go +0 -295 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_breaktest.go +0 -215 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_properties.go +0 -261 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/grapheme.go +0 -331 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemeproperties.go +0 -1915 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemerules.go +0 -176 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/line.go +0 -134 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/lineproperties.go +0 -3554 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/linerules.go +0 -626 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/properties.go +0 -208 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentence.go +0 -90 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentenceproperties.go +0 -2845 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentencerules.go +0 -276 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/step.go +0 -242 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/width.go +0 -61 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/word.go +0 -89 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordproperties.go +0 -1883 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordrules.go +0 -282 collapsed to keep the page light
D vendor/github.com/rs/zerolog/.gitignore +0 -27 collapsed to keep the page light
D vendor/github.com/rs/zerolog/CONTRIBUTING.md +0 -43 collapsed to keep the page light
D vendor/github.com/rs/zerolog/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/rs/zerolog/README.md +0 -858 collapsed to keep the page light
D vendor/github.com/rs/zerolog/array.go +0 -276 collapsed to keep the page light
D vendor/github.com/rs/zerolog/console.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/context.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/ctx.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder.go +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_cbor.go +0 -45 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_json.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/event.go +0 -919 collapsed to keep the page light
D vendor/github.com/rs/zerolog/example.jsonl +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/fields.go +0 -312 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals.go +0 -208 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals_118.go +0 -30 collapsed to keep the page light
D vendor/github.com/rs/zerolog/go112.go +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/hook.go +0 -64 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/README.md +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/cbor.go +0 -102 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +0 -654 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/string.go +0 -117 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/time.go +0 -111 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/types.go +0 -524 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/bytes.go +0 -85 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/string.go +0 -149 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/types.go +0 -466 collapsed to keep the page light
D vendor/github.com/rs/zerolog/log.go +0 -528 collapsed to keep the page light
D vendor/github.com/rs/zerolog/not_go112.go +0 -5 collapsed to keep the page light
D vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff

binary file: no text diff

D vendor/github.com/rs/zerolog/sampler.go +0 -137 collapsed to keep the page light
D vendor/github.com/rs/zerolog/slog.go +0 -247 collapsed to keep the page light
D vendor/github.com/rs/zerolog/syslog.go +0 -89 collapsed to keep the page light
D vendor/github.com/rs/zerolog/writer.go +0 -355 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.travis.yml +0 -17 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/LICENSE.txt +0 -29 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/README.md +0 -335 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/block.go +0 -1612 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/doc.go +0 -46 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/entities.go +0 -2236 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/esc.go +0 -70 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/html.go +0 -952 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/inline.go +0 -1228 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/markdown.go +0 -950 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/node.go +0 -360 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/smartypants.go +0 -457 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.gitignore +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.golangci.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/LICENSE +0 -19 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/README.md +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.nix +0 -17 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/file_type.go +0 -32 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/finder.go +0 -171 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob.go +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob_windows.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/helpers.go +0 -41 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +0 -53 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/justfile +0 -14 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.editorconfig +0 -18 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +0 -1 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/Makefile +0 -59 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/README.md +0 -186 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/fuzzy.go +0 -263 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/LICENSE +0 -202 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/README.md +0 -185 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff.go +0 -134 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_constant.go +0 -25 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_exponential.go +0 -47 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +0 -56 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/rand.go +0 -54 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/retry.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/afero/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/afero/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/afero/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/spf13/afero/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/afero/README.md +0 -474 collapsed to keep the page light
D vendor/github.com/spf13/afero/afero.go +0 -111 collapsed to keep the page light
D vendor/github.com/spf13/afero/appveyor.yml +0 -10 collapsed to keep the page light
D vendor/github.com/spf13/afero/basepath.go +0 -222 collapsed to keep the page light
D vendor/github.com/spf13/afero/cacheOnReadFs.go +0 -315 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_bsds.go +0 -23 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_win_unix.go +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/afero/copyOnWriteFs.go +0 -332 collapsed to keep the page light
D vendor/github.com/spf13/afero/httpFs.go +0 -114 collapsed to keep the page light
D vendor/github.com/spf13/afero/internal/common/adapters.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/iofs.go +0 -302 collapsed to keep the page light
D vendor/github.com/spf13/afero/ioutil.go +0 -243 collapsed to keep the page light
D vendor/github.com/spf13/afero/lstater.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/match.go +0 -110 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dir.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dirmap.go +0 -43 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/file.go +0 -373 collapsed to keep the page light
D vendor/github.com/spf13/afero/memmap.go +0 -463 collapsed to keep the page light
D vendor/github.com/spf13/afero/os.go +0 -113 collapsed to keep the page light
D vendor/github.com/spf13/afero/path.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/afero/readonlyfs.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/afero/regexpfs.go +0 -223 collapsed to keep the page light
D vendor/github.com/spf13/afero/symlink.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/afero/unionFile.go +0 -331 collapsed to keep the page light
D vendor/github.com/spf13/afero/util.go +0 -329 collapsed to keep the page light
D vendor/github.com/spf13/cast/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/cast/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/spf13/cast/.golangci.yaml +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cast/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/cast/Makefile +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/cast/README.md +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/alias.go +0 -69 collapsed to keep the page light
D vendor/github.com/spf13/cast/basic.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cast/cast.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/cast/indirect.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/time.go +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/timeformattype_string.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/cast/map.go +0 -212 collapsed to keep the page light
D vendor/github.com/spf13/cast/number.go +0 -549 collapsed to keep the page light
D vendor/github.com/spf13/cast/slice.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/cast/time.go +0 -116 collapsed to keep the page light
D vendor/github.com/spf13/cast/zz_generated.go +0 -261 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.gitignore +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.golangci.yml +0 -66 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.mailmap +0 -3 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONDUCT.md +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/spf13/cobra/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/cobra/MAINTAINERS +0 -13 collapsed to keep the page light
D vendor/github.com/spf13/cobra/Makefile +0 -35 collapsed to keep the page light
D vendor/github.com/spf13/cobra/README.md +0 -133 collapsed to keep the page light
D vendor/github.com/spf13/cobra/SECURITY.md +0 -105 collapsed to keep the page light
D vendor/github.com/spf13/cobra/active_help.go +0 -60 collapsed to keep the page light
D vendor/github.com/spf13/cobra/args.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completions.go +0 -709 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completionsV2.go +0 -484 collapsed to keep the page light
D vendor/github.com/spf13/cobra/cobra.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command.go +0 -2072 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_notwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_win.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/cobra/completions.go +0 -1020 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/man_docs.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/md_docs.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/rest_docs.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/util.go +0 -52 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/yaml_docs.go +0 -175 collapsed to keep the page light
D vendor/github.com/spf13/cobra/fish_completions.go +0 -292 collapsed to keep the page light
D vendor/github.com/spf13/cobra/flag_groups.go +0 -290 collapsed to keep the page light
D vendor/github.com/spf13/cobra/powershell_completions.go +0 -350 collapsed to keep the page light
D vendor/github.com/spf13/cobra/shell_completions.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/cobra/zsh_completions.go +0 -308 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.editorconfig +0 -12 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.golangci.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.travis.yml +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/pflag/LICENSE +0 -28 collapsed to keep the page light
D vendor/github.com/spf13/pflag/README.md +0 -323 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool.go +0 -94 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_func.go +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_slice.go +0 -185 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bytes.go +0 -209 collapsed to keep the page light
D vendor/github.com/spf13/pflag/count.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration.go +0 -86 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/errors.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/flag.go +0 -1289 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/func.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/pflag/golangflag.go +0 -161 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int_slice.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip.go +0 -97 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip_slice.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipmask.go +0 -122 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet_slice.go +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string.go +0 -80 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_array.go +0 -125 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_slice.go +0 -163 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int64.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_string.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/pflag/text.go +0 -81 collapsed to keep the page light
D vendor/github.com/spf13/pflag/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint64.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint_slice.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/viper/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/viper/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/.golangci.yaml +0 -118 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamlignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamllint.yaml +0 -6 collapsed to keep the page light
D vendor/github.com/spf13/viper/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/Makefile +0 -87 collapsed to keep the page light
D vendor/github.com/spf13/viper/README.md +0 -931 collapsed to keep the page light
D vendor/github.com/spf13/viper/TROUBLESHOOTING.md +0 -32 collapsed to keep the page light
D vendor/github.com/spf13/viper/UPGRADE.md +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/viper/encoding.go +0 -181 collapsed to keep the page light
D vendor/github.com/spf13/viper/experimental.go +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/file.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/viper/finder.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/viper/flags.go +0 -57 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.lock +0 -255 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.nix +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/json/codec.go +0 -17 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +0 -16 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +0 -14 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/logger.go +0 -31 collapsed to keep the page light
D vendor/github.com/spf13/viper/remote.go +0 -259 collapsed to keep the page light
D vendor/github.com/spf13/viper/util.go +0 -211 collapsed to keep the page light
D vendor/github.com/spf13/viper/viper.go +0 -2077 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.codeclimate.yml +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.gitignore +0 -11 collapsed to keep the page light
D vendor/github.com/stretchr/objx/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/stretchr/objx/README.md +0 -91 collapsed to keep the page light
D vendor/github.com/stretchr/objx/Taskfile.yml +0 -27 collapsed to keep the page light
D vendor/github.com/stretchr/objx/accessors.go +0 -197 collapsed to keep the page light
D vendor/github.com/stretchr/objx/conversions.go +0 -280 collapsed to keep the page light
D vendor/github.com/stretchr/objx/doc.go +0 -66 collapsed to keep the page light
D vendor/github.com/stretchr/objx/map.go +0 -214 collapsed to keep the page light
D vendor/github.com/stretchr/objx/mutations.go +0 -77 collapsed to keep the page light
D vendor/github.com/stretchr/objx/security.go +0 -12 collapsed to keep the page light
D vendor/github.com/stretchr/objx/tests.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific.go +0 -346 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific_codegen.go +0 -2261 collapsed to keep the page light
D vendor/github.com/stretchr/objx/value.go +0 -159 collapsed to keep the page light
D vendor/github.com/stretchr/testify/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_compare.go +0 -495 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go +0 -866 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go +0 -1723 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_order.go +0 -81 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertions.go +0 -2295 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/doc.go +0 -50 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/errors.go +0 -10 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/forward_assertions.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/http_assertions.go +0 -165 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +0 -24 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +0 -36 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/doc.go +0 -44 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/mock.go +0 -1298 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/doc.go +0 -31 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/forward_requirements.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go +0 -2180 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go.tmpl +0 -6 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go +0 -1724 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/requirements.go +0 -29 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env.invalid +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.gitignore +0 -4 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.golangci.yaml +0 -7 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/CHANGELOG.md +0 -105 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/README.md +0 -129 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/gotenv.go +0 -409 collapsed to keep the page light
D vendor/github.com/xo/terminfo/.gitignore +0 -9 collapsed to keep the page light
D vendor/github.com/xo/terminfo/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/xo/terminfo/README.md +0 -139 collapsed to keep the page light
D vendor/github.com/xo/terminfo/caps.go +0 -31 collapsed to keep the page light
D vendor/github.com/xo/terminfo/capvals.go +0 -1525 collapsed to keep the page light
D vendor/github.com/xo/terminfo/color.go +0 -88 collapsed to keep the page light
D vendor/github.com/xo/terminfo/dec.go +0 -245 collapsed to keep the page light
D vendor/github.com/xo/terminfo/load.go +0 -64 collapsed to keep the page light
D vendor/github.com/xo/terminfo/param.go +0 -405 collapsed to keep the page light
D vendor/github.com/xo/terminfo/stack.go +0 -48 collapsed to keep the page light
D vendor/github.com/xo/terminfo/terminfo.go +0 -479 collapsed to keep the page light
D vendor/go.uber.org/multierr/.codecov.yml +0 -15 collapsed to keep the page light
D vendor/go.uber.org/multierr/.gitignore +0 -4 collapsed to keep the page light
D vendor/go.uber.org/multierr/CHANGELOG.md +0 -95 collapsed to keep the page light
D vendor/go.uber.org/multierr/LICENSE.txt +0 -19 collapsed to keep the page light
D vendor/go.uber.org/multierr/Makefile +0 -38 collapsed to keep the page light
D vendor/go.uber.org/multierr/README.md +0 -43 collapsed to keep the page light
D vendor/go.uber.org/multierr/error.go +0 -646 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_post_go120.go +0 -48 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_pre_go120.go +0 -79 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/LICENSE +0 -50 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/NOTICE +0 -13 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/README.md +0 -171 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/apic.go +0 -747 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/decode.go +0 -1018 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/emitterc.go +0 -2054 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/encode.go +0 -577 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/parserc.go +0 -1274 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/readerc.go +0 -434 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/resolve.go +0 -326 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/scannerc.go +0 -3040 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/sorter.go +0 -134 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/writerc.go +0 -48 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yaml.go +0 -703 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlh.go +0 -811 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlprivateh.go +0 -198 collapsed to keep the page light
D vendor/golang.org/x/image/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/image/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/image/draw/draw.go +0 -67 collapsed to keep the page light
D vendor/golang.org/x/image/draw/impl.go +0 -8426
@@ -1,8426 +0,0 @@
1-// generated by "go run gen.go". DO NOT EDIT.
2-
3-package draw
4-
5-import (
6- "image"
7- "image/color"
8- "math"
9-
10- "golang.org/x/image/math/f64"
11-)
12-
13-func (z nnInterpolator) Scale(dst Image, dr image.Rectangle, src image.Image, sr image.Rectangle, op Op, opts *Options) {
14- // Try to simplify a Scale to a Copy when DstMask is not specified.
15- // If DstMask is not nil, Copy will call Scale back with same dr and sr, and cause stack overflow.
16- if dr.Size() == sr.Size() && (opts == nil || opts.DstMask == nil) {
17- Copy(dst, dr.Min, src, sr, op, opts)
18- return
19- }
20-
21- var o Options
22- if opts != nil {
23- o = *opts
24- }
25-
26- // adr is the affected destination pixels.
27- adr := dst.Bounds().Intersect(dr)
28- adr, o.DstMask = clipAffectedDestRect(adr, o.DstMask, o.DstMaskP)
29- if adr.Empty() || sr.Empty() {
30- return
31- }
32- // Make adr relative to dr.Min.
33- adr = adr.Sub(dr.Min)
34- if op == Over && o.SrcMask == nil && opaque(src) {
35- op = Src
36- }
37-
38- // sr is the source pixels. If it extends beyond the src bounds,
39- // we cannot use the type-specific fast paths, as they access
40- // the Pix fields directly without bounds checking.
41- //
42- // Similarly, the fast paths assume that the masks are nil.
43- if o.DstMask != nil || o.SrcMask != nil || !sr.In(src.Bounds()) {
44- switch op {
45- case Over:
46- z.scale_Image_Image_Over(dst, dr, adr, src, sr, &o)
47- case Src:
48- z.scale_Image_Image_Src(dst, dr, adr, src, sr, &o)
49- }
50- } else if _, ok := src.(*image.Uniform); ok {
51- Draw(dst, dr, src, src.Bounds().Min, op)
52- } else {
53- switch op {
54- case Over:
55- switch dst := dst.(type) {
56- case *image.RGBA:
57- switch src := src.(type) {
58- case *image.NRGBA:
59- z.scale_RGBA_NRGBA_Over(dst, dr, adr, src, sr, &o)
60- case *image.RGBA:
61- z.scale_RGBA_RGBA_Over(dst, dr, adr, src, sr, &o)
62- case image.RGBA64Image:
63- z.scale_RGBA_RGBA64Image_Over(dst, dr, adr, src, sr, &o)
64- default:
65- z.scale_RGBA_Image_Over(dst, dr, adr, src, sr, &o)
66- }
67- case RGBA64Image:
68- switch src := src.(type) {
69- case image.RGBA64Image:
70- z.scale_RGBA64Image_RGBA64Image_Over(dst, dr, adr, src, sr, &o)
71- }
72- default:
73- switch src := src.(type) {
74- default:
75- z.scale_Image_Image_Over(dst, dr, adr, src, sr, &o)
76- }
77- }
78- case Src:
79- switch dst := dst.(type) {
80- case *image.RGBA:
81- switch src := src.(type) {
82- case *image.Gray:
83- z.scale_RGBA_Gray_Src(dst, dr, adr, src, sr, &o)
84- case *image.NRGBA:
85- z.scale_RGBA_NRGBA_Src(dst, dr, adr, src, sr, &o)
86- case *image.RGBA:
87- z.scale_RGBA_RGBA_Src(dst, dr, adr, src, sr, &o)
88- case *image.YCbCr:
89- switch src.SubsampleRatio {
90- default:
91- z.scale_RGBA_Image_Src(dst, dr, adr, src, sr, &o)
92- case image.YCbCrSubsampleRatio444:
93- z.scale_RGBA_YCbCr444_Src(dst, dr, adr, src, sr, &o)
94- case image.YCbCrSubsampleRatio422:
95- z.scale_RGBA_YCbCr422_Src(dst, dr, adr, src, sr, &o)
96- case image.YCbCrSubsampleRatio420:
97- z.scale_RGBA_YCbCr420_Src(dst, dr, adr, src, sr, &o)
98- case image.YCbCrSubsampleRatio440:
99- z.scale_RGBA_YCbCr440_Src(dst, dr, adr, src, sr, &o)
100- }
101- case image.RGBA64Image:
102- z.scale_RGBA_RGBA64Image_Src(dst, dr, adr, src, sr, &o)
103- default:
104- z.scale_RGBA_Image_Src(dst, dr, adr, src, sr, &o)
105- }
106- case RGBA64Image:
107- switch src := src.(type) {
108- case image.RGBA64Image:
109- z.scale_RGBA64Image_RGBA64Image_Src(dst, dr, adr, src, sr, &o)
110- }
111- default:
112- switch src := src.(type) {
113- default:
114- z.scale_Image_Image_Src(dst, dr, adr, src, sr, &o)
115- }
116- }
117- }
118- }
119-}
120-
121-func (z nnInterpolator) Transform(dst Image, s2d f64.Aff3, src image.Image, sr image.Rectangle, op Op, opts *Options) {
122- // Try to simplify a Transform to a Copy.
123- if s2d[0] == 1 && s2d[1] == 0 && s2d[3] == 0 && s2d[4] == 1 {
124- dx := int(s2d[2])
125- dy := int(s2d[5])
126- if float64(dx) == s2d[2] && float64(dy) == s2d[5] {
127- Copy(dst, image.Point{X: sr.Min.X + dx, Y: sr.Min.X + dy}, src, sr, op, opts)
128- return
129- }
130- }
131-
132- var o Options
133- if opts != nil {
134- o = *opts
135- }
136-
137- dr := transformRect(&s2d, &sr)
138- // adr is the affected destination pixels.
139- adr := dst.Bounds().Intersect(dr)
140- adr, o.DstMask = clipAffectedDestRect(adr, o.DstMask, o.DstMaskP)
141- if adr.Empty() || sr.Empty() {
142- return
143- }
144- if op == Over && o.SrcMask == nil && opaque(src) {
145- op = Src
146- }
147-
148- d2s := invert(&s2d)
149- // bias is a translation of the mapping from dst coordinates to src
150- // coordinates such that the latter temporarily have non-negative X
151- // and Y coordinates. This allows us to write int(f) instead of
152- // int(math.Floor(f)), since "round to zero" and "round down" are
153- // equivalent when f >= 0, but the former is much cheaper. The X--
154- // and Y-- are because the TransformLeaf methods have a "sx -= 0.5"
155- // adjustment.
156- bias := transformRect(&d2s, &adr).Min
157- bias.X--
158- bias.Y--
159- d2s[2] -= float64(bias.X)
160- d2s[5] -= float64(bias.Y)
161- // Make adr relative to dr.Min.
162- adr = adr.Sub(dr.Min)
163- // sr is the source pixels. If it extends beyond the src bounds,
164- // we cannot use the type-specific fast paths, as they access
165- // the Pix fields directly without bounds checking.
166- //
167- // Similarly, the fast paths assume that the masks are nil.
168- if o.DstMask != nil || o.SrcMask != nil || !sr.In(src.Bounds()) {
169- switch op {
170- case Over:
171- z.transform_Image_Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
172- case Src:
173- z.transform_Image_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
174- }
175- } else if u, ok := src.(*image.Uniform); ok {
176- transform_Uniform(dst, dr, adr, &d2s, u, sr, bias, op)
177- } else {
178- switch op {
179- case Over:
180- switch dst := dst.(type) {
181- case *image.RGBA:
182- switch src := src.(type) {
183- case *image.NRGBA:
184- z.transform_RGBA_NRGBA_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
185- case *image.RGBA:
186- z.transform_RGBA_RGBA_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
187- case image.RGBA64Image:
188- z.transform_RGBA_RGBA64Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
189- default:
190- z.transform_RGBA_Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
191- }
192- case RGBA64Image:
193- switch src := src.(type) {
194- case image.RGBA64Image:
195- z.transform_RGBA64Image_RGBA64Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
196- }
197- default:
198- switch src := src.(type) {
199- default:
200- z.transform_Image_Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
201- }
202- }
203- case Src:
204- switch dst := dst.(type) {
205- case *image.RGBA:
206- switch src := src.(type) {
207- case *image.Gray:
208- z.transform_RGBA_Gray_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
209- case *image.NRGBA:
210- z.transform_RGBA_NRGBA_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
211- case *image.RGBA:
212- z.transform_RGBA_RGBA_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
213- case *image.YCbCr:
214- switch src.SubsampleRatio {
215- default:
216- z.transform_RGBA_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
217- case image.YCbCrSubsampleRatio444:
218- z.transform_RGBA_YCbCr444_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
219- case image.YCbCrSubsampleRatio422:
220- z.transform_RGBA_YCbCr422_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
221- case image.YCbCrSubsampleRatio420:
222- z.transform_RGBA_YCbCr420_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
223- case image.YCbCrSubsampleRatio440:
224- z.transform_RGBA_YCbCr440_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
225- }
226- case image.RGBA64Image:
227- z.transform_RGBA_RGBA64Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
228- default:
229- z.transform_RGBA_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
230- }
231- case RGBA64Image:
232- switch src := src.(type) {
233- case image.RGBA64Image:
234- z.transform_RGBA64Image_RGBA64Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
235- }
236- default:
237- switch src := src.(type) {
238- default:
239- z.transform_Image_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
240- }
241- }
242- }
243- }
244-}
245-
246-func (nnInterpolator) scale_RGBA_Gray_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.Gray, sr image.Rectangle, opts *Options) {
247- dw2 := uint64(dr.Dx()) * 2
248- dh2 := uint64(dr.Dy()) * 2
249- sw := uint64(sr.Dx())
250- sh := uint64(sr.Dy())
251- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
252- sy := (2*uint64(dy) + 1) * sh / dh2
253- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
254- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
255- sx := (2*uint64(dx) + 1) * sw / dw2
256- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.Stride + (sr.Min.X + int(sx) - src.Rect.Min.X)
257- pr := uint32(src.Pix[pi]) * 0x101
258- out := uint8(pr >> 8)
259- dst.Pix[d+0] = out
260- dst.Pix[d+1] = out
261- dst.Pix[d+2] = out
262- dst.Pix[d+3] = 0xff
263- }
264- }
265-}
266-
267-func (nnInterpolator) scale_RGBA_NRGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, src *image.NRGBA, sr image.Rectangle, opts *Options) {
268- dw2 := uint64(dr.Dx()) * 2
269- dh2 := uint64(dr.Dy()) * 2
270- sw := uint64(sr.Dx())
271- sh := uint64(sr.Dy())
272- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
273- sy := (2*uint64(dy) + 1) * sh / dh2
274- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
275- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
276- sx := (2*uint64(dx) + 1) * sw / dw2
277- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx)-src.Rect.Min.X)*4
278- pa := uint32(src.Pix[pi+3]) * 0x101
279- pr := uint32(src.Pix[pi+0]) * pa / 0xff
280- pg := uint32(src.Pix[pi+1]) * pa / 0xff
281- pb := uint32(src.Pix[pi+2]) * pa / 0xff
282- pa1 := (0xffff - pa) * 0x101
283- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
284- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
285- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
286- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
287- }
288- }
289-}
290-
291-func (nnInterpolator) scale_RGBA_NRGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.NRGBA, sr image.Rectangle, opts *Options) {
292- dw2 := uint64(dr.Dx()) * 2
293- dh2 := uint64(dr.Dy()) * 2
294- sw := uint64(sr.Dx())
295- sh := uint64(sr.Dy())
296- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
297- sy := (2*uint64(dy) + 1) * sh / dh2
298- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
299- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
300- sx := (2*uint64(dx) + 1) * sw / dw2
301- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx)-src.Rect.Min.X)*4
302- pa := uint32(src.Pix[pi+3]) * 0x101
303- pr := uint32(src.Pix[pi+0]) * pa / 0xff
304- pg := uint32(src.Pix[pi+1]) * pa / 0xff
305- pb := uint32(src.Pix[pi+2]) * pa / 0xff
306- dst.Pix[d+0] = uint8(pr >> 8)
307- dst.Pix[d+1] = uint8(pg >> 8)
308- dst.Pix[d+2] = uint8(pb >> 8)
309- dst.Pix[d+3] = uint8(pa >> 8)
310- }
311- }
312-}
313-
314-func (nnInterpolator) scale_RGBA_RGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, src *image.RGBA, sr image.Rectangle, opts *Options) {
315- dw2 := uint64(dr.Dx()) * 2
316- dh2 := uint64(dr.Dy()) * 2
317- sw := uint64(sr.Dx())
318- sh := uint64(sr.Dy())
319- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
320- sy := (2*uint64(dy) + 1) * sh / dh2
321- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
322- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
323- sx := (2*uint64(dx) + 1) * sw / dw2
324- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx)-src.Rect.Min.X)*4
325- pr := uint32(src.Pix[pi+0]) * 0x101
326- pg := uint32(src.Pix[pi+1]) * 0x101
327- pb := uint32(src.Pix[pi+2]) * 0x101
328- pa := uint32(src.Pix[pi+3]) * 0x101
329- pa1 := (0xffff - pa) * 0x101
330- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
331- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
332- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
333- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
334- }
335- }
336-}
337-
338-func (nnInterpolator) scale_RGBA_RGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.RGBA, sr image.Rectangle, opts *Options) {
339- dw2 := uint64(dr.Dx()) * 2
340- dh2 := uint64(dr.Dy()) * 2
341- sw := uint64(sr.Dx())
342- sh := uint64(sr.Dy())
343- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
344- sy := (2*uint64(dy) + 1) * sh / dh2
345- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
346- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
347- sx := (2*uint64(dx) + 1) * sw / dw2
348- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx)-src.Rect.Min.X)*4
349- pr := uint32(src.Pix[pi+0]) * 0x101
350- pg := uint32(src.Pix[pi+1]) * 0x101
351- pb := uint32(src.Pix[pi+2]) * 0x101
352- pa := uint32(src.Pix[pi+3]) * 0x101
353- dst.Pix[d+0] = uint8(pr >> 8)
354- dst.Pix[d+1] = uint8(pg >> 8)
355- dst.Pix[d+2] = uint8(pb >> 8)
356- dst.Pix[d+3] = uint8(pa >> 8)
357- }
358- }
359-}
360-
361-func (nnInterpolator) scale_RGBA_YCbCr444_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
362- dw2 := uint64(dr.Dx()) * 2
363- dh2 := uint64(dr.Dy()) * 2
364- sw := uint64(sr.Dx())
365- sh := uint64(sr.Dy())
366- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
367- sy := (2*uint64(dy) + 1) * sh / dh2
368- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
369- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
370- sx := (2*uint64(dx) + 1) * sw / dw2
371- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx) - src.Rect.Min.X)
372- pj := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.CStride + (sr.Min.X + int(sx) - src.Rect.Min.X)
373-
374- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
375- pyy1 := int(src.Y[pi]) * 0x10101
376- pcb1 := int(src.Cb[pj]) - 128
377- pcr1 := int(src.Cr[pj]) - 128
378- pr := (pyy1 + 91881*pcr1) >> 8
379- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
380- pb := (pyy1 + 116130*pcb1) >> 8
381- if pr < 0 {
382- pr = 0
383- } else if pr > 0xffff {
384- pr = 0xffff
385- }
386- if pg < 0 {
387- pg = 0
388- } else if pg > 0xffff {
389- pg = 0xffff
390- }
391- if pb < 0 {
392- pb = 0
393- } else if pb > 0xffff {
394- pb = 0xffff
395- }
396- dst.Pix[d+0] = uint8(pr >> 8)
397- dst.Pix[d+1] = uint8(pg >> 8)
398- dst.Pix[d+2] = uint8(pb >> 8)
399- dst.Pix[d+3] = 0xff
400- }
401- }
402-}
403-
404-func (nnInterpolator) scale_RGBA_YCbCr422_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
405- dw2 := uint64(dr.Dx()) * 2
406- dh2 := uint64(dr.Dy()) * 2
407- sw := uint64(sr.Dx())
408- sh := uint64(sr.Dy())
409- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
410- sy := (2*uint64(dy) + 1) * sh / dh2
411- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
412- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
413- sx := (2*uint64(dx) + 1) * sw / dw2
414- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx) - src.Rect.Min.X)
415- pj := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.CStride + ((sr.Min.X+int(sx))/2 - src.Rect.Min.X/2)
416-
417- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
418- pyy1 := int(src.Y[pi]) * 0x10101
419- pcb1 := int(src.Cb[pj]) - 128
420- pcr1 := int(src.Cr[pj]) - 128
421- pr := (pyy1 + 91881*pcr1) >> 8
422- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
423- pb := (pyy1 + 116130*pcb1) >> 8
424- if pr < 0 {
425- pr = 0
426- } else if pr > 0xffff {
427- pr = 0xffff
428- }
429- if pg < 0 {
430- pg = 0
431- } else if pg > 0xffff {
432- pg = 0xffff
433- }
434- if pb < 0 {
435- pb = 0
436- } else if pb > 0xffff {
437- pb = 0xffff
438- }
439- dst.Pix[d+0] = uint8(pr >> 8)
440- dst.Pix[d+1] = uint8(pg >> 8)
441- dst.Pix[d+2] = uint8(pb >> 8)
442- dst.Pix[d+3] = 0xff
443- }
444- }
445-}
446-
447-func (nnInterpolator) scale_RGBA_YCbCr420_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
448- dw2 := uint64(dr.Dx()) * 2
449- dh2 := uint64(dr.Dy()) * 2
450- sw := uint64(sr.Dx())
451- sh := uint64(sr.Dy())
452- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
453- sy := (2*uint64(dy) + 1) * sh / dh2
454- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
455- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
456- sx := (2*uint64(dx) + 1) * sw / dw2
457- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx) - src.Rect.Min.X)
458- pj := ((sr.Min.Y+int(sy))/2-src.Rect.Min.Y/2)*src.CStride + ((sr.Min.X+int(sx))/2 - src.Rect.Min.X/2)
459-
460- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
461- pyy1 := int(src.Y[pi]) * 0x10101
462- pcb1 := int(src.Cb[pj]) - 128
463- pcr1 := int(src.Cr[pj]) - 128
464- pr := (pyy1 + 91881*pcr1) >> 8
465- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
466- pb := (pyy1 + 116130*pcb1) >> 8
467- if pr < 0 {
468- pr = 0
469- } else if pr > 0xffff {
470- pr = 0xffff
471- }
472- if pg < 0 {
473- pg = 0
474- } else if pg > 0xffff {
475- pg = 0xffff
476- }
477- if pb < 0 {
478- pb = 0
479- } else if pb > 0xffff {
480- pb = 0xffff
481- }
482- dst.Pix[d+0] = uint8(pr >> 8)
483- dst.Pix[d+1] = uint8(pg >> 8)
484- dst.Pix[d+2] = uint8(pb >> 8)
485- dst.Pix[d+3] = 0xff
486- }
487- }
488-}
489-
490-func (nnInterpolator) scale_RGBA_YCbCr440_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
491- dw2 := uint64(dr.Dx()) * 2
492- dh2 := uint64(dr.Dy()) * 2
493- sw := uint64(sr.Dx())
494- sh := uint64(sr.Dy())
495- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
496- sy := (2*uint64(dy) + 1) * sh / dh2
497- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
498- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
499- sx := (2*uint64(dx) + 1) * sw / dw2
500- pi := (sr.Min.Y+int(sy)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx) - src.Rect.Min.X)
501- pj := ((sr.Min.Y+int(sy))/2-src.Rect.Min.Y/2)*src.CStride + (sr.Min.X + int(sx) - src.Rect.Min.X)
502-
503- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
504- pyy1 := int(src.Y[pi]) * 0x10101
505- pcb1 := int(src.Cb[pj]) - 128
506- pcr1 := int(src.Cr[pj]) - 128
507- pr := (pyy1 + 91881*pcr1) >> 8
508- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
509- pb := (pyy1 + 116130*pcb1) >> 8
510- if pr < 0 {
511- pr = 0
512- } else if pr > 0xffff {
513- pr = 0xffff
514- }
515- if pg < 0 {
516- pg = 0
517- } else if pg > 0xffff {
518- pg = 0xffff
519- }
520- if pb < 0 {
521- pb = 0
522- } else if pb > 0xffff {
523- pb = 0xffff
524- }
525- dst.Pix[d+0] = uint8(pr >> 8)
526- dst.Pix[d+1] = uint8(pg >> 8)
527- dst.Pix[d+2] = uint8(pb >> 8)
528- dst.Pix[d+3] = 0xff
529- }
530- }
531-}
532-
533-func (nnInterpolator) scale_RGBA_RGBA64Image_Over(dst *image.RGBA, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
534- dw2 := uint64(dr.Dx()) * 2
535- dh2 := uint64(dr.Dy()) * 2
536- sw := uint64(sr.Dx())
537- sh := uint64(sr.Dy())
538- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
539- sy := (2*uint64(dy) + 1) * sh / dh2
540- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
541- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
542- sx := (2*uint64(dx) + 1) * sw / dw2
543- p := src.RGBA64At(sr.Min.X+int(sx), sr.Min.Y+int(sy))
544- pa1 := (0xffff - uint32(p.A)) * 0x101
545- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + uint32(p.R)) >> 8)
546- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + uint32(p.G)) >> 8)
547- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + uint32(p.B)) >> 8)
548- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + uint32(p.A)) >> 8)
549- }
550- }
551-}
552-
553-func (nnInterpolator) scale_RGBA_RGBA64Image_Src(dst *image.RGBA, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
554- dw2 := uint64(dr.Dx()) * 2
555- dh2 := uint64(dr.Dy()) * 2
556- sw := uint64(sr.Dx())
557- sh := uint64(sr.Dy())
558- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
559- sy := (2*uint64(dy) + 1) * sh / dh2
560- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
561- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
562- sx := (2*uint64(dx) + 1) * sw / dw2
563- p := src.RGBA64At(sr.Min.X+int(sx), sr.Min.Y+int(sy))
564- dst.Pix[d+0] = uint8(p.R >> 8)
565- dst.Pix[d+1] = uint8(p.G >> 8)
566- dst.Pix[d+2] = uint8(p.B >> 8)
567- dst.Pix[d+3] = uint8(p.A >> 8)
568- }
569- }
570-}
571-
572-func (nnInterpolator) scale_RGBA_Image_Over(dst *image.RGBA, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
573- dw2 := uint64(dr.Dx()) * 2
574- dh2 := uint64(dr.Dy()) * 2
575- sw := uint64(sr.Dx())
576- sh := uint64(sr.Dy())
577- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
578- sy := (2*uint64(dy) + 1) * sh / dh2
579- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
580- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
581- sx := (2*uint64(dx) + 1) * sw / dw2
582- pr, pg, pb, pa := src.At(sr.Min.X+int(sx), sr.Min.Y+int(sy)).RGBA()
583- pa1 := (0xffff - pa) * 0x101
584- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
585- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
586- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
587- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
588- }
589- }
590-}
591-
592-func (nnInterpolator) scale_RGBA_Image_Src(dst *image.RGBA, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
593- dw2 := uint64(dr.Dx()) * 2
594- dh2 := uint64(dr.Dy()) * 2
595- sw := uint64(sr.Dx())
596- sh := uint64(sr.Dy())
597- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
598- sy := (2*uint64(dy) + 1) * sh / dh2
599- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
600- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
601- sx := (2*uint64(dx) + 1) * sw / dw2
602- pr, pg, pb, pa := src.At(sr.Min.X+int(sx), sr.Min.Y+int(sy)).RGBA()
603- dst.Pix[d+0] = uint8(pr >> 8)
604- dst.Pix[d+1] = uint8(pg >> 8)
605- dst.Pix[d+2] = uint8(pb >> 8)
606- dst.Pix[d+3] = uint8(pa >> 8)
607- }
608- }
609-}
610-
611-func (nnInterpolator) scale_RGBA64Image_RGBA64Image_Over(dst RGBA64Image, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
612- dw2 := uint64(dr.Dx()) * 2
613- dh2 := uint64(dr.Dy()) * 2
614- sw := uint64(sr.Dx())
615- sh := uint64(sr.Dy())
616- srcMask, smp := opts.SrcMask, opts.SrcMaskP
617- dstMask, dmp := opts.DstMask, opts.DstMaskP
618- dstColorRGBA64 := color.RGBA64{}
619-
620- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
621- sy := (2*uint64(dy) + 1) * sh / dh2
622- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
623- sx := (2*uint64(dx) + 1) * sw / dw2
624- p := src.RGBA64At(sr.Min.X+int(sx), sr.Min.Y+int(sy))
625- if srcMask != nil {
626- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx), smp.Y+sr.Min.Y+int(sy)).RGBA()
627- p.R = uint16(uint32(p.R) * ma / 0xffff)
628- p.G = uint16(uint32(p.G) * ma / 0xffff)
629- p.B = uint16(uint32(p.B) * ma / 0xffff)
630- p.A = uint16(uint32(p.A) * ma / 0xffff)
631- }
632- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
633- if dstMask != nil {
634- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
635- p.R = uint16(uint32(p.R) * ma / 0xffff)
636- p.G = uint16(uint32(p.G) * ma / 0xffff)
637- p.B = uint16(uint32(p.B) * ma / 0xffff)
638- p.A = uint16(uint32(p.A) * ma / 0xffff)
639- }
640- pa1 := 0xffff - uint32(p.A)
641- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
642- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
643- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
644- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
645- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
646- }
647- }
648-}
649-
650-func (nnInterpolator) scale_RGBA64Image_RGBA64Image_Src(dst RGBA64Image, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
651- dw2 := uint64(dr.Dx()) * 2
652- dh2 := uint64(dr.Dy()) * 2
653- sw := uint64(sr.Dx())
654- sh := uint64(sr.Dy())
655- srcMask, smp := opts.SrcMask, opts.SrcMaskP
656- dstMask, dmp := opts.DstMask, opts.DstMaskP
657- dstColorRGBA64 := color.RGBA64{}
658-
659- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
660- sy := (2*uint64(dy) + 1) * sh / dh2
661- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
662- sx := (2*uint64(dx) + 1) * sw / dw2
663- p := src.RGBA64At(sr.Min.X+int(sx), sr.Min.Y+int(sy))
664- if srcMask != nil {
665- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx), smp.Y+sr.Min.Y+int(sy)).RGBA()
666- p.R = uint16(uint32(p.R) * ma / 0xffff)
667- p.G = uint16(uint32(p.G) * ma / 0xffff)
668- p.B = uint16(uint32(p.B) * ma / 0xffff)
669- p.A = uint16(uint32(p.A) * ma / 0xffff)
670- }
671- if dstMask != nil {
672- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
673- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
674- p.R = uint16(uint32(p.R) * ma / 0xffff)
675- p.G = uint16(uint32(p.G) * ma / 0xffff)
676- p.B = uint16(uint32(p.B) * ma / 0xffff)
677- p.A = uint16(uint32(p.A) * ma / 0xffff)
678- pa1 := 0xffff - ma
679- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
680- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
681- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
682- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
683- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
684- } else {
685- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), p)
686- }
687- }
688- }
689-}
690-
691-func (nnInterpolator) scale_Image_Image_Over(dst Image, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
692- dw2 := uint64(dr.Dx()) * 2
693- dh2 := uint64(dr.Dy()) * 2
694- sw := uint64(sr.Dx())
695- sh := uint64(sr.Dy())
696- srcMask, smp := opts.SrcMask, opts.SrcMaskP
697- dstMask, dmp := opts.DstMask, opts.DstMaskP
698- dstColorRGBA64 := &color.RGBA64{}
699- dstColor := color.Color(dstColorRGBA64)
700- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
701- sy := (2*uint64(dy) + 1) * sh / dh2
702- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
703- sx := (2*uint64(dx) + 1) * sw / dw2
704- pr, pg, pb, pa := src.At(sr.Min.X+int(sx), sr.Min.Y+int(sy)).RGBA()
705- if srcMask != nil {
706- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx), smp.Y+sr.Min.Y+int(sy)).RGBA()
707- pr = pr * ma / 0xffff
708- pg = pg * ma / 0xffff
709- pb = pb * ma / 0xffff
710- pa = pa * ma / 0xffff
711- }
712- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
713- if dstMask != nil {
714- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
715- pr = pr * ma / 0xffff
716- pg = pg * ma / 0xffff
717- pb = pb * ma / 0xffff
718- pa = pa * ma / 0xffff
719- }
720- pa1 := 0xffff - pa
721- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
722- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
723- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
724- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
725- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
726- }
727- }
728-}
729-
730-func (nnInterpolator) scale_Image_Image_Src(dst Image, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
731- dw2 := uint64(dr.Dx()) * 2
732- dh2 := uint64(dr.Dy()) * 2
733- sw := uint64(sr.Dx())
734- sh := uint64(sr.Dy())
735- srcMask, smp := opts.SrcMask, opts.SrcMaskP
736- dstMask, dmp := opts.DstMask, opts.DstMaskP
737- dstColorRGBA64 := &color.RGBA64{}
738- dstColor := color.Color(dstColorRGBA64)
739- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
740- sy := (2*uint64(dy) + 1) * sh / dh2
741- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
742- sx := (2*uint64(dx) + 1) * sw / dw2
743- pr, pg, pb, pa := src.At(sr.Min.X+int(sx), sr.Min.Y+int(sy)).RGBA()
744- if srcMask != nil {
745- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx), smp.Y+sr.Min.Y+int(sy)).RGBA()
746- pr = pr * ma / 0xffff
747- pg = pg * ma / 0xffff
748- pb = pb * ma / 0xffff
749- pa = pa * ma / 0xffff
750- }
751- if dstMask != nil {
752- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
753- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
754- pr = pr * ma / 0xffff
755- pg = pg * ma / 0xffff
756- pb = pb * ma / 0xffff
757- pa = pa * ma / 0xffff
758- pa1 := 0xffff - ma
759- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
760- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
761- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
762- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
763- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
764- } else {
765- dstColorRGBA64.R = uint16(pr)
766- dstColorRGBA64.G = uint16(pg)
767- dstColorRGBA64.B = uint16(pb)
768- dstColorRGBA64.A = uint16(pa)
769- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
770- }
771- }
772- }
773-}
774-
775-func (nnInterpolator) transform_RGBA_Gray_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.Gray, sr image.Rectangle, bias image.Point, opts *Options) {
776- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
777- dyf := float64(dr.Min.Y+int(dy)) + 0.5
778- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
779- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
780- dxf := float64(dr.Min.X+int(dx)) + 0.5
781- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
782- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
783- if !(image.Point{sx0, sy0}).In(sr) {
784- continue
785- }
786- pi := (sy0-src.Rect.Min.Y)*src.Stride + (sx0 - src.Rect.Min.X)
787- pr := uint32(src.Pix[pi]) * 0x101
788- out := uint8(pr >> 8)
789- dst.Pix[d+0] = out
790- dst.Pix[d+1] = out
791- dst.Pix[d+2] = out
792- dst.Pix[d+3] = 0xff
793- }
794- }
795-}
796-
797-func (nnInterpolator) transform_RGBA_NRGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.NRGBA, sr image.Rectangle, bias image.Point, opts *Options) {
798- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
799- dyf := float64(dr.Min.Y+int(dy)) + 0.5
800- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
801- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
802- dxf := float64(dr.Min.X+int(dx)) + 0.5
803- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
804- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
805- if !(image.Point{sx0, sy0}).In(sr) {
806- continue
807- }
808- pi := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
809- pa := uint32(src.Pix[pi+3]) * 0x101
810- pr := uint32(src.Pix[pi+0]) * pa / 0xff
811- pg := uint32(src.Pix[pi+1]) * pa / 0xff
812- pb := uint32(src.Pix[pi+2]) * pa / 0xff
813- pa1 := (0xffff - pa) * 0x101
814- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
815- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
816- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
817- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
818- }
819- }
820-}
821-
822-func (nnInterpolator) transform_RGBA_NRGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.NRGBA, sr image.Rectangle, bias image.Point, opts *Options) {
823- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
824- dyf := float64(dr.Min.Y+int(dy)) + 0.5
825- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
826- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
827- dxf := float64(dr.Min.X+int(dx)) + 0.5
828- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
829- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
830- if !(image.Point{sx0, sy0}).In(sr) {
831- continue
832- }
833- pi := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
834- pa := uint32(src.Pix[pi+3]) * 0x101
835- pr := uint32(src.Pix[pi+0]) * pa / 0xff
836- pg := uint32(src.Pix[pi+1]) * pa / 0xff
837- pb := uint32(src.Pix[pi+2]) * pa / 0xff
838- dst.Pix[d+0] = uint8(pr >> 8)
839- dst.Pix[d+1] = uint8(pg >> 8)
840- dst.Pix[d+2] = uint8(pb >> 8)
841- dst.Pix[d+3] = uint8(pa >> 8)
842- }
843- }
844-}
845-
846-func (nnInterpolator) transform_RGBA_RGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.RGBA, sr image.Rectangle, bias image.Point, opts *Options) {
847- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
848- dyf := float64(dr.Min.Y+int(dy)) + 0.5
849- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
850- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
851- dxf := float64(dr.Min.X+int(dx)) + 0.5
852- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
853- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
854- if !(image.Point{sx0, sy0}).In(sr) {
855- continue
856- }
857- pi := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
858- pr := uint32(src.Pix[pi+0]) * 0x101
859- pg := uint32(src.Pix[pi+1]) * 0x101
860- pb := uint32(src.Pix[pi+2]) * 0x101
861- pa := uint32(src.Pix[pi+3]) * 0x101
862- pa1 := (0xffff - pa) * 0x101
863- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
864- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
865- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
866- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
867- }
868- }
869-}
870-
871-func (nnInterpolator) transform_RGBA_RGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.RGBA, sr image.Rectangle, bias image.Point, opts *Options) {
872- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
873- dyf := float64(dr.Min.Y+int(dy)) + 0.5
874- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
875- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
876- dxf := float64(dr.Min.X+int(dx)) + 0.5
877- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
878- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
879- if !(image.Point{sx0, sy0}).In(sr) {
880- continue
881- }
882- pi := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
883- pr := uint32(src.Pix[pi+0]) * 0x101
884- pg := uint32(src.Pix[pi+1]) * 0x101
885- pb := uint32(src.Pix[pi+2]) * 0x101
886- pa := uint32(src.Pix[pi+3]) * 0x101
887- dst.Pix[d+0] = uint8(pr >> 8)
888- dst.Pix[d+1] = uint8(pg >> 8)
889- dst.Pix[d+2] = uint8(pb >> 8)
890- dst.Pix[d+3] = uint8(pa >> 8)
891- }
892- }
893-}
894-
895-func (nnInterpolator) transform_RGBA_YCbCr444_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
896- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
897- dyf := float64(dr.Min.Y+int(dy)) + 0.5
898- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
899- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
900- dxf := float64(dr.Min.X+int(dx)) + 0.5
901- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
902- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
903- if !(image.Point{sx0, sy0}).In(sr) {
904- continue
905- }
906- pi := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
907- pj := (sy0-src.Rect.Min.Y)*src.CStride + (sx0 - src.Rect.Min.X)
908-
909- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
910- pyy1 := int(src.Y[pi]) * 0x10101
911- pcb1 := int(src.Cb[pj]) - 128
912- pcr1 := int(src.Cr[pj]) - 128
913- pr := (pyy1 + 91881*pcr1) >> 8
914- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
915- pb := (pyy1 + 116130*pcb1) >> 8
916- if pr < 0 {
917- pr = 0
918- } else if pr > 0xffff {
919- pr = 0xffff
920- }
921- if pg < 0 {
922- pg = 0
923- } else if pg > 0xffff {
924- pg = 0xffff
925- }
926- if pb < 0 {
927- pb = 0
928- } else if pb > 0xffff {
929- pb = 0xffff
930- }
931- dst.Pix[d+0] = uint8(pr >> 8)
932- dst.Pix[d+1] = uint8(pg >> 8)
933- dst.Pix[d+2] = uint8(pb >> 8)
934- dst.Pix[d+3] = 0xff
935- }
936- }
937-}
938-
939-func (nnInterpolator) transform_RGBA_YCbCr422_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
940- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
941- dyf := float64(dr.Min.Y+int(dy)) + 0.5
942- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
943- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
944- dxf := float64(dr.Min.X+int(dx)) + 0.5
945- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
946- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
947- if !(image.Point{sx0, sy0}).In(sr) {
948- continue
949- }
950- pi := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
951- pj := (sy0-src.Rect.Min.Y)*src.CStride + ((sx0)/2 - src.Rect.Min.X/2)
952-
953- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
954- pyy1 := int(src.Y[pi]) * 0x10101
955- pcb1 := int(src.Cb[pj]) - 128
956- pcr1 := int(src.Cr[pj]) - 128
957- pr := (pyy1 + 91881*pcr1) >> 8
958- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
959- pb := (pyy1 + 116130*pcb1) >> 8
960- if pr < 0 {
961- pr = 0
962- } else if pr > 0xffff {
963- pr = 0xffff
964- }
965- if pg < 0 {
966- pg = 0
967- } else if pg > 0xffff {
968- pg = 0xffff
969- }
970- if pb < 0 {
971- pb = 0
972- } else if pb > 0xffff {
973- pb = 0xffff
974- }
975- dst.Pix[d+0] = uint8(pr >> 8)
976- dst.Pix[d+1] = uint8(pg >> 8)
977- dst.Pix[d+2] = uint8(pb >> 8)
978- dst.Pix[d+3] = 0xff
979- }
980- }
981-}
982-
983-func (nnInterpolator) transform_RGBA_YCbCr420_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
984- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
985- dyf := float64(dr.Min.Y+int(dy)) + 0.5
986- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
987- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
988- dxf := float64(dr.Min.X+int(dx)) + 0.5
989- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
990- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
991- if !(image.Point{sx0, sy0}).In(sr) {
992- continue
993- }
994- pi := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
995- pj := ((sy0)/2-src.Rect.Min.Y/2)*src.CStride + ((sx0)/2 - src.Rect.Min.X/2)
996-
997- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
998- pyy1 := int(src.Y[pi]) * 0x10101
999- pcb1 := int(src.Cb[pj]) - 128
1000- pcr1 := int(src.Cr[pj]) - 128
1001- pr := (pyy1 + 91881*pcr1) >> 8
1002- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
1003- pb := (pyy1 + 116130*pcb1) >> 8
1004- if pr < 0 {
1005- pr = 0
1006- } else if pr > 0xffff {
1007- pr = 0xffff
1008- }
1009- if pg < 0 {
1010- pg = 0
1011- } else if pg > 0xffff {
1012- pg = 0xffff
1013- }
1014- if pb < 0 {
1015- pb = 0
1016- } else if pb > 0xffff {
1017- pb = 0xffff
1018- }
1019- dst.Pix[d+0] = uint8(pr >> 8)
1020- dst.Pix[d+1] = uint8(pg >> 8)
1021- dst.Pix[d+2] = uint8(pb >> 8)
1022- dst.Pix[d+3] = 0xff
1023- }
1024- }
1025-}
1026-
1027-func (nnInterpolator) transform_RGBA_YCbCr440_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
1028- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1029- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1030- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1031- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1032- dxf := float64(dr.Min.X+int(dx)) + 0.5
1033- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1034- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1035- if !(image.Point{sx0, sy0}).In(sr) {
1036- continue
1037- }
1038- pi := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
1039- pj := ((sy0)/2-src.Rect.Min.Y/2)*src.CStride + (sx0 - src.Rect.Min.X)
1040-
1041- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
1042- pyy1 := int(src.Y[pi]) * 0x10101
1043- pcb1 := int(src.Cb[pj]) - 128
1044- pcr1 := int(src.Cr[pj]) - 128
1045- pr := (pyy1 + 91881*pcr1) >> 8
1046- pg := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
1047- pb := (pyy1 + 116130*pcb1) >> 8
1048- if pr < 0 {
1049- pr = 0
1050- } else if pr > 0xffff {
1051- pr = 0xffff
1052- }
1053- if pg < 0 {
1054- pg = 0
1055- } else if pg > 0xffff {
1056- pg = 0xffff
1057- }
1058- if pb < 0 {
1059- pb = 0
1060- } else if pb > 0xffff {
1061- pb = 0xffff
1062- }
1063- dst.Pix[d+0] = uint8(pr >> 8)
1064- dst.Pix[d+1] = uint8(pg >> 8)
1065- dst.Pix[d+2] = uint8(pb >> 8)
1066- dst.Pix[d+3] = 0xff
1067- }
1068- }
1069-}
1070-
1071-func (nnInterpolator) transform_RGBA_RGBA64Image_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
1072- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1073- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1074- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1075- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1076- dxf := float64(dr.Min.X+int(dx)) + 0.5
1077- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1078- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1079- if !(image.Point{sx0, sy0}).In(sr) {
1080- continue
1081- }
1082- p := src.RGBA64At(sx0, sy0)
1083- pa1 := (0xffff - uint32(p.A)) * 0x101
1084- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + uint32(p.R)) >> 8)
1085- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + uint32(p.G)) >> 8)
1086- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + uint32(p.B)) >> 8)
1087- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + uint32(p.A)) >> 8)
1088- }
1089- }
1090-}
1091-
1092-func (nnInterpolator) transform_RGBA_RGBA64Image_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
1093- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1094- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1095- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1096- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1097- dxf := float64(dr.Min.X+int(dx)) + 0.5
1098- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1099- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1100- if !(image.Point{sx0, sy0}).In(sr) {
1101- continue
1102- }
1103- p := src.RGBA64At(sx0, sy0)
1104- dst.Pix[d+0] = uint8(p.R >> 8)
1105- dst.Pix[d+1] = uint8(p.G >> 8)
1106- dst.Pix[d+2] = uint8(p.B >> 8)
1107- dst.Pix[d+3] = uint8(p.A >> 8)
1108- }
1109- }
1110-}
1111-
1112-func (nnInterpolator) transform_RGBA_Image_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
1113- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1114- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1115- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1116- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1117- dxf := float64(dr.Min.X+int(dx)) + 0.5
1118- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1119- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1120- if !(image.Point{sx0, sy0}).In(sr) {
1121- continue
1122- }
1123- pr, pg, pb, pa := src.At(sx0, sy0).RGBA()
1124- pa1 := (0xffff - pa) * 0x101
1125- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
1126- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
1127- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
1128- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
1129- }
1130- }
1131-}
1132-
1133-func (nnInterpolator) transform_RGBA_Image_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
1134- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1135- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1136- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1137- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1138- dxf := float64(dr.Min.X+int(dx)) + 0.5
1139- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1140- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1141- if !(image.Point{sx0, sy0}).In(sr) {
1142- continue
1143- }
1144- pr, pg, pb, pa := src.At(sx0, sy0).RGBA()
1145- dst.Pix[d+0] = uint8(pr >> 8)
1146- dst.Pix[d+1] = uint8(pg >> 8)
1147- dst.Pix[d+2] = uint8(pb >> 8)
1148- dst.Pix[d+3] = uint8(pa >> 8)
1149- }
1150- }
1151-}
1152-
1153-func (nnInterpolator) transform_RGBA64Image_RGBA64Image_Over(dst RGBA64Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
1154- srcMask, smp := opts.SrcMask, opts.SrcMaskP
1155- dstMask, dmp := opts.DstMask, opts.DstMaskP
1156- dstColorRGBA64 := color.RGBA64{}
1157-
1158- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1159- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1160- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
1161- dxf := float64(dr.Min.X+int(dx)) + 0.5
1162- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1163- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1164- if !(image.Point{sx0, sy0}).In(sr) {
1165- continue
1166- }
1167- p := src.RGBA64At(sx0, sy0)
1168- if srcMask != nil {
1169- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
1170- p.R = uint16(uint32(p.R) * ma / 0xffff)
1171- p.G = uint16(uint32(p.G) * ma / 0xffff)
1172- p.B = uint16(uint32(p.B) * ma / 0xffff)
1173- p.A = uint16(uint32(p.A) * ma / 0xffff)
1174- }
1175- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
1176- if dstMask != nil {
1177- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
1178- p.R = uint16(uint32(p.R) * ma / 0xffff)
1179- p.G = uint16(uint32(p.G) * ma / 0xffff)
1180- p.B = uint16(uint32(p.B) * ma / 0xffff)
1181- p.A = uint16(uint32(p.A) * ma / 0xffff)
1182- }
1183- pa1 := 0xffff - uint32(p.A)
1184- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
1185- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
1186- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
1187- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
1188- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
1189- }
1190- }
1191-}
1192-
1193-func (nnInterpolator) transform_RGBA64Image_RGBA64Image_Src(dst RGBA64Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
1194- srcMask, smp := opts.SrcMask, opts.SrcMaskP
1195- dstMask, dmp := opts.DstMask, opts.DstMaskP
1196- dstColorRGBA64 := color.RGBA64{}
1197-
1198- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1199- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1200- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
1201- dxf := float64(dr.Min.X+int(dx)) + 0.5
1202- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1203- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1204- if !(image.Point{sx0, sy0}).In(sr) {
1205- continue
1206- }
1207- p := src.RGBA64At(sx0, sy0)
1208- if srcMask != nil {
1209- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
1210- p.R = uint16(uint32(p.R) * ma / 0xffff)
1211- p.G = uint16(uint32(p.G) * ma / 0xffff)
1212- p.B = uint16(uint32(p.B) * ma / 0xffff)
1213- p.A = uint16(uint32(p.A) * ma / 0xffff)
1214- }
1215- if dstMask != nil {
1216- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
1217- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
1218- p.R = uint16(uint32(p.R) * ma / 0xffff)
1219- p.G = uint16(uint32(p.G) * ma / 0xffff)
1220- p.B = uint16(uint32(p.B) * ma / 0xffff)
1221- p.A = uint16(uint32(p.A) * ma / 0xffff)
1222- pa1 := 0xffff - ma
1223- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
1224- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
1225- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
1226- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
1227- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
1228- } else {
1229- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), p)
1230- }
1231- }
1232- }
1233-}
1234-
1235-func (nnInterpolator) transform_Image_Image_Over(dst Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
1236- srcMask, smp := opts.SrcMask, opts.SrcMaskP
1237- dstMask, dmp := opts.DstMask, opts.DstMaskP
1238- dstColorRGBA64 := &color.RGBA64{}
1239- dstColor := color.Color(dstColorRGBA64)
1240- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1241- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1242- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
1243- dxf := float64(dr.Min.X+int(dx)) + 0.5
1244- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1245- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1246- if !(image.Point{sx0, sy0}).In(sr) {
1247- continue
1248- }
1249- pr, pg, pb, pa := src.At(sx0, sy0).RGBA()
1250- if srcMask != nil {
1251- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
1252- pr = pr * ma / 0xffff
1253- pg = pg * ma / 0xffff
1254- pb = pb * ma / 0xffff
1255- pa = pa * ma / 0xffff
1256- }
1257- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
1258- if dstMask != nil {
1259- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
1260- pr = pr * ma / 0xffff
1261- pg = pg * ma / 0xffff
1262- pb = pb * ma / 0xffff
1263- pa = pa * ma / 0xffff
1264- }
1265- pa1 := 0xffff - pa
1266- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
1267- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
1268- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
1269- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
1270- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
1271- }
1272- }
1273-}
1274-
1275-func (nnInterpolator) transform_Image_Image_Src(dst Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
1276- srcMask, smp := opts.SrcMask, opts.SrcMaskP
1277- dstMask, dmp := opts.DstMask, opts.DstMaskP
1278- dstColorRGBA64 := &color.RGBA64{}
1279- dstColor := color.Color(dstColorRGBA64)
1280- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1281- dyf := float64(dr.Min.Y+int(dy)) + 0.5
1282- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
1283- dxf := float64(dr.Min.X+int(dx)) + 0.5
1284- sx0 := int(float64(d2s[0]*dxf)+float64(d2s[1]*dyf)+d2s[2]) + bias.X
1285- sy0 := int(float64(d2s[3]*dxf)+float64(d2s[4]*dyf)+d2s[5]) + bias.Y
1286- if !(image.Point{sx0, sy0}).In(sr) {
1287- continue
1288- }
1289- pr, pg, pb, pa := src.At(sx0, sy0).RGBA()
1290- if srcMask != nil {
1291- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
1292- pr = pr * ma / 0xffff
1293- pg = pg * ma / 0xffff
1294- pb = pb * ma / 0xffff
1295- pa = pa * ma / 0xffff
1296- }
1297- if dstMask != nil {
1298- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
1299- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
1300- pr = pr * ma / 0xffff
1301- pg = pg * ma / 0xffff
1302- pb = pb * ma / 0xffff
1303- pa = pa * ma / 0xffff
1304- pa1 := 0xffff - ma
1305- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
1306- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
1307- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
1308- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
1309- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
1310- } else {
1311- dstColorRGBA64.R = uint16(pr)
1312- dstColorRGBA64.G = uint16(pg)
1313- dstColorRGBA64.B = uint16(pb)
1314- dstColorRGBA64.A = uint16(pa)
1315- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
1316- }
1317- }
1318- }
1319-}
1320-
1321-func (z ablInterpolator) Scale(dst Image, dr image.Rectangle, src image.Image, sr image.Rectangle, op Op, opts *Options) {
1322- // Try to simplify a Scale to a Copy when DstMask is not specified.
1323- // If DstMask is not nil, Copy will call Scale back with same dr and sr, and cause stack overflow.
1324- if dr.Size() == sr.Size() && (opts == nil || opts.DstMask == nil) {
1325- Copy(dst, dr.Min, src, sr, op, opts)
1326- return
1327- }
1328-
1329- var o Options
1330- if opts != nil {
1331- o = *opts
1332- }
1333-
1334- // adr is the affected destination pixels.
1335- adr := dst.Bounds().Intersect(dr)
1336- adr, o.DstMask = clipAffectedDestRect(adr, o.DstMask, o.DstMaskP)
1337- if adr.Empty() || sr.Empty() {
1338- return
1339- }
1340- // Make adr relative to dr.Min.
1341- adr = adr.Sub(dr.Min)
1342- if op == Over && o.SrcMask == nil && opaque(src) {
1343- op = Src
1344- }
1345-
1346- // sr is the source pixels. If it extends beyond the src bounds,
1347- // we cannot use the type-specific fast paths, as they access
1348- // the Pix fields directly without bounds checking.
1349- //
1350- // Similarly, the fast paths assume that the masks are nil.
1351- if o.DstMask != nil || o.SrcMask != nil || !sr.In(src.Bounds()) {
1352- switch op {
1353- case Over:
1354- z.scale_Image_Image_Over(dst, dr, adr, src, sr, &o)
1355- case Src:
1356- z.scale_Image_Image_Src(dst, dr, adr, src, sr, &o)
1357- }
1358- } else if _, ok := src.(*image.Uniform); ok {
1359- Draw(dst, dr, src, src.Bounds().Min, op)
1360- } else {
1361- switch op {
1362- case Over:
1363- switch dst := dst.(type) {
1364- case *image.RGBA:
1365- switch src := src.(type) {
1366- case *image.NRGBA:
1367- z.scale_RGBA_NRGBA_Over(dst, dr, adr, src, sr, &o)
1368- case *image.RGBA:
1369- z.scale_RGBA_RGBA_Over(dst, dr, adr, src, sr, &o)
1370- case image.RGBA64Image:
1371- z.scale_RGBA_RGBA64Image_Over(dst, dr, adr, src, sr, &o)
1372- default:
1373- z.scale_RGBA_Image_Over(dst, dr, adr, src, sr, &o)
1374- }
1375- case RGBA64Image:
1376- switch src := src.(type) {
1377- case image.RGBA64Image:
1378- z.scale_RGBA64Image_RGBA64Image_Over(dst, dr, adr, src, sr, &o)
1379- }
1380- default:
1381- switch src := src.(type) {
1382- default:
1383- z.scale_Image_Image_Over(dst, dr, adr, src, sr, &o)
1384- }
1385- }
1386- case Src:
1387- switch dst := dst.(type) {
1388- case *image.RGBA:
1389- switch src := src.(type) {
1390- case *image.Gray:
1391- z.scale_RGBA_Gray_Src(dst, dr, adr, src, sr, &o)
1392- case *image.NRGBA:
1393- z.scale_RGBA_NRGBA_Src(dst, dr, adr, src, sr, &o)
1394- case *image.RGBA:
1395- z.scale_RGBA_RGBA_Src(dst, dr, adr, src, sr, &o)
1396- case *image.YCbCr:
1397- switch src.SubsampleRatio {
1398- default:
1399- z.scale_RGBA_Image_Src(dst, dr, adr, src, sr, &o)
1400- case image.YCbCrSubsampleRatio444:
1401- z.scale_RGBA_YCbCr444_Src(dst, dr, adr, src, sr, &o)
1402- case image.YCbCrSubsampleRatio422:
1403- z.scale_RGBA_YCbCr422_Src(dst, dr, adr, src, sr, &o)
1404- case image.YCbCrSubsampleRatio420:
1405- z.scale_RGBA_YCbCr420_Src(dst, dr, adr, src, sr, &o)
1406- case image.YCbCrSubsampleRatio440:
1407- z.scale_RGBA_YCbCr440_Src(dst, dr, adr, src, sr, &o)
1408- }
1409- case image.RGBA64Image:
1410- z.scale_RGBA_RGBA64Image_Src(dst, dr, adr, src, sr, &o)
1411- default:
1412- z.scale_RGBA_Image_Src(dst, dr, adr, src, sr, &o)
1413- }
1414- case RGBA64Image:
1415- switch src := src.(type) {
1416- case image.RGBA64Image:
1417- z.scale_RGBA64Image_RGBA64Image_Src(dst, dr, adr, src, sr, &o)
1418- }
1419- default:
1420- switch src := src.(type) {
1421- default:
1422- z.scale_Image_Image_Src(dst, dr, adr, src, sr, &o)
1423- }
1424- }
1425- }
1426- }
1427-}
1428-
1429-func (z ablInterpolator) Transform(dst Image, s2d f64.Aff3, src image.Image, sr image.Rectangle, op Op, opts *Options) {
1430- // Try to simplify a Transform to a Copy.
1431- if s2d[0] == 1 && s2d[1] == 0 && s2d[3] == 0 && s2d[4] == 1 {
1432- dx := int(s2d[2])
1433- dy := int(s2d[5])
1434- if float64(dx) == s2d[2] && float64(dy) == s2d[5] {
1435- Copy(dst, image.Point{X: sr.Min.X + dx, Y: sr.Min.X + dy}, src, sr, op, opts)
1436- return
1437- }
1438- }
1439-
1440- var o Options
1441- if opts != nil {
1442- o = *opts
1443- }
1444-
1445- dr := transformRect(&s2d, &sr)
1446- // adr is the affected destination pixels.
1447- adr := dst.Bounds().Intersect(dr)
1448- adr, o.DstMask = clipAffectedDestRect(adr, o.DstMask, o.DstMaskP)
1449- if adr.Empty() || sr.Empty() {
1450- return
1451- }
1452- if op == Over && o.SrcMask == nil && opaque(src) {
1453- op = Src
1454- }
1455-
1456- d2s := invert(&s2d)
1457- // bias is a translation of the mapping from dst coordinates to src
1458- // coordinates such that the latter temporarily have non-negative X
1459- // and Y coordinates. This allows us to write int(f) instead of
1460- // int(math.Floor(f)), since "round to zero" and "round down" are
1461- // equivalent when f >= 0, but the former is much cheaper. The X--
1462- // and Y-- are because the TransformLeaf methods have a "sx -= 0.5"
1463- // adjustment.
1464- bias := transformRect(&d2s, &adr).Min
1465- bias.X--
1466- bias.Y--
1467- d2s[2] -= float64(bias.X)
1468- d2s[5] -= float64(bias.Y)
1469- // Make adr relative to dr.Min.
1470- adr = adr.Sub(dr.Min)
1471- // sr is the source pixels. If it extends beyond the src bounds,
1472- // we cannot use the type-specific fast paths, as they access
1473- // the Pix fields directly without bounds checking.
1474- //
1475- // Similarly, the fast paths assume that the masks are nil.
1476- if o.DstMask != nil || o.SrcMask != nil || !sr.In(src.Bounds()) {
1477- switch op {
1478- case Over:
1479- z.transform_Image_Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1480- case Src:
1481- z.transform_Image_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1482- }
1483- } else if u, ok := src.(*image.Uniform); ok {
1484- transform_Uniform(dst, dr, adr, &d2s, u, sr, bias, op)
1485- } else {
1486- switch op {
1487- case Over:
1488- switch dst := dst.(type) {
1489- case *image.RGBA:
1490- switch src := src.(type) {
1491- case *image.NRGBA:
1492- z.transform_RGBA_NRGBA_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1493- case *image.RGBA:
1494- z.transform_RGBA_RGBA_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1495- case image.RGBA64Image:
1496- z.transform_RGBA_RGBA64Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1497- default:
1498- z.transform_RGBA_Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1499- }
1500- case RGBA64Image:
1501- switch src := src.(type) {
1502- case image.RGBA64Image:
1503- z.transform_RGBA64Image_RGBA64Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1504- }
1505- default:
1506- switch src := src.(type) {
1507- default:
1508- z.transform_Image_Image_Over(dst, dr, adr, &d2s, src, sr, bias, &o)
1509- }
1510- }
1511- case Src:
1512- switch dst := dst.(type) {
1513- case *image.RGBA:
1514- switch src := src.(type) {
1515- case *image.Gray:
1516- z.transform_RGBA_Gray_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1517- case *image.NRGBA:
1518- z.transform_RGBA_NRGBA_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1519- case *image.RGBA:
1520- z.transform_RGBA_RGBA_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1521- case *image.YCbCr:
1522- switch src.SubsampleRatio {
1523- default:
1524- z.transform_RGBA_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1525- case image.YCbCrSubsampleRatio444:
1526- z.transform_RGBA_YCbCr444_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1527- case image.YCbCrSubsampleRatio422:
1528- z.transform_RGBA_YCbCr422_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1529- case image.YCbCrSubsampleRatio420:
1530- z.transform_RGBA_YCbCr420_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1531- case image.YCbCrSubsampleRatio440:
1532- z.transform_RGBA_YCbCr440_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1533- }
1534- case image.RGBA64Image:
1535- z.transform_RGBA_RGBA64Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1536- default:
1537- z.transform_RGBA_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1538- }
1539- case RGBA64Image:
1540- switch src := src.(type) {
1541- case image.RGBA64Image:
1542- z.transform_RGBA64Image_RGBA64Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1543- }
1544- default:
1545- switch src := src.(type) {
1546- default:
1547- z.transform_Image_Image_Src(dst, dr, adr, &d2s, src, sr, bias, &o)
1548- }
1549- }
1550- }
1551- }
1552-}
1553-
1554-func (ablInterpolator) scale_RGBA_Gray_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.Gray, sr image.Rectangle, opts *Options) {
1555- sw := int32(sr.Dx())
1556- sh := int32(sr.Dy())
1557- yscale := float64(sh) / float64(dr.Dy())
1558- xscale := float64(sw) / float64(dr.Dx())
1559- swMinus1, shMinus1 := sw-1, sh-1
1560-
1561- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1562- sy := float64((float64(dy)+0.5)*yscale) - 0.5
1563- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
1564- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
1565- // sx, below.
1566- sy0 := int32(sy)
1567- yFrac0 := sy - float64(sy0)
1568- yFrac1 := 1 - yFrac0
1569- sy1 := sy0 + 1
1570- if sy < 0 {
1571- sy0, sy1 = 0, 0
1572- yFrac0, yFrac1 = 0, 1
1573- } else if sy1 > shMinus1 {
1574- sy0, sy1 = shMinus1, shMinus1
1575- yFrac0, yFrac1 = 1, 0
1576- }
1577- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1578-
1579- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1580- sx := float64((float64(dx)+0.5)*xscale) - 0.5
1581- sx0 := int32(sx)
1582- xFrac0 := sx - float64(sx0)
1583- xFrac1 := 1 - xFrac0
1584- sx1 := sx0 + 1
1585- if sx < 0 {
1586- sx0, sx1 = 0, 0
1587- xFrac0, xFrac1 = 0, 1
1588- } else if sx1 > swMinus1 {
1589- sx0, sx1 = swMinus1, swMinus1
1590- xFrac0, xFrac1 = 1, 0
1591- }
1592-
1593- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
1594- s00ru := uint32(src.Pix[s00i]) * 0x101
1595- s00r := float64(s00ru)
1596- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
1597- s10ru := uint32(src.Pix[s10i]) * 0x101
1598- s10r := float64(s10ru)
1599- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
1600- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
1601- s01ru := uint32(src.Pix[s01i]) * 0x101
1602- s01r := float64(s01ru)
1603- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
1604- s11ru := uint32(src.Pix[s11i]) * 0x101
1605- s11r := float64(s11ru)
1606- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
1607- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
1608- pr := uint32(s11r)
1609- out := uint8(pr >> 8)
1610- dst.Pix[d+0] = out
1611- dst.Pix[d+1] = out
1612- dst.Pix[d+2] = out
1613- dst.Pix[d+3] = 0xff
1614- }
1615- }
1616-}
1617-
1618-func (ablInterpolator) scale_RGBA_NRGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, src *image.NRGBA, sr image.Rectangle, opts *Options) {
1619- sw := int32(sr.Dx())
1620- sh := int32(sr.Dy())
1621- yscale := float64(sh) / float64(dr.Dy())
1622- xscale := float64(sw) / float64(dr.Dx())
1623- swMinus1, shMinus1 := sw-1, sh-1
1624-
1625- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1626- sy := float64((float64(dy)+0.5)*yscale) - 0.5
1627- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
1628- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
1629- // sx, below.
1630- sy0 := int32(sy)
1631- yFrac0 := sy - float64(sy0)
1632- yFrac1 := 1 - yFrac0
1633- sy1 := sy0 + 1
1634- if sy < 0 {
1635- sy0, sy1 = 0, 0
1636- yFrac0, yFrac1 = 0, 1
1637- } else if sy1 > shMinus1 {
1638- sy0, sy1 = shMinus1, shMinus1
1639- yFrac0, yFrac1 = 1, 0
1640- }
1641- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1642-
1643- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1644- sx := float64((float64(dx)+0.5)*xscale) - 0.5
1645- sx0 := int32(sx)
1646- xFrac0 := sx - float64(sx0)
1647- xFrac1 := 1 - xFrac0
1648- sx1 := sx0 + 1
1649- if sx < 0 {
1650- sx0, sx1 = 0, 0
1651- xFrac0, xFrac1 = 0, 1
1652- } else if sx1 > swMinus1 {
1653- sx0, sx1 = swMinus1, swMinus1
1654- xFrac0, xFrac1 = 1, 0
1655- }
1656-
1657- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1658- s00au := uint32(src.Pix[s00i+3]) * 0x101
1659- s00ru := uint32(src.Pix[s00i+0]) * s00au / 0xff
1660- s00gu := uint32(src.Pix[s00i+1]) * s00au / 0xff
1661- s00bu := uint32(src.Pix[s00i+2]) * s00au / 0xff
1662- s00r := float64(s00ru)
1663- s00g := float64(s00gu)
1664- s00b := float64(s00bu)
1665- s00a := float64(s00au)
1666- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1667- s10au := uint32(src.Pix[s10i+3]) * 0x101
1668- s10ru := uint32(src.Pix[s10i+0]) * s10au / 0xff
1669- s10gu := uint32(src.Pix[s10i+1]) * s10au / 0xff
1670- s10bu := uint32(src.Pix[s10i+2]) * s10au / 0xff
1671- s10r := float64(s10ru)
1672- s10g := float64(s10gu)
1673- s10b := float64(s10bu)
1674- s10a := float64(s10au)
1675- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
1676- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
1677- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
1678- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
1679- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1680- s01au := uint32(src.Pix[s01i+3]) * 0x101
1681- s01ru := uint32(src.Pix[s01i+0]) * s01au / 0xff
1682- s01gu := uint32(src.Pix[s01i+1]) * s01au / 0xff
1683- s01bu := uint32(src.Pix[s01i+2]) * s01au / 0xff
1684- s01r := float64(s01ru)
1685- s01g := float64(s01gu)
1686- s01b := float64(s01bu)
1687- s01a := float64(s01au)
1688- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1689- s11au := uint32(src.Pix[s11i+3]) * 0x101
1690- s11ru := uint32(src.Pix[s11i+0]) * s11au / 0xff
1691- s11gu := uint32(src.Pix[s11i+1]) * s11au / 0xff
1692- s11bu := uint32(src.Pix[s11i+2]) * s11au / 0xff
1693- s11r := float64(s11ru)
1694- s11g := float64(s11gu)
1695- s11b := float64(s11bu)
1696- s11a := float64(s11au)
1697- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
1698- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
1699- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
1700- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
1701- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
1702- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
1703- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
1704- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
1705- pr := uint32(s11r)
1706- pg := uint32(s11g)
1707- pb := uint32(s11b)
1708- pa := uint32(s11a)
1709- pa1 := (0xffff - pa) * 0x101
1710- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
1711- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
1712- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
1713- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
1714- }
1715- }
1716-}
1717-
1718-func (ablInterpolator) scale_RGBA_NRGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.NRGBA, sr image.Rectangle, opts *Options) {
1719- sw := int32(sr.Dx())
1720- sh := int32(sr.Dy())
1721- yscale := float64(sh) / float64(dr.Dy())
1722- xscale := float64(sw) / float64(dr.Dx())
1723- swMinus1, shMinus1 := sw-1, sh-1
1724-
1725- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1726- sy := float64((float64(dy)+0.5)*yscale) - 0.5
1727- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
1728- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
1729- // sx, below.
1730- sy0 := int32(sy)
1731- yFrac0 := sy - float64(sy0)
1732- yFrac1 := 1 - yFrac0
1733- sy1 := sy0 + 1
1734- if sy < 0 {
1735- sy0, sy1 = 0, 0
1736- yFrac0, yFrac1 = 0, 1
1737- } else if sy1 > shMinus1 {
1738- sy0, sy1 = shMinus1, shMinus1
1739- yFrac0, yFrac1 = 1, 0
1740- }
1741- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1742-
1743- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1744- sx := float64((float64(dx)+0.5)*xscale) - 0.5
1745- sx0 := int32(sx)
1746- xFrac0 := sx - float64(sx0)
1747- xFrac1 := 1 - xFrac0
1748- sx1 := sx0 + 1
1749- if sx < 0 {
1750- sx0, sx1 = 0, 0
1751- xFrac0, xFrac1 = 0, 1
1752- } else if sx1 > swMinus1 {
1753- sx0, sx1 = swMinus1, swMinus1
1754- xFrac0, xFrac1 = 1, 0
1755- }
1756-
1757- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1758- s00au := uint32(src.Pix[s00i+3]) * 0x101
1759- s00ru := uint32(src.Pix[s00i+0]) * s00au / 0xff
1760- s00gu := uint32(src.Pix[s00i+1]) * s00au / 0xff
1761- s00bu := uint32(src.Pix[s00i+2]) * s00au / 0xff
1762- s00r := float64(s00ru)
1763- s00g := float64(s00gu)
1764- s00b := float64(s00bu)
1765- s00a := float64(s00au)
1766- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1767- s10au := uint32(src.Pix[s10i+3]) * 0x101
1768- s10ru := uint32(src.Pix[s10i+0]) * s10au / 0xff
1769- s10gu := uint32(src.Pix[s10i+1]) * s10au / 0xff
1770- s10bu := uint32(src.Pix[s10i+2]) * s10au / 0xff
1771- s10r := float64(s10ru)
1772- s10g := float64(s10gu)
1773- s10b := float64(s10bu)
1774- s10a := float64(s10au)
1775- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
1776- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
1777- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
1778- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
1779- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1780- s01au := uint32(src.Pix[s01i+3]) * 0x101
1781- s01ru := uint32(src.Pix[s01i+0]) * s01au / 0xff
1782- s01gu := uint32(src.Pix[s01i+1]) * s01au / 0xff
1783- s01bu := uint32(src.Pix[s01i+2]) * s01au / 0xff
1784- s01r := float64(s01ru)
1785- s01g := float64(s01gu)
1786- s01b := float64(s01bu)
1787- s01a := float64(s01au)
1788- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1789- s11au := uint32(src.Pix[s11i+3]) * 0x101
1790- s11ru := uint32(src.Pix[s11i+0]) * s11au / 0xff
1791- s11gu := uint32(src.Pix[s11i+1]) * s11au / 0xff
1792- s11bu := uint32(src.Pix[s11i+2]) * s11au / 0xff
1793- s11r := float64(s11ru)
1794- s11g := float64(s11gu)
1795- s11b := float64(s11bu)
1796- s11a := float64(s11au)
1797- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
1798- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
1799- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
1800- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
1801- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
1802- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
1803- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
1804- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
1805- pr := uint32(s11r)
1806- pg := uint32(s11g)
1807- pb := uint32(s11b)
1808- pa := uint32(s11a)
1809- dst.Pix[d+0] = uint8(pr >> 8)
1810- dst.Pix[d+1] = uint8(pg >> 8)
1811- dst.Pix[d+2] = uint8(pb >> 8)
1812- dst.Pix[d+3] = uint8(pa >> 8)
1813- }
1814- }
1815-}
1816-
1817-func (ablInterpolator) scale_RGBA_RGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, src *image.RGBA, sr image.Rectangle, opts *Options) {
1818- sw := int32(sr.Dx())
1819- sh := int32(sr.Dy())
1820- yscale := float64(sh) / float64(dr.Dy())
1821- xscale := float64(sw) / float64(dr.Dx())
1822- swMinus1, shMinus1 := sw-1, sh-1
1823-
1824- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1825- sy := float64((float64(dy)+0.5)*yscale) - 0.5
1826- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
1827- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
1828- // sx, below.
1829- sy0 := int32(sy)
1830- yFrac0 := sy - float64(sy0)
1831- yFrac1 := 1 - yFrac0
1832- sy1 := sy0 + 1
1833- if sy < 0 {
1834- sy0, sy1 = 0, 0
1835- yFrac0, yFrac1 = 0, 1
1836- } else if sy1 > shMinus1 {
1837- sy0, sy1 = shMinus1, shMinus1
1838- yFrac0, yFrac1 = 1, 0
1839- }
1840- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1841-
1842- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1843- sx := float64((float64(dx)+0.5)*xscale) - 0.5
1844- sx0 := int32(sx)
1845- xFrac0 := sx - float64(sx0)
1846- xFrac1 := 1 - xFrac0
1847- sx1 := sx0 + 1
1848- if sx < 0 {
1849- sx0, sx1 = 0, 0
1850- xFrac0, xFrac1 = 0, 1
1851- } else if sx1 > swMinus1 {
1852- sx0, sx1 = swMinus1, swMinus1
1853- xFrac0, xFrac1 = 1, 0
1854- }
1855-
1856- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1857- s00ru := uint32(src.Pix[s00i+0]) * 0x101
1858- s00gu := uint32(src.Pix[s00i+1]) * 0x101
1859- s00bu := uint32(src.Pix[s00i+2]) * 0x101
1860- s00au := uint32(src.Pix[s00i+3]) * 0x101
1861- s00r := float64(s00ru)
1862- s00g := float64(s00gu)
1863- s00b := float64(s00bu)
1864- s00a := float64(s00au)
1865- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1866- s10ru := uint32(src.Pix[s10i+0]) * 0x101
1867- s10gu := uint32(src.Pix[s10i+1]) * 0x101
1868- s10bu := uint32(src.Pix[s10i+2]) * 0x101
1869- s10au := uint32(src.Pix[s10i+3]) * 0x101
1870- s10r := float64(s10ru)
1871- s10g := float64(s10gu)
1872- s10b := float64(s10bu)
1873- s10a := float64(s10au)
1874- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
1875- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
1876- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
1877- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
1878- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1879- s01ru := uint32(src.Pix[s01i+0]) * 0x101
1880- s01gu := uint32(src.Pix[s01i+1]) * 0x101
1881- s01bu := uint32(src.Pix[s01i+2]) * 0x101
1882- s01au := uint32(src.Pix[s01i+3]) * 0x101
1883- s01r := float64(s01ru)
1884- s01g := float64(s01gu)
1885- s01b := float64(s01bu)
1886- s01a := float64(s01au)
1887- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1888- s11ru := uint32(src.Pix[s11i+0]) * 0x101
1889- s11gu := uint32(src.Pix[s11i+1]) * 0x101
1890- s11bu := uint32(src.Pix[s11i+2]) * 0x101
1891- s11au := uint32(src.Pix[s11i+3]) * 0x101
1892- s11r := float64(s11ru)
1893- s11g := float64(s11gu)
1894- s11b := float64(s11bu)
1895- s11a := float64(s11au)
1896- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
1897- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
1898- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
1899- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
1900- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
1901- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
1902- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
1903- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
1904- pr := uint32(s11r)
1905- pg := uint32(s11g)
1906- pb := uint32(s11b)
1907- pa := uint32(s11a)
1908- pa1 := (0xffff - pa) * 0x101
1909- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
1910- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
1911- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
1912- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
1913- }
1914- }
1915-}
1916-
1917-func (ablInterpolator) scale_RGBA_RGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.RGBA, sr image.Rectangle, opts *Options) {
1918- sw := int32(sr.Dx())
1919- sh := int32(sr.Dy())
1920- yscale := float64(sh) / float64(dr.Dy())
1921- xscale := float64(sw) / float64(dr.Dx())
1922- swMinus1, shMinus1 := sw-1, sh-1
1923-
1924- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
1925- sy := float64((float64(dy)+0.5)*yscale) - 0.5
1926- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
1927- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
1928- // sx, below.
1929- sy0 := int32(sy)
1930- yFrac0 := sy - float64(sy0)
1931- yFrac1 := 1 - yFrac0
1932- sy1 := sy0 + 1
1933- if sy < 0 {
1934- sy0, sy1 = 0, 0
1935- yFrac0, yFrac1 = 0, 1
1936- } else if sy1 > shMinus1 {
1937- sy0, sy1 = shMinus1, shMinus1
1938- yFrac0, yFrac1 = 1, 0
1939- }
1940- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
1941-
1942- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
1943- sx := float64((float64(dx)+0.5)*xscale) - 0.5
1944- sx0 := int32(sx)
1945- xFrac0 := sx - float64(sx0)
1946- xFrac1 := 1 - xFrac0
1947- sx1 := sx0 + 1
1948- if sx < 0 {
1949- sx0, sx1 = 0, 0
1950- xFrac0, xFrac1 = 0, 1
1951- } else if sx1 > swMinus1 {
1952- sx0, sx1 = swMinus1, swMinus1
1953- xFrac0, xFrac1 = 1, 0
1954- }
1955-
1956- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1957- s00ru := uint32(src.Pix[s00i+0]) * 0x101
1958- s00gu := uint32(src.Pix[s00i+1]) * 0x101
1959- s00bu := uint32(src.Pix[s00i+2]) * 0x101
1960- s00au := uint32(src.Pix[s00i+3]) * 0x101
1961- s00r := float64(s00ru)
1962- s00g := float64(s00gu)
1963- s00b := float64(s00bu)
1964- s00a := float64(s00au)
1965- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1966- s10ru := uint32(src.Pix[s10i+0]) * 0x101
1967- s10gu := uint32(src.Pix[s10i+1]) * 0x101
1968- s10bu := uint32(src.Pix[s10i+2]) * 0x101
1969- s10au := uint32(src.Pix[s10i+3]) * 0x101
1970- s10r := float64(s10ru)
1971- s10g := float64(s10gu)
1972- s10b := float64(s10bu)
1973- s10a := float64(s10au)
1974- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
1975- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
1976- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
1977- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
1978- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx0)-src.Rect.Min.X)*4
1979- s01ru := uint32(src.Pix[s01i+0]) * 0x101
1980- s01gu := uint32(src.Pix[s01i+1]) * 0x101
1981- s01bu := uint32(src.Pix[s01i+2]) * 0x101
1982- s01au := uint32(src.Pix[s01i+3]) * 0x101
1983- s01r := float64(s01ru)
1984- s01g := float64(s01gu)
1985- s01b := float64(s01bu)
1986- s01a := float64(s01au)
1987- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(sx1)-src.Rect.Min.X)*4
1988- s11ru := uint32(src.Pix[s11i+0]) * 0x101
1989- s11gu := uint32(src.Pix[s11i+1]) * 0x101
1990- s11bu := uint32(src.Pix[s11i+2]) * 0x101
1991- s11au := uint32(src.Pix[s11i+3]) * 0x101
1992- s11r := float64(s11ru)
1993- s11g := float64(s11gu)
1994- s11b := float64(s11bu)
1995- s11a := float64(s11au)
1996- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
1997- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
1998- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
1999- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
2000- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2001- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2002- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2003- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
2004- pr := uint32(s11r)
2005- pg := uint32(s11g)
2006- pb := uint32(s11b)
2007- pa := uint32(s11a)
2008- dst.Pix[d+0] = uint8(pr >> 8)
2009- dst.Pix[d+1] = uint8(pg >> 8)
2010- dst.Pix[d+2] = uint8(pb >> 8)
2011- dst.Pix[d+3] = uint8(pa >> 8)
2012- }
2013- }
2014-}
2015-
2016-func (ablInterpolator) scale_RGBA_YCbCr444_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
2017- sw := int32(sr.Dx())
2018- sh := int32(sr.Dy())
2019- yscale := float64(sh) / float64(dr.Dy())
2020- xscale := float64(sw) / float64(dr.Dx())
2021- swMinus1, shMinus1 := sw-1, sh-1
2022-
2023- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2024- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2025- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2026- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2027- // sx, below.
2028- sy0 := int32(sy)
2029- yFrac0 := sy - float64(sy0)
2030- yFrac1 := 1 - yFrac0
2031- sy1 := sy0 + 1
2032- if sy < 0 {
2033- sy0, sy1 = 0, 0
2034- yFrac0, yFrac1 = 0, 1
2035- } else if sy1 > shMinus1 {
2036- sy0, sy1 = shMinus1, shMinus1
2037- yFrac0, yFrac1 = 1, 0
2038- }
2039- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2040-
2041- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2042- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2043- sx0 := int32(sx)
2044- xFrac0 := sx - float64(sx0)
2045- xFrac1 := 1 - xFrac0
2046- sx1 := sx0 + 1
2047- if sx < 0 {
2048- sx0, sx1 = 0, 0
2049- xFrac0, xFrac1 = 0, 1
2050- } else if sx1 > swMinus1 {
2051- sx0, sx1 = swMinus1, swMinus1
2052- xFrac0, xFrac1 = 1, 0
2053- }
2054-
2055- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2056- s00j := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.CStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2057-
2058- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2059- s00yy1 := int(src.Y[s00i]) * 0x10101
2060- s00cb1 := int(src.Cb[s00j]) - 128
2061- s00cr1 := int(src.Cr[s00j]) - 128
2062- s00ru := (s00yy1 + 91881*s00cr1) >> 8
2063- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
2064- s00bu := (s00yy1 + 116130*s00cb1) >> 8
2065- if s00ru < 0 {
2066- s00ru = 0
2067- } else if s00ru > 0xffff {
2068- s00ru = 0xffff
2069- }
2070- if s00gu < 0 {
2071- s00gu = 0
2072- } else if s00gu > 0xffff {
2073- s00gu = 0xffff
2074- }
2075- if s00bu < 0 {
2076- s00bu = 0
2077- } else if s00bu > 0xffff {
2078- s00bu = 0xffff
2079- }
2080-
2081- s00r := float64(s00ru)
2082- s00g := float64(s00gu)
2083- s00b := float64(s00bu)
2084- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2085- s10j := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.CStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2086-
2087- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2088- s10yy1 := int(src.Y[s10i]) * 0x10101
2089- s10cb1 := int(src.Cb[s10j]) - 128
2090- s10cr1 := int(src.Cr[s10j]) - 128
2091- s10ru := (s10yy1 + 91881*s10cr1) >> 8
2092- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
2093- s10bu := (s10yy1 + 116130*s10cb1) >> 8
2094- if s10ru < 0 {
2095- s10ru = 0
2096- } else if s10ru > 0xffff {
2097- s10ru = 0xffff
2098- }
2099- if s10gu < 0 {
2100- s10gu = 0
2101- } else if s10gu > 0xffff {
2102- s10gu = 0xffff
2103- }
2104- if s10bu < 0 {
2105- s10bu = 0
2106- } else if s10bu > 0xffff {
2107- s10bu = 0xffff
2108- }
2109-
2110- s10r := float64(s10ru)
2111- s10g := float64(s10gu)
2112- s10b := float64(s10bu)
2113- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2114- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2115- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2116- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2117- s01j := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.CStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2118-
2119- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2120- s01yy1 := int(src.Y[s01i]) * 0x10101
2121- s01cb1 := int(src.Cb[s01j]) - 128
2122- s01cr1 := int(src.Cr[s01j]) - 128
2123- s01ru := (s01yy1 + 91881*s01cr1) >> 8
2124- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
2125- s01bu := (s01yy1 + 116130*s01cb1) >> 8
2126- if s01ru < 0 {
2127- s01ru = 0
2128- } else if s01ru > 0xffff {
2129- s01ru = 0xffff
2130- }
2131- if s01gu < 0 {
2132- s01gu = 0
2133- } else if s01gu > 0xffff {
2134- s01gu = 0xffff
2135- }
2136- if s01bu < 0 {
2137- s01bu = 0
2138- } else if s01bu > 0xffff {
2139- s01bu = 0xffff
2140- }
2141-
2142- s01r := float64(s01ru)
2143- s01g := float64(s01gu)
2144- s01b := float64(s01bu)
2145- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2146- s11j := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.CStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2147-
2148- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2149- s11yy1 := int(src.Y[s11i]) * 0x10101
2150- s11cb1 := int(src.Cb[s11j]) - 128
2151- s11cr1 := int(src.Cr[s11j]) - 128
2152- s11ru := (s11yy1 + 91881*s11cr1) >> 8
2153- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
2154- s11bu := (s11yy1 + 116130*s11cb1) >> 8
2155- if s11ru < 0 {
2156- s11ru = 0
2157- } else if s11ru > 0xffff {
2158- s11ru = 0xffff
2159- }
2160- if s11gu < 0 {
2161- s11gu = 0
2162- } else if s11gu > 0xffff {
2163- s11gu = 0xffff
2164- }
2165- if s11bu < 0 {
2166- s11bu = 0
2167- } else if s11bu > 0xffff {
2168- s11bu = 0xffff
2169- }
2170-
2171- s11r := float64(s11ru)
2172- s11g := float64(s11gu)
2173- s11b := float64(s11bu)
2174- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2175- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2176- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2177- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2178- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2179- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2180- pr := uint32(s11r)
2181- pg := uint32(s11g)
2182- pb := uint32(s11b)
2183- dst.Pix[d+0] = uint8(pr >> 8)
2184- dst.Pix[d+1] = uint8(pg >> 8)
2185- dst.Pix[d+2] = uint8(pb >> 8)
2186- dst.Pix[d+3] = 0xff
2187- }
2188- }
2189-}
2190-
2191-func (ablInterpolator) scale_RGBA_YCbCr422_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
2192- sw := int32(sr.Dx())
2193- sh := int32(sr.Dy())
2194- yscale := float64(sh) / float64(dr.Dy())
2195- xscale := float64(sw) / float64(dr.Dx())
2196- swMinus1, shMinus1 := sw-1, sh-1
2197-
2198- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2199- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2200- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2201- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2202- // sx, below.
2203- sy0 := int32(sy)
2204- yFrac0 := sy - float64(sy0)
2205- yFrac1 := 1 - yFrac0
2206- sy1 := sy0 + 1
2207- if sy < 0 {
2208- sy0, sy1 = 0, 0
2209- yFrac0, yFrac1 = 0, 1
2210- } else if sy1 > shMinus1 {
2211- sy0, sy1 = shMinus1, shMinus1
2212- yFrac0, yFrac1 = 1, 0
2213- }
2214- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2215-
2216- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2217- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2218- sx0 := int32(sx)
2219- xFrac0 := sx - float64(sx0)
2220- xFrac1 := 1 - xFrac0
2221- sx1 := sx0 + 1
2222- if sx < 0 {
2223- sx0, sx1 = 0, 0
2224- xFrac0, xFrac1 = 0, 1
2225- } else if sx1 > swMinus1 {
2226- sx0, sx1 = swMinus1, swMinus1
2227- xFrac0, xFrac1 = 1, 0
2228- }
2229-
2230- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2231- s00j := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.CStride + ((sr.Min.X+int(sx0))/2 - src.Rect.Min.X/2)
2232-
2233- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2234- s00yy1 := int(src.Y[s00i]) * 0x10101
2235- s00cb1 := int(src.Cb[s00j]) - 128
2236- s00cr1 := int(src.Cr[s00j]) - 128
2237- s00ru := (s00yy1 + 91881*s00cr1) >> 8
2238- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
2239- s00bu := (s00yy1 + 116130*s00cb1) >> 8
2240- if s00ru < 0 {
2241- s00ru = 0
2242- } else if s00ru > 0xffff {
2243- s00ru = 0xffff
2244- }
2245- if s00gu < 0 {
2246- s00gu = 0
2247- } else if s00gu > 0xffff {
2248- s00gu = 0xffff
2249- }
2250- if s00bu < 0 {
2251- s00bu = 0
2252- } else if s00bu > 0xffff {
2253- s00bu = 0xffff
2254- }
2255-
2256- s00r := float64(s00ru)
2257- s00g := float64(s00gu)
2258- s00b := float64(s00bu)
2259- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2260- s10j := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.CStride + ((sr.Min.X+int(sx1))/2 - src.Rect.Min.X/2)
2261-
2262- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2263- s10yy1 := int(src.Y[s10i]) * 0x10101
2264- s10cb1 := int(src.Cb[s10j]) - 128
2265- s10cr1 := int(src.Cr[s10j]) - 128
2266- s10ru := (s10yy1 + 91881*s10cr1) >> 8
2267- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
2268- s10bu := (s10yy1 + 116130*s10cb1) >> 8
2269- if s10ru < 0 {
2270- s10ru = 0
2271- } else if s10ru > 0xffff {
2272- s10ru = 0xffff
2273- }
2274- if s10gu < 0 {
2275- s10gu = 0
2276- } else if s10gu > 0xffff {
2277- s10gu = 0xffff
2278- }
2279- if s10bu < 0 {
2280- s10bu = 0
2281- } else if s10bu > 0xffff {
2282- s10bu = 0xffff
2283- }
2284-
2285- s10r := float64(s10ru)
2286- s10g := float64(s10gu)
2287- s10b := float64(s10bu)
2288- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2289- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2290- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2291- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2292- s01j := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.CStride + ((sr.Min.X+int(sx0))/2 - src.Rect.Min.X/2)
2293-
2294- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2295- s01yy1 := int(src.Y[s01i]) * 0x10101
2296- s01cb1 := int(src.Cb[s01j]) - 128
2297- s01cr1 := int(src.Cr[s01j]) - 128
2298- s01ru := (s01yy1 + 91881*s01cr1) >> 8
2299- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
2300- s01bu := (s01yy1 + 116130*s01cb1) >> 8
2301- if s01ru < 0 {
2302- s01ru = 0
2303- } else if s01ru > 0xffff {
2304- s01ru = 0xffff
2305- }
2306- if s01gu < 0 {
2307- s01gu = 0
2308- } else if s01gu > 0xffff {
2309- s01gu = 0xffff
2310- }
2311- if s01bu < 0 {
2312- s01bu = 0
2313- } else if s01bu > 0xffff {
2314- s01bu = 0xffff
2315- }
2316-
2317- s01r := float64(s01ru)
2318- s01g := float64(s01gu)
2319- s01b := float64(s01bu)
2320- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2321- s11j := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.CStride + ((sr.Min.X+int(sx1))/2 - src.Rect.Min.X/2)
2322-
2323- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2324- s11yy1 := int(src.Y[s11i]) * 0x10101
2325- s11cb1 := int(src.Cb[s11j]) - 128
2326- s11cr1 := int(src.Cr[s11j]) - 128
2327- s11ru := (s11yy1 + 91881*s11cr1) >> 8
2328- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
2329- s11bu := (s11yy1 + 116130*s11cb1) >> 8
2330- if s11ru < 0 {
2331- s11ru = 0
2332- } else if s11ru > 0xffff {
2333- s11ru = 0xffff
2334- }
2335- if s11gu < 0 {
2336- s11gu = 0
2337- } else if s11gu > 0xffff {
2338- s11gu = 0xffff
2339- }
2340- if s11bu < 0 {
2341- s11bu = 0
2342- } else if s11bu > 0xffff {
2343- s11bu = 0xffff
2344- }
2345-
2346- s11r := float64(s11ru)
2347- s11g := float64(s11gu)
2348- s11b := float64(s11bu)
2349- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2350- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2351- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2352- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2353- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2354- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2355- pr := uint32(s11r)
2356- pg := uint32(s11g)
2357- pb := uint32(s11b)
2358- dst.Pix[d+0] = uint8(pr >> 8)
2359- dst.Pix[d+1] = uint8(pg >> 8)
2360- dst.Pix[d+2] = uint8(pb >> 8)
2361- dst.Pix[d+3] = 0xff
2362- }
2363- }
2364-}
2365-
2366-func (ablInterpolator) scale_RGBA_YCbCr420_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
2367- sw := int32(sr.Dx())
2368- sh := int32(sr.Dy())
2369- yscale := float64(sh) / float64(dr.Dy())
2370- xscale := float64(sw) / float64(dr.Dx())
2371- swMinus1, shMinus1 := sw-1, sh-1
2372-
2373- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2374- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2375- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2376- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2377- // sx, below.
2378- sy0 := int32(sy)
2379- yFrac0 := sy - float64(sy0)
2380- yFrac1 := 1 - yFrac0
2381- sy1 := sy0 + 1
2382- if sy < 0 {
2383- sy0, sy1 = 0, 0
2384- yFrac0, yFrac1 = 0, 1
2385- } else if sy1 > shMinus1 {
2386- sy0, sy1 = shMinus1, shMinus1
2387- yFrac0, yFrac1 = 1, 0
2388- }
2389- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2390-
2391- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2392- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2393- sx0 := int32(sx)
2394- xFrac0 := sx - float64(sx0)
2395- xFrac1 := 1 - xFrac0
2396- sx1 := sx0 + 1
2397- if sx < 0 {
2398- sx0, sx1 = 0, 0
2399- xFrac0, xFrac1 = 0, 1
2400- } else if sx1 > swMinus1 {
2401- sx0, sx1 = swMinus1, swMinus1
2402- xFrac0, xFrac1 = 1, 0
2403- }
2404-
2405- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2406- s00j := ((sr.Min.Y+int(sy0))/2-src.Rect.Min.Y/2)*src.CStride + ((sr.Min.X+int(sx0))/2 - src.Rect.Min.X/2)
2407-
2408- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2409- s00yy1 := int(src.Y[s00i]) * 0x10101
2410- s00cb1 := int(src.Cb[s00j]) - 128
2411- s00cr1 := int(src.Cr[s00j]) - 128
2412- s00ru := (s00yy1 + 91881*s00cr1) >> 8
2413- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
2414- s00bu := (s00yy1 + 116130*s00cb1) >> 8
2415- if s00ru < 0 {
2416- s00ru = 0
2417- } else if s00ru > 0xffff {
2418- s00ru = 0xffff
2419- }
2420- if s00gu < 0 {
2421- s00gu = 0
2422- } else if s00gu > 0xffff {
2423- s00gu = 0xffff
2424- }
2425- if s00bu < 0 {
2426- s00bu = 0
2427- } else if s00bu > 0xffff {
2428- s00bu = 0xffff
2429- }
2430-
2431- s00r := float64(s00ru)
2432- s00g := float64(s00gu)
2433- s00b := float64(s00bu)
2434- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2435- s10j := ((sr.Min.Y+int(sy0))/2-src.Rect.Min.Y/2)*src.CStride + ((sr.Min.X+int(sx1))/2 - src.Rect.Min.X/2)
2436-
2437- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2438- s10yy1 := int(src.Y[s10i]) * 0x10101
2439- s10cb1 := int(src.Cb[s10j]) - 128
2440- s10cr1 := int(src.Cr[s10j]) - 128
2441- s10ru := (s10yy1 + 91881*s10cr1) >> 8
2442- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
2443- s10bu := (s10yy1 + 116130*s10cb1) >> 8
2444- if s10ru < 0 {
2445- s10ru = 0
2446- } else if s10ru > 0xffff {
2447- s10ru = 0xffff
2448- }
2449- if s10gu < 0 {
2450- s10gu = 0
2451- } else if s10gu > 0xffff {
2452- s10gu = 0xffff
2453- }
2454- if s10bu < 0 {
2455- s10bu = 0
2456- } else if s10bu > 0xffff {
2457- s10bu = 0xffff
2458- }
2459-
2460- s10r := float64(s10ru)
2461- s10g := float64(s10gu)
2462- s10b := float64(s10bu)
2463- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2464- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2465- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2466- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2467- s01j := ((sr.Min.Y+int(sy1))/2-src.Rect.Min.Y/2)*src.CStride + ((sr.Min.X+int(sx0))/2 - src.Rect.Min.X/2)
2468-
2469- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2470- s01yy1 := int(src.Y[s01i]) * 0x10101
2471- s01cb1 := int(src.Cb[s01j]) - 128
2472- s01cr1 := int(src.Cr[s01j]) - 128
2473- s01ru := (s01yy1 + 91881*s01cr1) >> 8
2474- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
2475- s01bu := (s01yy1 + 116130*s01cb1) >> 8
2476- if s01ru < 0 {
2477- s01ru = 0
2478- } else if s01ru > 0xffff {
2479- s01ru = 0xffff
2480- }
2481- if s01gu < 0 {
2482- s01gu = 0
2483- } else if s01gu > 0xffff {
2484- s01gu = 0xffff
2485- }
2486- if s01bu < 0 {
2487- s01bu = 0
2488- } else if s01bu > 0xffff {
2489- s01bu = 0xffff
2490- }
2491-
2492- s01r := float64(s01ru)
2493- s01g := float64(s01gu)
2494- s01b := float64(s01bu)
2495- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2496- s11j := ((sr.Min.Y+int(sy1))/2-src.Rect.Min.Y/2)*src.CStride + ((sr.Min.X+int(sx1))/2 - src.Rect.Min.X/2)
2497-
2498- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2499- s11yy1 := int(src.Y[s11i]) * 0x10101
2500- s11cb1 := int(src.Cb[s11j]) - 128
2501- s11cr1 := int(src.Cr[s11j]) - 128
2502- s11ru := (s11yy1 + 91881*s11cr1) >> 8
2503- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
2504- s11bu := (s11yy1 + 116130*s11cb1) >> 8
2505- if s11ru < 0 {
2506- s11ru = 0
2507- } else if s11ru > 0xffff {
2508- s11ru = 0xffff
2509- }
2510- if s11gu < 0 {
2511- s11gu = 0
2512- } else if s11gu > 0xffff {
2513- s11gu = 0xffff
2514- }
2515- if s11bu < 0 {
2516- s11bu = 0
2517- } else if s11bu > 0xffff {
2518- s11bu = 0xffff
2519- }
2520-
2521- s11r := float64(s11ru)
2522- s11g := float64(s11gu)
2523- s11b := float64(s11bu)
2524- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2525- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2526- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2527- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2528- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2529- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2530- pr := uint32(s11r)
2531- pg := uint32(s11g)
2532- pb := uint32(s11b)
2533- dst.Pix[d+0] = uint8(pr >> 8)
2534- dst.Pix[d+1] = uint8(pg >> 8)
2535- dst.Pix[d+2] = uint8(pb >> 8)
2536- dst.Pix[d+3] = 0xff
2537- }
2538- }
2539-}
2540-
2541-func (ablInterpolator) scale_RGBA_YCbCr440_Src(dst *image.RGBA, dr, adr image.Rectangle, src *image.YCbCr, sr image.Rectangle, opts *Options) {
2542- sw := int32(sr.Dx())
2543- sh := int32(sr.Dy())
2544- yscale := float64(sh) / float64(dr.Dy())
2545- xscale := float64(sw) / float64(dr.Dx())
2546- swMinus1, shMinus1 := sw-1, sh-1
2547-
2548- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2549- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2550- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2551- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2552- // sx, below.
2553- sy0 := int32(sy)
2554- yFrac0 := sy - float64(sy0)
2555- yFrac1 := 1 - yFrac0
2556- sy1 := sy0 + 1
2557- if sy < 0 {
2558- sy0, sy1 = 0, 0
2559- yFrac0, yFrac1 = 0, 1
2560- } else if sy1 > shMinus1 {
2561- sy0, sy1 = shMinus1, shMinus1
2562- yFrac0, yFrac1 = 1, 0
2563- }
2564- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2565-
2566- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2567- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2568- sx0 := int32(sx)
2569- xFrac0 := sx - float64(sx0)
2570- xFrac1 := 1 - xFrac0
2571- sx1 := sx0 + 1
2572- if sx < 0 {
2573- sx0, sx1 = 0, 0
2574- xFrac0, xFrac1 = 0, 1
2575- } else if sx1 > swMinus1 {
2576- sx0, sx1 = swMinus1, swMinus1
2577- xFrac0, xFrac1 = 1, 0
2578- }
2579-
2580- s00i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2581- s00j := ((sr.Min.Y+int(sy0))/2-src.Rect.Min.Y/2)*src.CStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2582-
2583- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2584- s00yy1 := int(src.Y[s00i]) * 0x10101
2585- s00cb1 := int(src.Cb[s00j]) - 128
2586- s00cr1 := int(src.Cr[s00j]) - 128
2587- s00ru := (s00yy1 + 91881*s00cr1) >> 8
2588- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
2589- s00bu := (s00yy1 + 116130*s00cb1) >> 8
2590- if s00ru < 0 {
2591- s00ru = 0
2592- } else if s00ru > 0xffff {
2593- s00ru = 0xffff
2594- }
2595- if s00gu < 0 {
2596- s00gu = 0
2597- } else if s00gu > 0xffff {
2598- s00gu = 0xffff
2599- }
2600- if s00bu < 0 {
2601- s00bu = 0
2602- } else if s00bu > 0xffff {
2603- s00bu = 0xffff
2604- }
2605-
2606- s00r := float64(s00ru)
2607- s00g := float64(s00gu)
2608- s00b := float64(s00bu)
2609- s10i := (sr.Min.Y+int(sy0)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2610- s10j := ((sr.Min.Y+int(sy0))/2-src.Rect.Min.Y/2)*src.CStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2611-
2612- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2613- s10yy1 := int(src.Y[s10i]) * 0x10101
2614- s10cb1 := int(src.Cb[s10j]) - 128
2615- s10cr1 := int(src.Cr[s10j]) - 128
2616- s10ru := (s10yy1 + 91881*s10cr1) >> 8
2617- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
2618- s10bu := (s10yy1 + 116130*s10cb1) >> 8
2619- if s10ru < 0 {
2620- s10ru = 0
2621- } else if s10ru > 0xffff {
2622- s10ru = 0xffff
2623- }
2624- if s10gu < 0 {
2625- s10gu = 0
2626- } else if s10gu > 0xffff {
2627- s10gu = 0xffff
2628- }
2629- if s10bu < 0 {
2630- s10bu = 0
2631- } else if s10bu > 0xffff {
2632- s10bu = 0xffff
2633- }
2634-
2635- s10r := float64(s10ru)
2636- s10g := float64(s10gu)
2637- s10b := float64(s10bu)
2638- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2639- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2640- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2641- s01i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2642- s01j := ((sr.Min.Y+int(sy1))/2-src.Rect.Min.Y/2)*src.CStride + (sr.Min.X + int(sx0) - src.Rect.Min.X)
2643-
2644- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2645- s01yy1 := int(src.Y[s01i]) * 0x10101
2646- s01cb1 := int(src.Cb[s01j]) - 128
2647- s01cr1 := int(src.Cr[s01j]) - 128
2648- s01ru := (s01yy1 + 91881*s01cr1) >> 8
2649- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
2650- s01bu := (s01yy1 + 116130*s01cb1) >> 8
2651- if s01ru < 0 {
2652- s01ru = 0
2653- } else if s01ru > 0xffff {
2654- s01ru = 0xffff
2655- }
2656- if s01gu < 0 {
2657- s01gu = 0
2658- } else if s01gu > 0xffff {
2659- s01gu = 0xffff
2660- }
2661- if s01bu < 0 {
2662- s01bu = 0
2663- } else if s01bu > 0xffff {
2664- s01bu = 0xffff
2665- }
2666-
2667- s01r := float64(s01ru)
2668- s01g := float64(s01gu)
2669- s01b := float64(s01bu)
2670- s11i := (sr.Min.Y+int(sy1)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2671- s11j := ((sr.Min.Y+int(sy1))/2-src.Rect.Min.Y/2)*src.CStride + (sr.Min.X + int(sx1) - src.Rect.Min.X)
2672-
2673- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
2674- s11yy1 := int(src.Y[s11i]) * 0x10101
2675- s11cb1 := int(src.Cb[s11j]) - 128
2676- s11cr1 := int(src.Cr[s11j]) - 128
2677- s11ru := (s11yy1 + 91881*s11cr1) >> 8
2678- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
2679- s11bu := (s11yy1 + 116130*s11cb1) >> 8
2680- if s11ru < 0 {
2681- s11ru = 0
2682- } else if s11ru > 0xffff {
2683- s11ru = 0xffff
2684- }
2685- if s11gu < 0 {
2686- s11gu = 0
2687- } else if s11gu > 0xffff {
2688- s11gu = 0xffff
2689- }
2690- if s11bu < 0 {
2691- s11bu = 0
2692- } else if s11bu > 0xffff {
2693- s11bu = 0xffff
2694- }
2695-
2696- s11r := float64(s11ru)
2697- s11g := float64(s11gu)
2698- s11b := float64(s11bu)
2699- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2700- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2701- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2702- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2703- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2704- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2705- pr := uint32(s11r)
2706- pg := uint32(s11g)
2707- pb := uint32(s11b)
2708- dst.Pix[d+0] = uint8(pr >> 8)
2709- dst.Pix[d+1] = uint8(pg >> 8)
2710- dst.Pix[d+2] = uint8(pb >> 8)
2711- dst.Pix[d+3] = 0xff
2712- }
2713- }
2714-}
2715-
2716-func (ablInterpolator) scale_RGBA_RGBA64Image_Over(dst *image.RGBA, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
2717- sw := int32(sr.Dx())
2718- sh := int32(sr.Dy())
2719- yscale := float64(sh) / float64(dr.Dy())
2720- xscale := float64(sw) / float64(dr.Dx())
2721- swMinus1, shMinus1 := sw-1, sh-1
2722-
2723- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2724- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2725- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2726- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2727- // sx, below.
2728- sy0 := int32(sy)
2729- yFrac0 := sy - float64(sy0)
2730- yFrac1 := 1 - yFrac0
2731- sy1 := sy0 + 1
2732- if sy < 0 {
2733- sy0, sy1 = 0, 0
2734- yFrac0, yFrac1 = 0, 1
2735- } else if sy1 > shMinus1 {
2736- sy0, sy1 = shMinus1, shMinus1
2737- yFrac0, yFrac1 = 1, 0
2738- }
2739- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2740-
2741- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2742- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2743- sx0 := int32(sx)
2744- xFrac0 := sx - float64(sx0)
2745- xFrac1 := 1 - xFrac0
2746- sx1 := sx0 + 1
2747- if sx < 0 {
2748- sx0, sx1 = 0, 0
2749- xFrac0, xFrac1 = 0, 1
2750- } else if sx1 > swMinus1 {
2751- sx0, sx1 = swMinus1, swMinus1
2752- xFrac0, xFrac1 = 1, 0
2753- }
2754-
2755- s00u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0))
2756- s00r := float64(s00u.R)
2757- s00g := float64(s00u.G)
2758- s00b := float64(s00u.B)
2759- s00a := float64(s00u.A)
2760- s10u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0))
2761- s10r := float64(s10u.R)
2762- s10g := float64(s10u.G)
2763- s10b := float64(s10u.B)
2764- s10a := float64(s10u.A)
2765- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2766- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2767- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2768- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
2769- s01u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1))
2770- s01r := float64(s01u.R)
2771- s01g := float64(s01u.G)
2772- s01b := float64(s01u.B)
2773- s01a := float64(s01u.A)
2774- s11u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1))
2775- s11r := float64(s11u.R)
2776- s11g := float64(s11u.G)
2777- s11b := float64(s11u.B)
2778- s11a := float64(s11u.A)
2779- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2780- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2781- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2782- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
2783- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2784- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2785- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2786- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
2787- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
2788- pa1 := (0xffff - uint32(p.A)) * 0x101
2789- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + uint32(p.R)) >> 8)
2790- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + uint32(p.G)) >> 8)
2791- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + uint32(p.B)) >> 8)
2792- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + uint32(p.A)) >> 8)
2793- }
2794- }
2795-}
2796-
2797-func (ablInterpolator) scale_RGBA_RGBA64Image_Src(dst *image.RGBA, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
2798- sw := int32(sr.Dx())
2799- sh := int32(sr.Dy())
2800- yscale := float64(sh) / float64(dr.Dy())
2801- xscale := float64(sw) / float64(dr.Dx())
2802- swMinus1, shMinus1 := sw-1, sh-1
2803-
2804- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2805- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2806- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2807- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2808- // sx, below.
2809- sy0 := int32(sy)
2810- yFrac0 := sy - float64(sy0)
2811- yFrac1 := 1 - yFrac0
2812- sy1 := sy0 + 1
2813- if sy < 0 {
2814- sy0, sy1 = 0, 0
2815- yFrac0, yFrac1 = 0, 1
2816- } else if sy1 > shMinus1 {
2817- sy0, sy1 = shMinus1, shMinus1
2818- yFrac0, yFrac1 = 1, 0
2819- }
2820- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2821-
2822- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2823- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2824- sx0 := int32(sx)
2825- xFrac0 := sx - float64(sx0)
2826- xFrac1 := 1 - xFrac0
2827- sx1 := sx0 + 1
2828- if sx < 0 {
2829- sx0, sx1 = 0, 0
2830- xFrac0, xFrac1 = 0, 1
2831- } else if sx1 > swMinus1 {
2832- sx0, sx1 = swMinus1, swMinus1
2833- xFrac0, xFrac1 = 1, 0
2834- }
2835-
2836- s00u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0))
2837- s00r := float64(s00u.R)
2838- s00g := float64(s00u.G)
2839- s00b := float64(s00u.B)
2840- s00a := float64(s00u.A)
2841- s10u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0))
2842- s10r := float64(s10u.R)
2843- s10g := float64(s10u.G)
2844- s10b := float64(s10u.B)
2845- s10a := float64(s10u.A)
2846- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2847- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2848- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2849- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
2850- s01u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1))
2851- s01r := float64(s01u.R)
2852- s01g := float64(s01u.G)
2853- s01b := float64(s01u.B)
2854- s01a := float64(s01u.A)
2855- s11u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1))
2856- s11r := float64(s11u.R)
2857- s11g := float64(s11u.G)
2858- s11b := float64(s11u.B)
2859- s11a := float64(s11u.A)
2860- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2861- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2862- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2863- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
2864- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2865- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2866- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2867- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
2868- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
2869- dst.Pix[d+0] = uint8(p.R >> 8)
2870- dst.Pix[d+1] = uint8(p.G >> 8)
2871- dst.Pix[d+2] = uint8(p.B >> 8)
2872- dst.Pix[d+3] = uint8(p.A >> 8)
2873- }
2874- }
2875-}
2876-
2877-func (ablInterpolator) scale_RGBA_Image_Over(dst *image.RGBA, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
2878- sw := int32(sr.Dx())
2879- sh := int32(sr.Dy())
2880- yscale := float64(sh) / float64(dr.Dy())
2881- xscale := float64(sw) / float64(dr.Dx())
2882- swMinus1, shMinus1 := sw-1, sh-1
2883-
2884- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2885- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2886- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2887- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2888- // sx, below.
2889- sy0 := int32(sy)
2890- yFrac0 := sy - float64(sy0)
2891- yFrac1 := 1 - yFrac0
2892- sy1 := sy0 + 1
2893- if sy < 0 {
2894- sy0, sy1 = 0, 0
2895- yFrac0, yFrac1 = 0, 1
2896- } else if sy1 > shMinus1 {
2897- sy0, sy1 = shMinus1, shMinus1
2898- yFrac0, yFrac1 = 1, 0
2899- }
2900- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2901-
2902- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2903- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2904- sx0 := int32(sx)
2905- xFrac0 := sx - float64(sx0)
2906- xFrac1 := 1 - xFrac0
2907- sx1 := sx0 + 1
2908- if sx < 0 {
2909- sx0, sx1 = 0, 0
2910- xFrac0, xFrac1 = 0, 1
2911- } else if sx1 > swMinus1 {
2912- sx0, sx1 = swMinus1, swMinus1
2913- xFrac0, xFrac1 = 1, 0
2914- }
2915-
2916- s00ru, s00gu, s00bu, s00au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0)).RGBA()
2917- s00r := float64(s00ru)
2918- s00g := float64(s00gu)
2919- s00b := float64(s00bu)
2920- s00a := float64(s00au)
2921- s10ru, s10gu, s10bu, s10au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0)).RGBA()
2922- s10r := float64(s10ru)
2923- s10g := float64(s10gu)
2924- s10b := float64(s10bu)
2925- s10a := float64(s10au)
2926- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
2927- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
2928- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
2929- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
2930- s01ru, s01gu, s01bu, s01au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1)).RGBA()
2931- s01r := float64(s01ru)
2932- s01g := float64(s01gu)
2933- s01b := float64(s01bu)
2934- s01a := float64(s01au)
2935- s11ru, s11gu, s11bu, s11au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1)).RGBA()
2936- s11r := float64(s11ru)
2937- s11g := float64(s11gu)
2938- s11b := float64(s11bu)
2939- s11a := float64(s11au)
2940- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
2941- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
2942- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
2943- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
2944- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
2945- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
2946- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
2947- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
2948- pr := uint32(s11r)
2949- pg := uint32(s11g)
2950- pb := uint32(s11b)
2951- pa := uint32(s11a)
2952- pa1 := (0xffff - pa) * 0x101
2953- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
2954- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
2955- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
2956- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
2957- }
2958- }
2959-}
2960-
2961-func (ablInterpolator) scale_RGBA_Image_Src(dst *image.RGBA, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
2962- sw := int32(sr.Dx())
2963- sh := int32(sr.Dy())
2964- yscale := float64(sh) / float64(dr.Dy())
2965- xscale := float64(sw) / float64(dr.Dx())
2966- swMinus1, shMinus1 := sw-1, sh-1
2967-
2968- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
2969- sy := float64((float64(dy)+0.5)*yscale) - 0.5
2970- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
2971- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
2972- // sx, below.
2973- sy0 := int32(sy)
2974- yFrac0 := sy - float64(sy0)
2975- yFrac1 := 1 - yFrac0
2976- sy1 := sy0 + 1
2977- if sy < 0 {
2978- sy0, sy1 = 0, 0
2979- yFrac0, yFrac1 = 0, 1
2980- } else if sy1 > shMinus1 {
2981- sy0, sy1 = shMinus1, shMinus1
2982- yFrac0, yFrac1 = 1, 0
2983- }
2984- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
2985-
2986- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
2987- sx := float64((float64(dx)+0.5)*xscale) - 0.5
2988- sx0 := int32(sx)
2989- xFrac0 := sx - float64(sx0)
2990- xFrac1 := 1 - xFrac0
2991- sx1 := sx0 + 1
2992- if sx < 0 {
2993- sx0, sx1 = 0, 0
2994- xFrac0, xFrac1 = 0, 1
2995- } else if sx1 > swMinus1 {
2996- sx0, sx1 = swMinus1, swMinus1
2997- xFrac0, xFrac1 = 1, 0
2998- }
2999-
3000- s00ru, s00gu, s00bu, s00au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0)).RGBA()
3001- s00r := float64(s00ru)
3002- s00g := float64(s00gu)
3003- s00b := float64(s00bu)
3004- s00a := float64(s00au)
3005- s10ru, s10gu, s10bu, s10au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0)).RGBA()
3006- s10r := float64(s10ru)
3007- s10g := float64(s10gu)
3008- s10b := float64(s10bu)
3009- s10a := float64(s10au)
3010- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3011- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3012- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3013- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3014- s01ru, s01gu, s01bu, s01au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1)).RGBA()
3015- s01r := float64(s01ru)
3016- s01g := float64(s01gu)
3017- s01b := float64(s01bu)
3018- s01a := float64(s01au)
3019- s11ru, s11gu, s11bu, s11au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1)).RGBA()
3020- s11r := float64(s11ru)
3021- s11g := float64(s11gu)
3022- s11b := float64(s11bu)
3023- s11a := float64(s11au)
3024- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3025- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3026- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3027- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3028- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3029- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3030- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3031- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3032- pr := uint32(s11r)
3033- pg := uint32(s11g)
3034- pb := uint32(s11b)
3035- pa := uint32(s11a)
3036- dst.Pix[d+0] = uint8(pr >> 8)
3037- dst.Pix[d+1] = uint8(pg >> 8)
3038- dst.Pix[d+2] = uint8(pb >> 8)
3039- dst.Pix[d+3] = uint8(pa >> 8)
3040- }
3041- }
3042-}
3043-
3044-func (ablInterpolator) scale_RGBA64Image_RGBA64Image_Over(dst RGBA64Image, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
3045- sw := int32(sr.Dx())
3046- sh := int32(sr.Dy())
3047- yscale := float64(sh) / float64(dr.Dy())
3048- xscale := float64(sw) / float64(dr.Dx())
3049- swMinus1, shMinus1 := sw-1, sh-1
3050- srcMask, smp := opts.SrcMask, opts.SrcMaskP
3051- dstMask, dmp := opts.DstMask, opts.DstMaskP
3052- dstColorRGBA64 := color.RGBA64{}
3053-
3054- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3055- sy := float64((float64(dy)+0.5)*yscale) - 0.5
3056- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
3057- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
3058- // sx, below.
3059- sy0 := int32(sy)
3060- yFrac0 := sy - float64(sy0)
3061- yFrac1 := 1 - yFrac0
3062- sy1 := sy0 + 1
3063- if sy < 0 {
3064- sy0, sy1 = 0, 0
3065- yFrac0, yFrac1 = 0, 1
3066- } else if sy1 > shMinus1 {
3067- sy0, sy1 = shMinus1, shMinus1
3068- yFrac0, yFrac1 = 1, 0
3069- }
3070-
3071- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
3072- sx := float64((float64(dx)+0.5)*xscale) - 0.5
3073- sx0 := int32(sx)
3074- xFrac0 := sx - float64(sx0)
3075- xFrac1 := 1 - xFrac0
3076- sx1 := sx0 + 1
3077- if sx < 0 {
3078- sx0, sx1 = 0, 0
3079- xFrac0, xFrac1 = 0, 1
3080- } else if sx1 > swMinus1 {
3081- sx0, sx1 = swMinus1, swMinus1
3082- xFrac0, xFrac1 = 1, 0
3083- }
3084-
3085- s00u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0))
3086- if srcMask != nil {
3087- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3088- s00u.R = uint16(uint32(s00u.R) * ma / 0xffff)
3089- s00u.G = uint16(uint32(s00u.G) * ma / 0xffff)
3090- s00u.B = uint16(uint32(s00u.B) * ma / 0xffff)
3091- s00u.A = uint16(uint32(s00u.A) * ma / 0xffff)
3092- }
3093- s00r := float64(s00u.R)
3094- s00g := float64(s00u.G)
3095- s00b := float64(s00u.B)
3096- s00a := float64(s00u.A)
3097- s10u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0))
3098- if srcMask != nil {
3099- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3100- s10u.R = uint16(uint32(s10u.R) * ma / 0xffff)
3101- s10u.G = uint16(uint32(s10u.G) * ma / 0xffff)
3102- s10u.B = uint16(uint32(s10u.B) * ma / 0xffff)
3103- s10u.A = uint16(uint32(s10u.A) * ma / 0xffff)
3104- }
3105- s10r := float64(s10u.R)
3106- s10g := float64(s10u.G)
3107- s10b := float64(s10u.B)
3108- s10a := float64(s10u.A)
3109- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3110- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3111- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3112- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3113- s01u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1))
3114- if srcMask != nil {
3115- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3116- s01u.R = uint16(uint32(s01u.R) * ma / 0xffff)
3117- s01u.G = uint16(uint32(s01u.G) * ma / 0xffff)
3118- s01u.B = uint16(uint32(s01u.B) * ma / 0xffff)
3119- s01u.A = uint16(uint32(s01u.A) * ma / 0xffff)
3120- }
3121- s01r := float64(s01u.R)
3122- s01g := float64(s01u.G)
3123- s01b := float64(s01u.B)
3124- s01a := float64(s01u.A)
3125- s11u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1))
3126- if srcMask != nil {
3127- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3128- s11u.R = uint16(uint32(s11u.R) * ma / 0xffff)
3129- s11u.G = uint16(uint32(s11u.G) * ma / 0xffff)
3130- s11u.B = uint16(uint32(s11u.B) * ma / 0xffff)
3131- s11u.A = uint16(uint32(s11u.A) * ma / 0xffff)
3132- }
3133- s11r := float64(s11u.R)
3134- s11g := float64(s11u.G)
3135- s11b := float64(s11u.B)
3136- s11a := float64(s11u.A)
3137- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3138- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3139- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3140- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3141- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3142- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3143- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3144- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3145- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
3146- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
3147- if dstMask != nil {
3148- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
3149- p.R = uint16(uint32(p.R) * ma / 0xffff)
3150- p.G = uint16(uint32(p.G) * ma / 0xffff)
3151- p.B = uint16(uint32(p.B) * ma / 0xffff)
3152- p.A = uint16(uint32(p.A) * ma / 0xffff)
3153- }
3154- pa1 := 0xffff - uint32(p.A)
3155- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
3156- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
3157- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
3158- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
3159- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
3160- }
3161- }
3162-}
3163-
3164-func (ablInterpolator) scale_RGBA64Image_RGBA64Image_Src(dst RGBA64Image, dr, adr image.Rectangle, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
3165- sw := int32(sr.Dx())
3166- sh := int32(sr.Dy())
3167- yscale := float64(sh) / float64(dr.Dy())
3168- xscale := float64(sw) / float64(dr.Dx())
3169- swMinus1, shMinus1 := sw-1, sh-1
3170- srcMask, smp := opts.SrcMask, opts.SrcMaskP
3171- dstMask, dmp := opts.DstMask, opts.DstMaskP
3172- dstColorRGBA64 := color.RGBA64{}
3173-
3174- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3175- sy := float64((float64(dy)+0.5)*yscale) - 0.5
3176- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
3177- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
3178- // sx, below.
3179- sy0 := int32(sy)
3180- yFrac0 := sy - float64(sy0)
3181- yFrac1 := 1 - yFrac0
3182- sy1 := sy0 + 1
3183- if sy < 0 {
3184- sy0, sy1 = 0, 0
3185- yFrac0, yFrac1 = 0, 1
3186- } else if sy1 > shMinus1 {
3187- sy0, sy1 = shMinus1, shMinus1
3188- yFrac0, yFrac1 = 1, 0
3189- }
3190-
3191- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
3192- sx := float64((float64(dx)+0.5)*xscale) - 0.5
3193- sx0 := int32(sx)
3194- xFrac0 := sx - float64(sx0)
3195- xFrac1 := 1 - xFrac0
3196- sx1 := sx0 + 1
3197- if sx < 0 {
3198- sx0, sx1 = 0, 0
3199- xFrac0, xFrac1 = 0, 1
3200- } else if sx1 > swMinus1 {
3201- sx0, sx1 = swMinus1, swMinus1
3202- xFrac0, xFrac1 = 1, 0
3203- }
3204-
3205- s00u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0))
3206- if srcMask != nil {
3207- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3208- s00u.R = uint16(uint32(s00u.R) * ma / 0xffff)
3209- s00u.G = uint16(uint32(s00u.G) * ma / 0xffff)
3210- s00u.B = uint16(uint32(s00u.B) * ma / 0xffff)
3211- s00u.A = uint16(uint32(s00u.A) * ma / 0xffff)
3212- }
3213- s00r := float64(s00u.R)
3214- s00g := float64(s00u.G)
3215- s00b := float64(s00u.B)
3216- s00a := float64(s00u.A)
3217- s10u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0))
3218- if srcMask != nil {
3219- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3220- s10u.R = uint16(uint32(s10u.R) * ma / 0xffff)
3221- s10u.G = uint16(uint32(s10u.G) * ma / 0xffff)
3222- s10u.B = uint16(uint32(s10u.B) * ma / 0xffff)
3223- s10u.A = uint16(uint32(s10u.A) * ma / 0xffff)
3224- }
3225- s10r := float64(s10u.R)
3226- s10g := float64(s10u.G)
3227- s10b := float64(s10u.B)
3228- s10a := float64(s10u.A)
3229- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3230- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3231- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3232- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3233- s01u := src.RGBA64At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1))
3234- if srcMask != nil {
3235- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3236- s01u.R = uint16(uint32(s01u.R) * ma / 0xffff)
3237- s01u.G = uint16(uint32(s01u.G) * ma / 0xffff)
3238- s01u.B = uint16(uint32(s01u.B) * ma / 0xffff)
3239- s01u.A = uint16(uint32(s01u.A) * ma / 0xffff)
3240- }
3241- s01r := float64(s01u.R)
3242- s01g := float64(s01u.G)
3243- s01b := float64(s01u.B)
3244- s01a := float64(s01u.A)
3245- s11u := src.RGBA64At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1))
3246- if srcMask != nil {
3247- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3248- s11u.R = uint16(uint32(s11u.R) * ma / 0xffff)
3249- s11u.G = uint16(uint32(s11u.G) * ma / 0xffff)
3250- s11u.B = uint16(uint32(s11u.B) * ma / 0xffff)
3251- s11u.A = uint16(uint32(s11u.A) * ma / 0xffff)
3252- }
3253- s11r := float64(s11u.R)
3254- s11g := float64(s11u.G)
3255- s11b := float64(s11u.B)
3256- s11a := float64(s11u.A)
3257- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3258- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3259- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3260- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3261- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3262- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3263- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3264- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3265- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
3266- if dstMask != nil {
3267- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
3268- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
3269- p.R = uint16(uint32(p.R) * ma / 0xffff)
3270- p.G = uint16(uint32(p.G) * ma / 0xffff)
3271- p.B = uint16(uint32(p.B) * ma / 0xffff)
3272- p.A = uint16(uint32(p.A) * ma / 0xffff)
3273- pa1 := 0xffff - ma
3274- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
3275- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
3276- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
3277- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
3278- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
3279- } else {
3280- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), p)
3281- }
3282- }
3283- }
3284-}
3285-
3286-func (ablInterpolator) scale_Image_Image_Over(dst Image, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
3287- sw := int32(sr.Dx())
3288- sh := int32(sr.Dy())
3289- yscale := float64(sh) / float64(dr.Dy())
3290- xscale := float64(sw) / float64(dr.Dx())
3291- swMinus1, shMinus1 := sw-1, sh-1
3292- srcMask, smp := opts.SrcMask, opts.SrcMaskP
3293- dstMask, dmp := opts.DstMask, opts.DstMaskP
3294- dstColorRGBA64 := &color.RGBA64{}
3295- dstColor := color.Color(dstColorRGBA64)
3296-
3297- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3298- sy := float64((float64(dy)+0.5)*yscale) - 0.5
3299- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
3300- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
3301- // sx, below.
3302- sy0 := int32(sy)
3303- yFrac0 := sy - float64(sy0)
3304- yFrac1 := 1 - yFrac0
3305- sy1 := sy0 + 1
3306- if sy < 0 {
3307- sy0, sy1 = 0, 0
3308- yFrac0, yFrac1 = 0, 1
3309- } else if sy1 > shMinus1 {
3310- sy0, sy1 = shMinus1, shMinus1
3311- yFrac0, yFrac1 = 1, 0
3312- }
3313-
3314- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
3315- sx := float64((float64(dx)+0.5)*xscale) - 0.5
3316- sx0 := int32(sx)
3317- xFrac0 := sx - float64(sx0)
3318- xFrac1 := 1 - xFrac0
3319- sx1 := sx0 + 1
3320- if sx < 0 {
3321- sx0, sx1 = 0, 0
3322- xFrac0, xFrac1 = 0, 1
3323- } else if sx1 > swMinus1 {
3324- sx0, sx1 = swMinus1, swMinus1
3325- xFrac0, xFrac1 = 1, 0
3326- }
3327-
3328- s00ru, s00gu, s00bu, s00au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0)).RGBA()
3329- if srcMask != nil {
3330- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3331- s00ru = s00ru * ma / 0xffff
3332- s00gu = s00gu * ma / 0xffff
3333- s00bu = s00bu * ma / 0xffff
3334- s00au = s00au * ma / 0xffff
3335- }
3336- s00r := float64(s00ru)
3337- s00g := float64(s00gu)
3338- s00b := float64(s00bu)
3339- s00a := float64(s00au)
3340- s10ru, s10gu, s10bu, s10au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0)).RGBA()
3341- if srcMask != nil {
3342- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3343- s10ru = s10ru * ma / 0xffff
3344- s10gu = s10gu * ma / 0xffff
3345- s10bu = s10bu * ma / 0xffff
3346- s10au = s10au * ma / 0xffff
3347- }
3348- s10r := float64(s10ru)
3349- s10g := float64(s10gu)
3350- s10b := float64(s10bu)
3351- s10a := float64(s10au)
3352- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3353- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3354- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3355- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3356- s01ru, s01gu, s01bu, s01au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1)).RGBA()
3357- if srcMask != nil {
3358- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3359- s01ru = s01ru * ma / 0xffff
3360- s01gu = s01gu * ma / 0xffff
3361- s01bu = s01bu * ma / 0xffff
3362- s01au = s01au * ma / 0xffff
3363- }
3364- s01r := float64(s01ru)
3365- s01g := float64(s01gu)
3366- s01b := float64(s01bu)
3367- s01a := float64(s01au)
3368- s11ru, s11gu, s11bu, s11au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1)).RGBA()
3369- if srcMask != nil {
3370- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3371- s11ru = s11ru * ma / 0xffff
3372- s11gu = s11gu * ma / 0xffff
3373- s11bu = s11bu * ma / 0xffff
3374- s11au = s11au * ma / 0xffff
3375- }
3376- s11r := float64(s11ru)
3377- s11g := float64(s11gu)
3378- s11b := float64(s11bu)
3379- s11a := float64(s11au)
3380- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3381- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3382- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3383- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3384- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3385- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3386- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3387- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3388- pr := uint32(s11r)
3389- pg := uint32(s11g)
3390- pb := uint32(s11b)
3391- pa := uint32(s11a)
3392- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
3393- if dstMask != nil {
3394- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
3395- pr = pr * ma / 0xffff
3396- pg = pg * ma / 0xffff
3397- pb = pb * ma / 0xffff
3398- pa = pa * ma / 0xffff
3399- }
3400- pa1 := 0xffff - pa
3401- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
3402- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
3403- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
3404- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
3405- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
3406- }
3407- }
3408-}
3409-
3410-func (ablInterpolator) scale_Image_Image_Src(dst Image, dr, adr image.Rectangle, src image.Image, sr image.Rectangle, opts *Options) {
3411- sw := int32(sr.Dx())
3412- sh := int32(sr.Dy())
3413- yscale := float64(sh) / float64(dr.Dy())
3414- xscale := float64(sw) / float64(dr.Dx())
3415- swMinus1, shMinus1 := sw-1, sh-1
3416- srcMask, smp := opts.SrcMask, opts.SrcMaskP
3417- dstMask, dmp := opts.DstMask, opts.DstMaskP
3418- dstColorRGBA64 := &color.RGBA64{}
3419- dstColor := color.Color(dstColorRGBA64)
3420-
3421- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3422- sy := float64((float64(dy)+0.5)*yscale) - 0.5
3423- // If sy < 0, we will clamp sy0 to 0 anyway, so it doesn't matter if
3424- // we say int32(sy) instead of int32(math.Floor(sy)). Similarly for
3425- // sx, below.
3426- sy0 := int32(sy)
3427- yFrac0 := sy - float64(sy0)
3428- yFrac1 := 1 - yFrac0
3429- sy1 := sy0 + 1
3430- if sy < 0 {
3431- sy0, sy1 = 0, 0
3432- yFrac0, yFrac1 = 0, 1
3433- } else if sy1 > shMinus1 {
3434- sy0, sy1 = shMinus1, shMinus1
3435- yFrac0, yFrac1 = 1, 0
3436- }
3437-
3438- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
3439- sx := float64((float64(dx)+0.5)*xscale) - 0.5
3440- sx0 := int32(sx)
3441- xFrac0 := sx - float64(sx0)
3442- xFrac1 := 1 - xFrac0
3443- sx1 := sx0 + 1
3444- if sx < 0 {
3445- sx0, sx1 = 0, 0
3446- xFrac0, xFrac1 = 0, 1
3447- } else if sx1 > swMinus1 {
3448- sx0, sx1 = swMinus1, swMinus1
3449- xFrac0, xFrac1 = 1, 0
3450- }
3451-
3452- s00ru, s00gu, s00bu, s00au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy0)).RGBA()
3453- if srcMask != nil {
3454- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3455- s00ru = s00ru * ma / 0xffff
3456- s00gu = s00gu * ma / 0xffff
3457- s00bu = s00bu * ma / 0xffff
3458- s00au = s00au * ma / 0xffff
3459- }
3460- s00r := float64(s00ru)
3461- s00g := float64(s00gu)
3462- s00b := float64(s00bu)
3463- s00a := float64(s00au)
3464- s10ru, s10gu, s10bu, s10au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy0)).RGBA()
3465- if srcMask != nil {
3466- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy0)).RGBA()
3467- s10ru = s10ru * ma / 0xffff
3468- s10gu = s10gu * ma / 0xffff
3469- s10bu = s10bu * ma / 0xffff
3470- s10au = s10au * ma / 0xffff
3471- }
3472- s10r := float64(s10ru)
3473- s10g := float64(s10gu)
3474- s10b := float64(s10bu)
3475- s10a := float64(s10au)
3476- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3477- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3478- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3479- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3480- s01ru, s01gu, s01bu, s01au := src.At(sr.Min.X+int(sx0), sr.Min.Y+int(sy1)).RGBA()
3481- if srcMask != nil {
3482- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx0), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3483- s01ru = s01ru * ma / 0xffff
3484- s01gu = s01gu * ma / 0xffff
3485- s01bu = s01bu * ma / 0xffff
3486- s01au = s01au * ma / 0xffff
3487- }
3488- s01r := float64(s01ru)
3489- s01g := float64(s01gu)
3490- s01b := float64(s01bu)
3491- s01a := float64(s01au)
3492- s11ru, s11gu, s11bu, s11au := src.At(sr.Min.X+int(sx1), sr.Min.Y+int(sy1)).RGBA()
3493- if srcMask != nil {
3494- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(sx1), smp.Y+sr.Min.Y+int(sy1)).RGBA()
3495- s11ru = s11ru * ma / 0xffff
3496- s11gu = s11gu * ma / 0xffff
3497- s11bu = s11bu * ma / 0xffff
3498- s11au = s11au * ma / 0xffff
3499- }
3500- s11r := float64(s11ru)
3501- s11g := float64(s11gu)
3502- s11b := float64(s11bu)
3503- s11a := float64(s11au)
3504- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3505- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3506- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3507- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3508- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3509- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3510- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3511- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3512- pr := uint32(s11r)
3513- pg := uint32(s11g)
3514- pb := uint32(s11b)
3515- pa := uint32(s11a)
3516- if dstMask != nil {
3517- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
3518- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
3519- pr = pr * ma / 0xffff
3520- pg = pg * ma / 0xffff
3521- pb = pb * ma / 0xffff
3522- pa = pa * ma / 0xffff
3523- pa1 := 0xffff - ma
3524- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
3525- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
3526- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
3527- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
3528- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
3529- } else {
3530- dstColorRGBA64.R = uint16(pr)
3531- dstColorRGBA64.G = uint16(pg)
3532- dstColorRGBA64.B = uint16(pb)
3533- dstColorRGBA64.A = uint16(pa)
3534- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
3535- }
3536- }
3537- }
3538-}
3539-
3540-func (ablInterpolator) transform_RGBA_Gray_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.Gray, sr image.Rectangle, bias image.Point, opts *Options) {
3541- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3542- dyf := float64(dr.Min.Y+int(dy)) + 0.5
3543- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
3544- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
3545- dxf := float64(dr.Min.X+int(dx)) + 0.5
3546- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
3547- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
3548- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
3549- continue
3550- }
3551-
3552- sx -= 0.5
3553- sx0 := int(sx)
3554- xFrac0 := sx - float64(sx0)
3555- xFrac1 := 1 - xFrac0
3556- sx0 += bias.X
3557- sx1 := sx0 + 1
3558- if sx0 < sr.Min.X {
3559- sx0, sx1 = sr.Min.X, sr.Min.X
3560- xFrac0, xFrac1 = 0, 1
3561- } else if sx1 >= sr.Max.X {
3562- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
3563- xFrac0, xFrac1 = 1, 0
3564- }
3565-
3566- sy -= 0.5
3567- sy0 := int(sy)
3568- yFrac0 := sy - float64(sy0)
3569- yFrac1 := 1 - yFrac0
3570- sy0 += bias.Y
3571- sy1 := sy0 + 1
3572- if sy0 < sr.Min.Y {
3573- sy0, sy1 = sr.Min.Y, sr.Min.Y
3574- yFrac0, yFrac1 = 0, 1
3575- } else if sy1 >= sr.Max.Y {
3576- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
3577- yFrac0, yFrac1 = 1, 0
3578- }
3579-
3580- s00i := (sy0-src.Rect.Min.Y)*src.Stride + (sx0 - src.Rect.Min.X)
3581- s00ru := uint32(src.Pix[s00i]) * 0x101
3582- s00r := float64(s00ru)
3583- s10i := (sy0-src.Rect.Min.Y)*src.Stride + (sx1 - src.Rect.Min.X)
3584- s10ru := uint32(src.Pix[s10i]) * 0x101
3585- s10r := float64(s10ru)
3586- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3587- s01i := (sy1-src.Rect.Min.Y)*src.Stride + (sx0 - src.Rect.Min.X)
3588- s01ru := uint32(src.Pix[s01i]) * 0x101
3589- s01r := float64(s01ru)
3590- s11i := (sy1-src.Rect.Min.Y)*src.Stride + (sx1 - src.Rect.Min.X)
3591- s11ru := uint32(src.Pix[s11i]) * 0x101
3592- s11r := float64(s11ru)
3593- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3594- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3595- pr := uint32(s11r)
3596- out := uint8(pr >> 8)
3597- dst.Pix[d+0] = out
3598- dst.Pix[d+1] = out
3599- dst.Pix[d+2] = out
3600- dst.Pix[d+3] = 0xff
3601- }
3602- }
3603-}
3604-
3605-func (ablInterpolator) transform_RGBA_NRGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.NRGBA, sr image.Rectangle, bias image.Point, opts *Options) {
3606- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3607- dyf := float64(dr.Min.Y+int(dy)) + 0.5
3608- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
3609- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
3610- dxf := float64(dr.Min.X+int(dx)) + 0.5
3611- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
3612- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
3613- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
3614- continue
3615- }
3616-
3617- sx -= 0.5
3618- sx0 := int(sx)
3619- xFrac0 := sx - float64(sx0)
3620- xFrac1 := 1 - xFrac0
3621- sx0 += bias.X
3622- sx1 := sx0 + 1
3623- if sx0 < sr.Min.X {
3624- sx0, sx1 = sr.Min.X, sr.Min.X
3625- xFrac0, xFrac1 = 0, 1
3626- } else if sx1 >= sr.Max.X {
3627- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
3628- xFrac0, xFrac1 = 1, 0
3629- }
3630-
3631- sy -= 0.5
3632- sy0 := int(sy)
3633- yFrac0 := sy - float64(sy0)
3634- yFrac1 := 1 - yFrac0
3635- sy0 += bias.Y
3636- sy1 := sy0 + 1
3637- if sy0 < sr.Min.Y {
3638- sy0, sy1 = sr.Min.Y, sr.Min.Y
3639- yFrac0, yFrac1 = 0, 1
3640- } else if sy1 >= sr.Max.Y {
3641- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
3642- yFrac0, yFrac1 = 1, 0
3643- }
3644-
3645- s00i := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3646- s00au := uint32(src.Pix[s00i+3]) * 0x101
3647- s00ru := uint32(src.Pix[s00i+0]) * s00au / 0xff
3648- s00gu := uint32(src.Pix[s00i+1]) * s00au / 0xff
3649- s00bu := uint32(src.Pix[s00i+2]) * s00au / 0xff
3650- s00r := float64(s00ru)
3651- s00g := float64(s00gu)
3652- s00b := float64(s00bu)
3653- s00a := float64(s00au)
3654- s10i := (sy0-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3655- s10au := uint32(src.Pix[s10i+3]) * 0x101
3656- s10ru := uint32(src.Pix[s10i+0]) * s10au / 0xff
3657- s10gu := uint32(src.Pix[s10i+1]) * s10au / 0xff
3658- s10bu := uint32(src.Pix[s10i+2]) * s10au / 0xff
3659- s10r := float64(s10ru)
3660- s10g := float64(s10gu)
3661- s10b := float64(s10bu)
3662- s10a := float64(s10au)
3663- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3664- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3665- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3666- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3667- s01i := (sy1-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3668- s01au := uint32(src.Pix[s01i+3]) * 0x101
3669- s01ru := uint32(src.Pix[s01i+0]) * s01au / 0xff
3670- s01gu := uint32(src.Pix[s01i+1]) * s01au / 0xff
3671- s01bu := uint32(src.Pix[s01i+2]) * s01au / 0xff
3672- s01r := float64(s01ru)
3673- s01g := float64(s01gu)
3674- s01b := float64(s01bu)
3675- s01a := float64(s01au)
3676- s11i := (sy1-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3677- s11au := uint32(src.Pix[s11i+3]) * 0x101
3678- s11ru := uint32(src.Pix[s11i+0]) * s11au / 0xff
3679- s11gu := uint32(src.Pix[s11i+1]) * s11au / 0xff
3680- s11bu := uint32(src.Pix[s11i+2]) * s11au / 0xff
3681- s11r := float64(s11ru)
3682- s11g := float64(s11gu)
3683- s11b := float64(s11bu)
3684- s11a := float64(s11au)
3685- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3686- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3687- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3688- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3689- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3690- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3691- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3692- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3693- pr := uint32(s11r)
3694- pg := uint32(s11g)
3695- pb := uint32(s11b)
3696- pa := uint32(s11a)
3697- pa1 := (0xffff - pa) * 0x101
3698- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
3699- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
3700- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
3701- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
3702- }
3703- }
3704-}
3705-
3706-func (ablInterpolator) transform_RGBA_NRGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.NRGBA, sr image.Rectangle, bias image.Point, opts *Options) {
3707- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3708- dyf := float64(dr.Min.Y+int(dy)) + 0.5
3709- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
3710- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
3711- dxf := float64(dr.Min.X+int(dx)) + 0.5
3712- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
3713- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
3714- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
3715- continue
3716- }
3717-
3718- sx -= 0.5
3719- sx0 := int(sx)
3720- xFrac0 := sx - float64(sx0)
3721- xFrac1 := 1 - xFrac0
3722- sx0 += bias.X
3723- sx1 := sx0 + 1
3724- if sx0 < sr.Min.X {
3725- sx0, sx1 = sr.Min.X, sr.Min.X
3726- xFrac0, xFrac1 = 0, 1
3727- } else if sx1 >= sr.Max.X {
3728- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
3729- xFrac0, xFrac1 = 1, 0
3730- }
3731-
3732- sy -= 0.5
3733- sy0 := int(sy)
3734- yFrac0 := sy - float64(sy0)
3735- yFrac1 := 1 - yFrac0
3736- sy0 += bias.Y
3737- sy1 := sy0 + 1
3738- if sy0 < sr.Min.Y {
3739- sy0, sy1 = sr.Min.Y, sr.Min.Y
3740- yFrac0, yFrac1 = 0, 1
3741- } else if sy1 >= sr.Max.Y {
3742- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
3743- yFrac0, yFrac1 = 1, 0
3744- }
3745-
3746- s00i := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3747- s00au := uint32(src.Pix[s00i+3]) * 0x101
3748- s00ru := uint32(src.Pix[s00i+0]) * s00au / 0xff
3749- s00gu := uint32(src.Pix[s00i+1]) * s00au / 0xff
3750- s00bu := uint32(src.Pix[s00i+2]) * s00au / 0xff
3751- s00r := float64(s00ru)
3752- s00g := float64(s00gu)
3753- s00b := float64(s00bu)
3754- s00a := float64(s00au)
3755- s10i := (sy0-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3756- s10au := uint32(src.Pix[s10i+3]) * 0x101
3757- s10ru := uint32(src.Pix[s10i+0]) * s10au / 0xff
3758- s10gu := uint32(src.Pix[s10i+1]) * s10au / 0xff
3759- s10bu := uint32(src.Pix[s10i+2]) * s10au / 0xff
3760- s10r := float64(s10ru)
3761- s10g := float64(s10gu)
3762- s10b := float64(s10bu)
3763- s10a := float64(s10au)
3764- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3765- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3766- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3767- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3768- s01i := (sy1-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3769- s01au := uint32(src.Pix[s01i+3]) * 0x101
3770- s01ru := uint32(src.Pix[s01i+0]) * s01au / 0xff
3771- s01gu := uint32(src.Pix[s01i+1]) * s01au / 0xff
3772- s01bu := uint32(src.Pix[s01i+2]) * s01au / 0xff
3773- s01r := float64(s01ru)
3774- s01g := float64(s01gu)
3775- s01b := float64(s01bu)
3776- s01a := float64(s01au)
3777- s11i := (sy1-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3778- s11au := uint32(src.Pix[s11i+3]) * 0x101
3779- s11ru := uint32(src.Pix[s11i+0]) * s11au / 0xff
3780- s11gu := uint32(src.Pix[s11i+1]) * s11au / 0xff
3781- s11bu := uint32(src.Pix[s11i+2]) * s11au / 0xff
3782- s11r := float64(s11ru)
3783- s11g := float64(s11gu)
3784- s11b := float64(s11bu)
3785- s11a := float64(s11au)
3786- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3787- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3788- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3789- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3790- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3791- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3792- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3793- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3794- pr := uint32(s11r)
3795- pg := uint32(s11g)
3796- pb := uint32(s11b)
3797- pa := uint32(s11a)
3798- dst.Pix[d+0] = uint8(pr >> 8)
3799- dst.Pix[d+1] = uint8(pg >> 8)
3800- dst.Pix[d+2] = uint8(pb >> 8)
3801- dst.Pix[d+3] = uint8(pa >> 8)
3802- }
3803- }
3804-}
3805-
3806-func (ablInterpolator) transform_RGBA_RGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.RGBA, sr image.Rectangle, bias image.Point, opts *Options) {
3807- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3808- dyf := float64(dr.Min.Y+int(dy)) + 0.5
3809- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
3810- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
3811- dxf := float64(dr.Min.X+int(dx)) + 0.5
3812- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
3813- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
3814- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
3815- continue
3816- }
3817-
3818- sx -= 0.5
3819- sx0 := int(sx)
3820- xFrac0 := sx - float64(sx0)
3821- xFrac1 := 1 - xFrac0
3822- sx0 += bias.X
3823- sx1 := sx0 + 1
3824- if sx0 < sr.Min.X {
3825- sx0, sx1 = sr.Min.X, sr.Min.X
3826- xFrac0, xFrac1 = 0, 1
3827- } else if sx1 >= sr.Max.X {
3828- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
3829- xFrac0, xFrac1 = 1, 0
3830- }
3831-
3832- sy -= 0.5
3833- sy0 := int(sy)
3834- yFrac0 := sy - float64(sy0)
3835- yFrac1 := 1 - yFrac0
3836- sy0 += bias.Y
3837- sy1 := sy0 + 1
3838- if sy0 < sr.Min.Y {
3839- sy0, sy1 = sr.Min.Y, sr.Min.Y
3840- yFrac0, yFrac1 = 0, 1
3841- } else if sy1 >= sr.Max.Y {
3842- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
3843- yFrac0, yFrac1 = 1, 0
3844- }
3845-
3846- s00i := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3847- s00ru := uint32(src.Pix[s00i+0]) * 0x101
3848- s00gu := uint32(src.Pix[s00i+1]) * 0x101
3849- s00bu := uint32(src.Pix[s00i+2]) * 0x101
3850- s00au := uint32(src.Pix[s00i+3]) * 0x101
3851- s00r := float64(s00ru)
3852- s00g := float64(s00gu)
3853- s00b := float64(s00bu)
3854- s00a := float64(s00au)
3855- s10i := (sy0-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3856- s10ru := uint32(src.Pix[s10i+0]) * 0x101
3857- s10gu := uint32(src.Pix[s10i+1]) * 0x101
3858- s10bu := uint32(src.Pix[s10i+2]) * 0x101
3859- s10au := uint32(src.Pix[s10i+3]) * 0x101
3860- s10r := float64(s10ru)
3861- s10g := float64(s10gu)
3862- s10b := float64(s10bu)
3863- s10a := float64(s10au)
3864- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3865- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3866- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3867- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3868- s01i := (sy1-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3869- s01ru := uint32(src.Pix[s01i+0]) * 0x101
3870- s01gu := uint32(src.Pix[s01i+1]) * 0x101
3871- s01bu := uint32(src.Pix[s01i+2]) * 0x101
3872- s01au := uint32(src.Pix[s01i+3]) * 0x101
3873- s01r := float64(s01ru)
3874- s01g := float64(s01gu)
3875- s01b := float64(s01bu)
3876- s01a := float64(s01au)
3877- s11i := (sy1-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3878- s11ru := uint32(src.Pix[s11i+0]) * 0x101
3879- s11gu := uint32(src.Pix[s11i+1]) * 0x101
3880- s11bu := uint32(src.Pix[s11i+2]) * 0x101
3881- s11au := uint32(src.Pix[s11i+3]) * 0x101
3882- s11r := float64(s11ru)
3883- s11g := float64(s11gu)
3884- s11b := float64(s11bu)
3885- s11a := float64(s11au)
3886- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3887- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3888- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3889- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3890- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3891- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3892- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3893- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3894- pr := uint32(s11r)
3895- pg := uint32(s11g)
3896- pb := uint32(s11b)
3897- pa := uint32(s11a)
3898- pa1 := (0xffff - pa) * 0x101
3899- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
3900- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
3901- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
3902- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
3903- }
3904- }
3905-}
3906-
3907-func (ablInterpolator) transform_RGBA_RGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.RGBA, sr image.Rectangle, bias image.Point, opts *Options) {
3908- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
3909- dyf := float64(dr.Min.Y+int(dy)) + 0.5
3910- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
3911- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
3912- dxf := float64(dr.Min.X+int(dx)) + 0.5
3913- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
3914- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
3915- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
3916- continue
3917- }
3918-
3919- sx -= 0.5
3920- sx0 := int(sx)
3921- xFrac0 := sx - float64(sx0)
3922- xFrac1 := 1 - xFrac0
3923- sx0 += bias.X
3924- sx1 := sx0 + 1
3925- if sx0 < sr.Min.X {
3926- sx0, sx1 = sr.Min.X, sr.Min.X
3927- xFrac0, xFrac1 = 0, 1
3928- } else if sx1 >= sr.Max.X {
3929- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
3930- xFrac0, xFrac1 = 1, 0
3931- }
3932-
3933- sy -= 0.5
3934- sy0 := int(sy)
3935- yFrac0 := sy - float64(sy0)
3936- yFrac1 := 1 - yFrac0
3937- sy0 += bias.Y
3938- sy1 := sy0 + 1
3939- if sy0 < sr.Min.Y {
3940- sy0, sy1 = sr.Min.Y, sr.Min.Y
3941- yFrac0, yFrac1 = 0, 1
3942- } else if sy1 >= sr.Max.Y {
3943- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
3944- yFrac0, yFrac1 = 1, 0
3945- }
3946-
3947- s00i := (sy0-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3948- s00ru := uint32(src.Pix[s00i+0]) * 0x101
3949- s00gu := uint32(src.Pix[s00i+1]) * 0x101
3950- s00bu := uint32(src.Pix[s00i+2]) * 0x101
3951- s00au := uint32(src.Pix[s00i+3]) * 0x101
3952- s00r := float64(s00ru)
3953- s00g := float64(s00gu)
3954- s00b := float64(s00bu)
3955- s00a := float64(s00au)
3956- s10i := (sy0-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3957- s10ru := uint32(src.Pix[s10i+0]) * 0x101
3958- s10gu := uint32(src.Pix[s10i+1]) * 0x101
3959- s10bu := uint32(src.Pix[s10i+2]) * 0x101
3960- s10au := uint32(src.Pix[s10i+3]) * 0x101
3961- s10r := float64(s10ru)
3962- s10g := float64(s10gu)
3963- s10b := float64(s10bu)
3964- s10a := float64(s10au)
3965- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
3966- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
3967- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
3968- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
3969- s01i := (sy1-src.Rect.Min.Y)*src.Stride + (sx0-src.Rect.Min.X)*4
3970- s01ru := uint32(src.Pix[s01i+0]) * 0x101
3971- s01gu := uint32(src.Pix[s01i+1]) * 0x101
3972- s01bu := uint32(src.Pix[s01i+2]) * 0x101
3973- s01au := uint32(src.Pix[s01i+3]) * 0x101
3974- s01r := float64(s01ru)
3975- s01g := float64(s01gu)
3976- s01b := float64(s01bu)
3977- s01a := float64(s01au)
3978- s11i := (sy1-src.Rect.Min.Y)*src.Stride + (sx1-src.Rect.Min.X)*4
3979- s11ru := uint32(src.Pix[s11i+0]) * 0x101
3980- s11gu := uint32(src.Pix[s11i+1]) * 0x101
3981- s11bu := uint32(src.Pix[s11i+2]) * 0x101
3982- s11au := uint32(src.Pix[s11i+3]) * 0x101
3983- s11r := float64(s11ru)
3984- s11g := float64(s11gu)
3985- s11b := float64(s11bu)
3986- s11a := float64(s11au)
3987- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
3988- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
3989- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
3990- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
3991- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
3992- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
3993- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
3994- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
3995- pr := uint32(s11r)
3996- pg := uint32(s11g)
3997- pb := uint32(s11b)
3998- pa := uint32(s11a)
3999- dst.Pix[d+0] = uint8(pr >> 8)
4000- dst.Pix[d+1] = uint8(pg >> 8)
4001- dst.Pix[d+2] = uint8(pb >> 8)
4002- dst.Pix[d+3] = uint8(pa >> 8)
4003- }
4004- }
4005-}
4006-
4007-func (ablInterpolator) transform_RGBA_YCbCr444_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
4008- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4009- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4010- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4011- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4012- dxf := float64(dr.Min.X+int(dx)) + 0.5
4013- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4014- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4015- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4016- continue
4017- }
4018-
4019- sx -= 0.5
4020- sx0 := int(sx)
4021- xFrac0 := sx - float64(sx0)
4022- xFrac1 := 1 - xFrac0
4023- sx0 += bias.X
4024- sx1 := sx0 + 1
4025- if sx0 < sr.Min.X {
4026- sx0, sx1 = sr.Min.X, sr.Min.X
4027- xFrac0, xFrac1 = 0, 1
4028- } else if sx1 >= sr.Max.X {
4029- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4030- xFrac0, xFrac1 = 1, 0
4031- }
4032-
4033- sy -= 0.5
4034- sy0 := int(sy)
4035- yFrac0 := sy - float64(sy0)
4036- yFrac1 := 1 - yFrac0
4037- sy0 += bias.Y
4038- sy1 := sy0 + 1
4039- if sy0 < sr.Min.Y {
4040- sy0, sy1 = sr.Min.Y, sr.Min.Y
4041- yFrac0, yFrac1 = 0, 1
4042- } else if sy1 >= sr.Max.Y {
4043- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4044- yFrac0, yFrac1 = 1, 0
4045- }
4046-
4047- s00i := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4048- s00j := (sy0-src.Rect.Min.Y)*src.CStride + (sx0 - src.Rect.Min.X)
4049-
4050- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4051- s00yy1 := int(src.Y[s00i]) * 0x10101
4052- s00cb1 := int(src.Cb[s00j]) - 128
4053- s00cr1 := int(src.Cr[s00j]) - 128
4054- s00ru := (s00yy1 + 91881*s00cr1) >> 8
4055- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
4056- s00bu := (s00yy1 + 116130*s00cb1) >> 8
4057- if s00ru < 0 {
4058- s00ru = 0
4059- } else if s00ru > 0xffff {
4060- s00ru = 0xffff
4061- }
4062- if s00gu < 0 {
4063- s00gu = 0
4064- } else if s00gu > 0xffff {
4065- s00gu = 0xffff
4066- }
4067- if s00bu < 0 {
4068- s00bu = 0
4069- } else if s00bu > 0xffff {
4070- s00bu = 0xffff
4071- }
4072-
4073- s00r := float64(s00ru)
4074- s00g := float64(s00gu)
4075- s00b := float64(s00bu)
4076- s10i := (sy0-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4077- s10j := (sy0-src.Rect.Min.Y)*src.CStride + (sx1 - src.Rect.Min.X)
4078-
4079- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4080- s10yy1 := int(src.Y[s10i]) * 0x10101
4081- s10cb1 := int(src.Cb[s10j]) - 128
4082- s10cr1 := int(src.Cr[s10j]) - 128
4083- s10ru := (s10yy1 + 91881*s10cr1) >> 8
4084- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
4085- s10bu := (s10yy1 + 116130*s10cb1) >> 8
4086- if s10ru < 0 {
4087- s10ru = 0
4088- } else if s10ru > 0xffff {
4089- s10ru = 0xffff
4090- }
4091- if s10gu < 0 {
4092- s10gu = 0
4093- } else if s10gu > 0xffff {
4094- s10gu = 0xffff
4095- }
4096- if s10bu < 0 {
4097- s10bu = 0
4098- } else if s10bu > 0xffff {
4099- s10bu = 0xffff
4100- }
4101-
4102- s10r := float64(s10ru)
4103- s10g := float64(s10gu)
4104- s10b := float64(s10bu)
4105- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4106- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4107- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4108- s01i := (sy1-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4109- s01j := (sy1-src.Rect.Min.Y)*src.CStride + (sx0 - src.Rect.Min.X)
4110-
4111- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4112- s01yy1 := int(src.Y[s01i]) * 0x10101
4113- s01cb1 := int(src.Cb[s01j]) - 128
4114- s01cr1 := int(src.Cr[s01j]) - 128
4115- s01ru := (s01yy1 + 91881*s01cr1) >> 8
4116- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
4117- s01bu := (s01yy1 + 116130*s01cb1) >> 8
4118- if s01ru < 0 {
4119- s01ru = 0
4120- } else if s01ru > 0xffff {
4121- s01ru = 0xffff
4122- }
4123- if s01gu < 0 {
4124- s01gu = 0
4125- } else if s01gu > 0xffff {
4126- s01gu = 0xffff
4127- }
4128- if s01bu < 0 {
4129- s01bu = 0
4130- } else if s01bu > 0xffff {
4131- s01bu = 0xffff
4132- }
4133-
4134- s01r := float64(s01ru)
4135- s01g := float64(s01gu)
4136- s01b := float64(s01bu)
4137- s11i := (sy1-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4138- s11j := (sy1-src.Rect.Min.Y)*src.CStride + (sx1 - src.Rect.Min.X)
4139-
4140- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4141- s11yy1 := int(src.Y[s11i]) * 0x10101
4142- s11cb1 := int(src.Cb[s11j]) - 128
4143- s11cr1 := int(src.Cr[s11j]) - 128
4144- s11ru := (s11yy1 + 91881*s11cr1) >> 8
4145- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
4146- s11bu := (s11yy1 + 116130*s11cb1) >> 8
4147- if s11ru < 0 {
4148- s11ru = 0
4149- } else if s11ru > 0xffff {
4150- s11ru = 0xffff
4151- }
4152- if s11gu < 0 {
4153- s11gu = 0
4154- } else if s11gu > 0xffff {
4155- s11gu = 0xffff
4156- }
4157- if s11bu < 0 {
4158- s11bu = 0
4159- } else if s11bu > 0xffff {
4160- s11bu = 0xffff
4161- }
4162-
4163- s11r := float64(s11ru)
4164- s11g := float64(s11gu)
4165- s11b := float64(s11bu)
4166- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4167- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4168- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4169- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4170- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4171- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4172- pr := uint32(s11r)
4173- pg := uint32(s11g)
4174- pb := uint32(s11b)
4175- dst.Pix[d+0] = uint8(pr >> 8)
4176- dst.Pix[d+1] = uint8(pg >> 8)
4177- dst.Pix[d+2] = uint8(pb >> 8)
4178- dst.Pix[d+3] = 0xff
4179- }
4180- }
4181-}
4182-
4183-func (ablInterpolator) transform_RGBA_YCbCr422_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
4184- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4185- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4186- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4187- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4188- dxf := float64(dr.Min.X+int(dx)) + 0.5
4189- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4190- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4191- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4192- continue
4193- }
4194-
4195- sx -= 0.5
4196- sx0 := int(sx)
4197- xFrac0 := sx - float64(sx0)
4198- xFrac1 := 1 - xFrac0
4199- sx0 += bias.X
4200- sx1 := sx0 + 1
4201- if sx0 < sr.Min.X {
4202- sx0, sx1 = sr.Min.X, sr.Min.X
4203- xFrac0, xFrac1 = 0, 1
4204- } else if sx1 >= sr.Max.X {
4205- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4206- xFrac0, xFrac1 = 1, 0
4207- }
4208-
4209- sy -= 0.5
4210- sy0 := int(sy)
4211- yFrac0 := sy - float64(sy0)
4212- yFrac1 := 1 - yFrac0
4213- sy0 += bias.Y
4214- sy1 := sy0 + 1
4215- if sy0 < sr.Min.Y {
4216- sy0, sy1 = sr.Min.Y, sr.Min.Y
4217- yFrac0, yFrac1 = 0, 1
4218- } else if sy1 >= sr.Max.Y {
4219- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4220- yFrac0, yFrac1 = 1, 0
4221- }
4222-
4223- s00i := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4224- s00j := (sy0-src.Rect.Min.Y)*src.CStride + ((sx0)/2 - src.Rect.Min.X/2)
4225-
4226- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4227- s00yy1 := int(src.Y[s00i]) * 0x10101
4228- s00cb1 := int(src.Cb[s00j]) - 128
4229- s00cr1 := int(src.Cr[s00j]) - 128
4230- s00ru := (s00yy1 + 91881*s00cr1) >> 8
4231- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
4232- s00bu := (s00yy1 + 116130*s00cb1) >> 8
4233- if s00ru < 0 {
4234- s00ru = 0
4235- } else if s00ru > 0xffff {
4236- s00ru = 0xffff
4237- }
4238- if s00gu < 0 {
4239- s00gu = 0
4240- } else if s00gu > 0xffff {
4241- s00gu = 0xffff
4242- }
4243- if s00bu < 0 {
4244- s00bu = 0
4245- } else if s00bu > 0xffff {
4246- s00bu = 0xffff
4247- }
4248-
4249- s00r := float64(s00ru)
4250- s00g := float64(s00gu)
4251- s00b := float64(s00bu)
4252- s10i := (sy0-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4253- s10j := (sy0-src.Rect.Min.Y)*src.CStride + ((sx1)/2 - src.Rect.Min.X/2)
4254-
4255- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4256- s10yy1 := int(src.Y[s10i]) * 0x10101
4257- s10cb1 := int(src.Cb[s10j]) - 128
4258- s10cr1 := int(src.Cr[s10j]) - 128
4259- s10ru := (s10yy1 + 91881*s10cr1) >> 8
4260- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
4261- s10bu := (s10yy1 + 116130*s10cb1) >> 8
4262- if s10ru < 0 {
4263- s10ru = 0
4264- } else if s10ru > 0xffff {
4265- s10ru = 0xffff
4266- }
4267- if s10gu < 0 {
4268- s10gu = 0
4269- } else if s10gu > 0xffff {
4270- s10gu = 0xffff
4271- }
4272- if s10bu < 0 {
4273- s10bu = 0
4274- } else if s10bu > 0xffff {
4275- s10bu = 0xffff
4276- }
4277-
4278- s10r := float64(s10ru)
4279- s10g := float64(s10gu)
4280- s10b := float64(s10bu)
4281- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4282- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4283- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4284- s01i := (sy1-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4285- s01j := (sy1-src.Rect.Min.Y)*src.CStride + ((sx0)/2 - src.Rect.Min.X/2)
4286-
4287- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4288- s01yy1 := int(src.Y[s01i]) * 0x10101
4289- s01cb1 := int(src.Cb[s01j]) - 128
4290- s01cr1 := int(src.Cr[s01j]) - 128
4291- s01ru := (s01yy1 + 91881*s01cr1) >> 8
4292- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
4293- s01bu := (s01yy1 + 116130*s01cb1) >> 8
4294- if s01ru < 0 {
4295- s01ru = 0
4296- } else if s01ru > 0xffff {
4297- s01ru = 0xffff
4298- }
4299- if s01gu < 0 {
4300- s01gu = 0
4301- } else if s01gu > 0xffff {
4302- s01gu = 0xffff
4303- }
4304- if s01bu < 0 {
4305- s01bu = 0
4306- } else if s01bu > 0xffff {
4307- s01bu = 0xffff
4308- }
4309-
4310- s01r := float64(s01ru)
4311- s01g := float64(s01gu)
4312- s01b := float64(s01bu)
4313- s11i := (sy1-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4314- s11j := (sy1-src.Rect.Min.Y)*src.CStride + ((sx1)/2 - src.Rect.Min.X/2)
4315-
4316- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4317- s11yy1 := int(src.Y[s11i]) * 0x10101
4318- s11cb1 := int(src.Cb[s11j]) - 128
4319- s11cr1 := int(src.Cr[s11j]) - 128
4320- s11ru := (s11yy1 + 91881*s11cr1) >> 8
4321- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
4322- s11bu := (s11yy1 + 116130*s11cb1) >> 8
4323- if s11ru < 0 {
4324- s11ru = 0
4325- } else if s11ru > 0xffff {
4326- s11ru = 0xffff
4327- }
4328- if s11gu < 0 {
4329- s11gu = 0
4330- } else if s11gu > 0xffff {
4331- s11gu = 0xffff
4332- }
4333- if s11bu < 0 {
4334- s11bu = 0
4335- } else if s11bu > 0xffff {
4336- s11bu = 0xffff
4337- }
4338-
4339- s11r := float64(s11ru)
4340- s11g := float64(s11gu)
4341- s11b := float64(s11bu)
4342- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4343- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4344- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4345- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4346- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4347- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4348- pr := uint32(s11r)
4349- pg := uint32(s11g)
4350- pb := uint32(s11b)
4351- dst.Pix[d+0] = uint8(pr >> 8)
4352- dst.Pix[d+1] = uint8(pg >> 8)
4353- dst.Pix[d+2] = uint8(pb >> 8)
4354- dst.Pix[d+3] = 0xff
4355- }
4356- }
4357-}
4358-
4359-func (ablInterpolator) transform_RGBA_YCbCr420_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
4360- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4361- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4362- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4363- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4364- dxf := float64(dr.Min.X+int(dx)) + 0.5
4365- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4366- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4367- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4368- continue
4369- }
4370-
4371- sx -= 0.5
4372- sx0 := int(sx)
4373- xFrac0 := sx - float64(sx0)
4374- xFrac1 := 1 - xFrac0
4375- sx0 += bias.X
4376- sx1 := sx0 + 1
4377- if sx0 < sr.Min.X {
4378- sx0, sx1 = sr.Min.X, sr.Min.X
4379- xFrac0, xFrac1 = 0, 1
4380- } else if sx1 >= sr.Max.X {
4381- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4382- xFrac0, xFrac1 = 1, 0
4383- }
4384-
4385- sy -= 0.5
4386- sy0 := int(sy)
4387- yFrac0 := sy - float64(sy0)
4388- yFrac1 := 1 - yFrac0
4389- sy0 += bias.Y
4390- sy1 := sy0 + 1
4391- if sy0 < sr.Min.Y {
4392- sy0, sy1 = sr.Min.Y, sr.Min.Y
4393- yFrac0, yFrac1 = 0, 1
4394- } else if sy1 >= sr.Max.Y {
4395- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4396- yFrac0, yFrac1 = 1, 0
4397- }
4398-
4399- s00i := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4400- s00j := ((sy0)/2-src.Rect.Min.Y/2)*src.CStride + ((sx0)/2 - src.Rect.Min.X/2)
4401-
4402- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4403- s00yy1 := int(src.Y[s00i]) * 0x10101
4404- s00cb1 := int(src.Cb[s00j]) - 128
4405- s00cr1 := int(src.Cr[s00j]) - 128
4406- s00ru := (s00yy1 + 91881*s00cr1) >> 8
4407- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
4408- s00bu := (s00yy1 + 116130*s00cb1) >> 8
4409- if s00ru < 0 {
4410- s00ru = 0
4411- } else if s00ru > 0xffff {
4412- s00ru = 0xffff
4413- }
4414- if s00gu < 0 {
4415- s00gu = 0
4416- } else if s00gu > 0xffff {
4417- s00gu = 0xffff
4418- }
4419- if s00bu < 0 {
4420- s00bu = 0
4421- } else if s00bu > 0xffff {
4422- s00bu = 0xffff
4423- }
4424-
4425- s00r := float64(s00ru)
4426- s00g := float64(s00gu)
4427- s00b := float64(s00bu)
4428- s10i := (sy0-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4429- s10j := ((sy0)/2-src.Rect.Min.Y/2)*src.CStride + ((sx1)/2 - src.Rect.Min.X/2)
4430-
4431- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4432- s10yy1 := int(src.Y[s10i]) * 0x10101
4433- s10cb1 := int(src.Cb[s10j]) - 128
4434- s10cr1 := int(src.Cr[s10j]) - 128
4435- s10ru := (s10yy1 + 91881*s10cr1) >> 8
4436- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
4437- s10bu := (s10yy1 + 116130*s10cb1) >> 8
4438- if s10ru < 0 {
4439- s10ru = 0
4440- } else if s10ru > 0xffff {
4441- s10ru = 0xffff
4442- }
4443- if s10gu < 0 {
4444- s10gu = 0
4445- } else if s10gu > 0xffff {
4446- s10gu = 0xffff
4447- }
4448- if s10bu < 0 {
4449- s10bu = 0
4450- } else if s10bu > 0xffff {
4451- s10bu = 0xffff
4452- }
4453-
4454- s10r := float64(s10ru)
4455- s10g := float64(s10gu)
4456- s10b := float64(s10bu)
4457- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4458- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4459- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4460- s01i := (sy1-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4461- s01j := ((sy1)/2-src.Rect.Min.Y/2)*src.CStride + ((sx0)/2 - src.Rect.Min.X/2)
4462-
4463- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4464- s01yy1 := int(src.Y[s01i]) * 0x10101
4465- s01cb1 := int(src.Cb[s01j]) - 128
4466- s01cr1 := int(src.Cr[s01j]) - 128
4467- s01ru := (s01yy1 + 91881*s01cr1) >> 8
4468- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
4469- s01bu := (s01yy1 + 116130*s01cb1) >> 8
4470- if s01ru < 0 {
4471- s01ru = 0
4472- } else if s01ru > 0xffff {
4473- s01ru = 0xffff
4474- }
4475- if s01gu < 0 {
4476- s01gu = 0
4477- } else if s01gu > 0xffff {
4478- s01gu = 0xffff
4479- }
4480- if s01bu < 0 {
4481- s01bu = 0
4482- } else if s01bu > 0xffff {
4483- s01bu = 0xffff
4484- }
4485-
4486- s01r := float64(s01ru)
4487- s01g := float64(s01gu)
4488- s01b := float64(s01bu)
4489- s11i := (sy1-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4490- s11j := ((sy1)/2-src.Rect.Min.Y/2)*src.CStride + ((sx1)/2 - src.Rect.Min.X/2)
4491-
4492- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4493- s11yy1 := int(src.Y[s11i]) * 0x10101
4494- s11cb1 := int(src.Cb[s11j]) - 128
4495- s11cr1 := int(src.Cr[s11j]) - 128
4496- s11ru := (s11yy1 + 91881*s11cr1) >> 8
4497- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
4498- s11bu := (s11yy1 + 116130*s11cb1) >> 8
4499- if s11ru < 0 {
4500- s11ru = 0
4501- } else if s11ru > 0xffff {
4502- s11ru = 0xffff
4503- }
4504- if s11gu < 0 {
4505- s11gu = 0
4506- } else if s11gu > 0xffff {
4507- s11gu = 0xffff
4508- }
4509- if s11bu < 0 {
4510- s11bu = 0
4511- } else if s11bu > 0xffff {
4512- s11bu = 0xffff
4513- }
4514-
4515- s11r := float64(s11ru)
4516- s11g := float64(s11gu)
4517- s11b := float64(s11bu)
4518- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4519- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4520- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4521- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4522- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4523- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4524- pr := uint32(s11r)
4525- pg := uint32(s11g)
4526- pb := uint32(s11b)
4527- dst.Pix[d+0] = uint8(pr >> 8)
4528- dst.Pix[d+1] = uint8(pg >> 8)
4529- dst.Pix[d+2] = uint8(pb >> 8)
4530- dst.Pix[d+3] = 0xff
4531- }
4532- }
4533-}
4534-
4535-func (ablInterpolator) transform_RGBA_YCbCr440_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, opts *Options) {
4536- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4537- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4538- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4539- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4540- dxf := float64(dr.Min.X+int(dx)) + 0.5
4541- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4542- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4543- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4544- continue
4545- }
4546-
4547- sx -= 0.5
4548- sx0 := int(sx)
4549- xFrac0 := sx - float64(sx0)
4550- xFrac1 := 1 - xFrac0
4551- sx0 += bias.X
4552- sx1 := sx0 + 1
4553- if sx0 < sr.Min.X {
4554- sx0, sx1 = sr.Min.X, sr.Min.X
4555- xFrac0, xFrac1 = 0, 1
4556- } else if sx1 >= sr.Max.X {
4557- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4558- xFrac0, xFrac1 = 1, 0
4559- }
4560-
4561- sy -= 0.5
4562- sy0 := int(sy)
4563- yFrac0 := sy - float64(sy0)
4564- yFrac1 := 1 - yFrac0
4565- sy0 += bias.Y
4566- sy1 := sy0 + 1
4567- if sy0 < sr.Min.Y {
4568- sy0, sy1 = sr.Min.Y, sr.Min.Y
4569- yFrac0, yFrac1 = 0, 1
4570- } else if sy1 >= sr.Max.Y {
4571- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4572- yFrac0, yFrac1 = 1, 0
4573- }
4574-
4575- s00i := (sy0-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4576- s00j := ((sy0)/2-src.Rect.Min.Y/2)*src.CStride + (sx0 - src.Rect.Min.X)
4577-
4578- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4579- s00yy1 := int(src.Y[s00i]) * 0x10101
4580- s00cb1 := int(src.Cb[s00j]) - 128
4581- s00cr1 := int(src.Cr[s00j]) - 128
4582- s00ru := (s00yy1 + 91881*s00cr1) >> 8
4583- s00gu := (s00yy1 - 22554*s00cb1 - 46802*s00cr1) >> 8
4584- s00bu := (s00yy1 + 116130*s00cb1) >> 8
4585- if s00ru < 0 {
4586- s00ru = 0
4587- } else if s00ru > 0xffff {
4588- s00ru = 0xffff
4589- }
4590- if s00gu < 0 {
4591- s00gu = 0
4592- } else if s00gu > 0xffff {
4593- s00gu = 0xffff
4594- }
4595- if s00bu < 0 {
4596- s00bu = 0
4597- } else if s00bu > 0xffff {
4598- s00bu = 0xffff
4599- }
4600-
4601- s00r := float64(s00ru)
4602- s00g := float64(s00gu)
4603- s00b := float64(s00bu)
4604- s10i := (sy0-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4605- s10j := ((sy0)/2-src.Rect.Min.Y/2)*src.CStride + (sx1 - src.Rect.Min.X)
4606-
4607- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4608- s10yy1 := int(src.Y[s10i]) * 0x10101
4609- s10cb1 := int(src.Cb[s10j]) - 128
4610- s10cr1 := int(src.Cr[s10j]) - 128
4611- s10ru := (s10yy1 + 91881*s10cr1) >> 8
4612- s10gu := (s10yy1 - 22554*s10cb1 - 46802*s10cr1) >> 8
4613- s10bu := (s10yy1 + 116130*s10cb1) >> 8
4614- if s10ru < 0 {
4615- s10ru = 0
4616- } else if s10ru > 0xffff {
4617- s10ru = 0xffff
4618- }
4619- if s10gu < 0 {
4620- s10gu = 0
4621- } else if s10gu > 0xffff {
4622- s10gu = 0xffff
4623- }
4624- if s10bu < 0 {
4625- s10bu = 0
4626- } else if s10bu > 0xffff {
4627- s10bu = 0xffff
4628- }
4629-
4630- s10r := float64(s10ru)
4631- s10g := float64(s10gu)
4632- s10b := float64(s10bu)
4633- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4634- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4635- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4636- s01i := (sy1-src.Rect.Min.Y)*src.YStride + (sx0 - src.Rect.Min.X)
4637- s01j := ((sy1)/2-src.Rect.Min.Y/2)*src.CStride + (sx0 - src.Rect.Min.X)
4638-
4639- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4640- s01yy1 := int(src.Y[s01i]) * 0x10101
4641- s01cb1 := int(src.Cb[s01j]) - 128
4642- s01cr1 := int(src.Cr[s01j]) - 128
4643- s01ru := (s01yy1 + 91881*s01cr1) >> 8
4644- s01gu := (s01yy1 - 22554*s01cb1 - 46802*s01cr1) >> 8
4645- s01bu := (s01yy1 + 116130*s01cb1) >> 8
4646- if s01ru < 0 {
4647- s01ru = 0
4648- } else if s01ru > 0xffff {
4649- s01ru = 0xffff
4650- }
4651- if s01gu < 0 {
4652- s01gu = 0
4653- } else if s01gu > 0xffff {
4654- s01gu = 0xffff
4655- }
4656- if s01bu < 0 {
4657- s01bu = 0
4658- } else if s01bu > 0xffff {
4659- s01bu = 0xffff
4660- }
4661-
4662- s01r := float64(s01ru)
4663- s01g := float64(s01gu)
4664- s01b := float64(s01bu)
4665- s11i := (sy1-src.Rect.Min.Y)*src.YStride + (sx1 - src.Rect.Min.X)
4666- s11j := ((sy1)/2-src.Rect.Min.Y/2)*src.CStride + (sx1 - src.Rect.Min.X)
4667-
4668- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
4669- s11yy1 := int(src.Y[s11i]) * 0x10101
4670- s11cb1 := int(src.Cb[s11j]) - 128
4671- s11cr1 := int(src.Cr[s11j]) - 128
4672- s11ru := (s11yy1 + 91881*s11cr1) >> 8
4673- s11gu := (s11yy1 - 22554*s11cb1 - 46802*s11cr1) >> 8
4674- s11bu := (s11yy1 + 116130*s11cb1) >> 8
4675- if s11ru < 0 {
4676- s11ru = 0
4677- } else if s11ru > 0xffff {
4678- s11ru = 0xffff
4679- }
4680- if s11gu < 0 {
4681- s11gu = 0
4682- } else if s11gu > 0xffff {
4683- s11gu = 0xffff
4684- }
4685- if s11bu < 0 {
4686- s11bu = 0
4687- } else if s11bu > 0xffff {
4688- s11bu = 0xffff
4689- }
4690-
4691- s11r := float64(s11ru)
4692- s11g := float64(s11gu)
4693- s11b := float64(s11bu)
4694- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4695- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4696- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4697- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4698- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4699- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4700- pr := uint32(s11r)
4701- pg := uint32(s11g)
4702- pb := uint32(s11b)
4703- dst.Pix[d+0] = uint8(pr >> 8)
4704- dst.Pix[d+1] = uint8(pg >> 8)
4705- dst.Pix[d+2] = uint8(pb >> 8)
4706- dst.Pix[d+3] = 0xff
4707- }
4708- }
4709-}
4710-
4711-func (ablInterpolator) transform_RGBA_RGBA64Image_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
4712- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4713- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4714- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4715- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4716- dxf := float64(dr.Min.X+int(dx)) + 0.5
4717- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4718- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4719- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4720- continue
4721- }
4722-
4723- sx -= 0.5
4724- sx0 := int(sx)
4725- xFrac0 := sx - float64(sx0)
4726- xFrac1 := 1 - xFrac0
4727- sx0 += bias.X
4728- sx1 := sx0 + 1
4729- if sx0 < sr.Min.X {
4730- sx0, sx1 = sr.Min.X, sr.Min.X
4731- xFrac0, xFrac1 = 0, 1
4732- } else if sx1 >= sr.Max.X {
4733- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4734- xFrac0, xFrac1 = 1, 0
4735- }
4736-
4737- sy -= 0.5
4738- sy0 := int(sy)
4739- yFrac0 := sy - float64(sy0)
4740- yFrac1 := 1 - yFrac0
4741- sy0 += bias.Y
4742- sy1 := sy0 + 1
4743- if sy0 < sr.Min.Y {
4744- sy0, sy1 = sr.Min.Y, sr.Min.Y
4745- yFrac0, yFrac1 = 0, 1
4746- } else if sy1 >= sr.Max.Y {
4747- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4748- yFrac0, yFrac1 = 1, 0
4749- }
4750-
4751- s00u := src.RGBA64At(sx0, sy0)
4752- s00r := float64(s00u.R)
4753- s00g := float64(s00u.G)
4754- s00b := float64(s00u.B)
4755- s00a := float64(s00u.A)
4756- s10u := src.RGBA64At(sx1, sy0)
4757- s10r := float64(s10u.R)
4758- s10g := float64(s10u.G)
4759- s10b := float64(s10u.B)
4760- s10a := float64(s10u.A)
4761- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4762- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4763- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4764- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
4765- s01u := src.RGBA64At(sx0, sy1)
4766- s01r := float64(s01u.R)
4767- s01g := float64(s01u.G)
4768- s01b := float64(s01u.B)
4769- s01a := float64(s01u.A)
4770- s11u := src.RGBA64At(sx1, sy1)
4771- s11r := float64(s11u.R)
4772- s11g := float64(s11u.G)
4773- s11b := float64(s11u.B)
4774- s11a := float64(s11u.A)
4775- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4776- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4777- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4778- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
4779- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4780- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4781- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4782- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
4783- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
4784- pa1 := (0xffff - uint32(p.A)) * 0x101
4785- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + uint32(p.R)) >> 8)
4786- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + uint32(p.G)) >> 8)
4787- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + uint32(p.B)) >> 8)
4788- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + uint32(p.A)) >> 8)
4789- }
4790- }
4791-}
4792-
4793-func (ablInterpolator) transform_RGBA_RGBA64Image_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
4794- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4795- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4796- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4797- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4798- dxf := float64(dr.Min.X+int(dx)) + 0.5
4799- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4800- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4801- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4802- continue
4803- }
4804-
4805- sx -= 0.5
4806- sx0 := int(sx)
4807- xFrac0 := sx - float64(sx0)
4808- xFrac1 := 1 - xFrac0
4809- sx0 += bias.X
4810- sx1 := sx0 + 1
4811- if sx0 < sr.Min.X {
4812- sx0, sx1 = sr.Min.X, sr.Min.X
4813- xFrac0, xFrac1 = 0, 1
4814- } else if sx1 >= sr.Max.X {
4815- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4816- xFrac0, xFrac1 = 1, 0
4817- }
4818-
4819- sy -= 0.5
4820- sy0 := int(sy)
4821- yFrac0 := sy - float64(sy0)
4822- yFrac1 := 1 - yFrac0
4823- sy0 += bias.Y
4824- sy1 := sy0 + 1
4825- if sy0 < sr.Min.Y {
4826- sy0, sy1 = sr.Min.Y, sr.Min.Y
4827- yFrac0, yFrac1 = 0, 1
4828- } else if sy1 >= sr.Max.Y {
4829- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4830- yFrac0, yFrac1 = 1, 0
4831- }
4832-
4833- s00u := src.RGBA64At(sx0, sy0)
4834- s00r := float64(s00u.R)
4835- s00g := float64(s00u.G)
4836- s00b := float64(s00u.B)
4837- s00a := float64(s00u.A)
4838- s10u := src.RGBA64At(sx1, sy0)
4839- s10r := float64(s10u.R)
4840- s10g := float64(s10u.G)
4841- s10b := float64(s10u.B)
4842- s10a := float64(s10u.A)
4843- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4844- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4845- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4846- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
4847- s01u := src.RGBA64At(sx0, sy1)
4848- s01r := float64(s01u.R)
4849- s01g := float64(s01u.G)
4850- s01b := float64(s01u.B)
4851- s01a := float64(s01u.A)
4852- s11u := src.RGBA64At(sx1, sy1)
4853- s11r := float64(s11u.R)
4854- s11g := float64(s11u.G)
4855- s11b := float64(s11u.B)
4856- s11a := float64(s11u.A)
4857- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4858- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4859- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4860- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
4861- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4862- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4863- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4864- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
4865- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
4866- dst.Pix[d+0] = uint8(p.R >> 8)
4867- dst.Pix[d+1] = uint8(p.G >> 8)
4868- dst.Pix[d+2] = uint8(p.B >> 8)
4869- dst.Pix[d+3] = uint8(p.A >> 8)
4870- }
4871- }
4872-}
4873-
4874-func (ablInterpolator) transform_RGBA_Image_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
4875- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4876- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4877- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4878- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4879- dxf := float64(dr.Min.X+int(dx)) + 0.5
4880- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4881- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4882- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4883- continue
4884- }
4885-
4886- sx -= 0.5
4887- sx0 := int(sx)
4888- xFrac0 := sx - float64(sx0)
4889- xFrac1 := 1 - xFrac0
4890- sx0 += bias.X
4891- sx1 := sx0 + 1
4892- if sx0 < sr.Min.X {
4893- sx0, sx1 = sr.Min.X, sr.Min.X
4894- xFrac0, xFrac1 = 0, 1
4895- } else if sx1 >= sr.Max.X {
4896- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4897- xFrac0, xFrac1 = 1, 0
4898- }
4899-
4900- sy -= 0.5
4901- sy0 := int(sy)
4902- yFrac0 := sy - float64(sy0)
4903- yFrac1 := 1 - yFrac0
4904- sy0 += bias.Y
4905- sy1 := sy0 + 1
4906- if sy0 < sr.Min.Y {
4907- sy0, sy1 = sr.Min.Y, sr.Min.Y
4908- yFrac0, yFrac1 = 0, 1
4909- } else if sy1 >= sr.Max.Y {
4910- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4911- yFrac0, yFrac1 = 1, 0
4912- }
4913-
4914- s00ru, s00gu, s00bu, s00au := src.At(sx0, sy0).RGBA()
4915- s00r := float64(s00ru)
4916- s00g := float64(s00gu)
4917- s00b := float64(s00bu)
4918- s00a := float64(s00au)
4919- s10ru, s10gu, s10bu, s10au := src.At(sx1, sy0).RGBA()
4920- s10r := float64(s10ru)
4921- s10g := float64(s10gu)
4922- s10b := float64(s10bu)
4923- s10a := float64(s10au)
4924- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
4925- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
4926- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
4927- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
4928- s01ru, s01gu, s01bu, s01au := src.At(sx0, sy1).RGBA()
4929- s01r := float64(s01ru)
4930- s01g := float64(s01gu)
4931- s01b := float64(s01bu)
4932- s01a := float64(s01au)
4933- s11ru, s11gu, s11bu, s11au := src.At(sx1, sy1).RGBA()
4934- s11r := float64(s11ru)
4935- s11g := float64(s11gu)
4936- s11b := float64(s11bu)
4937- s11a := float64(s11au)
4938- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
4939- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
4940- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
4941- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
4942- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
4943- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
4944- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
4945- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
4946- pr := uint32(s11r)
4947- pg := uint32(s11g)
4948- pb := uint32(s11b)
4949- pa := uint32(s11a)
4950- pa1 := (0xffff - pa) * 0x101
4951- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr) >> 8)
4952- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg) >> 8)
4953- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb) >> 8)
4954- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa) >> 8)
4955- }
4956- }
4957-}
4958-
4959-func (ablInterpolator) transform_RGBA_Image_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
4960- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
4961- dyf := float64(dr.Min.Y+int(dy)) + 0.5
4962- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
4963- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
4964- dxf := float64(dr.Min.X+int(dx)) + 0.5
4965- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
4966- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
4967- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
4968- continue
4969- }
4970-
4971- sx -= 0.5
4972- sx0 := int(sx)
4973- xFrac0 := sx - float64(sx0)
4974- xFrac1 := 1 - xFrac0
4975- sx0 += bias.X
4976- sx1 := sx0 + 1
4977- if sx0 < sr.Min.X {
4978- sx0, sx1 = sr.Min.X, sr.Min.X
4979- xFrac0, xFrac1 = 0, 1
4980- } else if sx1 >= sr.Max.X {
4981- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
4982- xFrac0, xFrac1 = 1, 0
4983- }
4984-
4985- sy -= 0.5
4986- sy0 := int(sy)
4987- yFrac0 := sy - float64(sy0)
4988- yFrac1 := 1 - yFrac0
4989- sy0 += bias.Y
4990- sy1 := sy0 + 1
4991- if sy0 < sr.Min.Y {
4992- sy0, sy1 = sr.Min.Y, sr.Min.Y
4993- yFrac0, yFrac1 = 0, 1
4994- } else if sy1 >= sr.Max.Y {
4995- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
4996- yFrac0, yFrac1 = 1, 0
4997- }
4998-
4999- s00ru, s00gu, s00bu, s00au := src.At(sx0, sy0).RGBA()
5000- s00r := float64(s00ru)
5001- s00g := float64(s00gu)
5002- s00b := float64(s00bu)
5003- s00a := float64(s00au)
5004- s10ru, s10gu, s10bu, s10au := src.At(sx1, sy0).RGBA()
5005- s10r := float64(s10ru)
5006- s10g := float64(s10gu)
5007- s10b := float64(s10bu)
5008- s10a := float64(s10au)
5009- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
5010- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
5011- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
5012- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
5013- s01ru, s01gu, s01bu, s01au := src.At(sx0, sy1).RGBA()
5014- s01r := float64(s01ru)
5015- s01g := float64(s01gu)
5016- s01b := float64(s01bu)
5017- s01a := float64(s01au)
5018- s11ru, s11gu, s11bu, s11au := src.At(sx1, sy1).RGBA()
5019- s11r := float64(s11ru)
5020- s11g := float64(s11gu)
5021- s11b := float64(s11bu)
5022- s11a := float64(s11au)
5023- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
5024- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
5025- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
5026- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
5027- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
5028- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
5029- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
5030- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
5031- pr := uint32(s11r)
5032- pg := uint32(s11g)
5033- pb := uint32(s11b)
5034- pa := uint32(s11a)
5035- dst.Pix[d+0] = uint8(pr >> 8)
5036- dst.Pix[d+1] = uint8(pg >> 8)
5037- dst.Pix[d+2] = uint8(pb >> 8)
5038- dst.Pix[d+3] = uint8(pa >> 8)
5039- }
5040- }
5041-}
5042-
5043-func (ablInterpolator) transform_RGBA64Image_RGBA64Image_Over(dst RGBA64Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
5044- srcMask, smp := opts.SrcMask, opts.SrcMaskP
5045- dstMask, dmp := opts.DstMask, opts.DstMaskP
5046- dstColorRGBA64 := color.RGBA64{}
5047-
5048- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
5049- dyf := float64(dr.Min.Y+int(dy)) + 0.5
5050- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
5051- dxf := float64(dr.Min.X+int(dx)) + 0.5
5052- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
5053- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
5054- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
5055- continue
5056- }
5057-
5058- sx -= 0.5
5059- sx0 := int(sx)
5060- xFrac0 := sx - float64(sx0)
5061- xFrac1 := 1 - xFrac0
5062- sx0 += bias.X
5063- sx1 := sx0 + 1
5064- if sx0 < sr.Min.X {
5065- sx0, sx1 = sr.Min.X, sr.Min.X
5066- xFrac0, xFrac1 = 0, 1
5067- } else if sx1 >= sr.Max.X {
5068- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
5069- xFrac0, xFrac1 = 1, 0
5070- }
5071-
5072- sy -= 0.5
5073- sy0 := int(sy)
5074- yFrac0 := sy - float64(sy0)
5075- yFrac1 := 1 - yFrac0
5076- sy0 += bias.Y
5077- sy1 := sy0 + 1
5078- if sy0 < sr.Min.Y {
5079- sy0, sy1 = sr.Min.Y, sr.Min.Y
5080- yFrac0, yFrac1 = 0, 1
5081- } else if sy1 >= sr.Max.Y {
5082- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
5083- yFrac0, yFrac1 = 1, 0
5084- }
5085-
5086- s00u := src.RGBA64At(sx0, sy0)
5087- if srcMask != nil {
5088- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
5089- s00u.R = uint16(uint32(s00u.R) * ma / 0xffff)
5090- s00u.G = uint16(uint32(s00u.G) * ma / 0xffff)
5091- s00u.B = uint16(uint32(s00u.B) * ma / 0xffff)
5092- s00u.A = uint16(uint32(s00u.A) * ma / 0xffff)
5093- }
5094- s00r := float64(s00u.R)
5095- s00g := float64(s00u.G)
5096- s00b := float64(s00u.B)
5097- s00a := float64(s00u.A)
5098- s10u := src.RGBA64At(sx1, sy0)
5099- if srcMask != nil {
5100- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy0).RGBA()
5101- s10u.R = uint16(uint32(s10u.R) * ma / 0xffff)
5102- s10u.G = uint16(uint32(s10u.G) * ma / 0xffff)
5103- s10u.B = uint16(uint32(s10u.B) * ma / 0xffff)
5104- s10u.A = uint16(uint32(s10u.A) * ma / 0xffff)
5105- }
5106- s10r := float64(s10u.R)
5107- s10g := float64(s10u.G)
5108- s10b := float64(s10u.B)
5109- s10a := float64(s10u.A)
5110- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
5111- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
5112- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
5113- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
5114- s01u := src.RGBA64At(sx0, sy1)
5115- if srcMask != nil {
5116- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy1).RGBA()
5117- s01u.R = uint16(uint32(s01u.R) * ma / 0xffff)
5118- s01u.G = uint16(uint32(s01u.G) * ma / 0xffff)
5119- s01u.B = uint16(uint32(s01u.B) * ma / 0xffff)
5120- s01u.A = uint16(uint32(s01u.A) * ma / 0xffff)
5121- }
5122- s01r := float64(s01u.R)
5123- s01g := float64(s01u.G)
5124- s01b := float64(s01u.B)
5125- s01a := float64(s01u.A)
5126- s11u := src.RGBA64At(sx1, sy1)
5127- if srcMask != nil {
5128- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy1).RGBA()
5129- s11u.R = uint16(uint32(s11u.R) * ma / 0xffff)
5130- s11u.G = uint16(uint32(s11u.G) * ma / 0xffff)
5131- s11u.B = uint16(uint32(s11u.B) * ma / 0xffff)
5132- s11u.A = uint16(uint32(s11u.A) * ma / 0xffff)
5133- }
5134- s11r := float64(s11u.R)
5135- s11g := float64(s11u.G)
5136- s11b := float64(s11u.B)
5137- s11a := float64(s11u.A)
5138- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
5139- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
5140- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
5141- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
5142- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
5143- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
5144- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
5145- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
5146- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
5147- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
5148- if dstMask != nil {
5149- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
5150- p.R = uint16(uint32(p.R) * ma / 0xffff)
5151- p.G = uint16(uint32(p.G) * ma / 0xffff)
5152- p.B = uint16(uint32(p.B) * ma / 0xffff)
5153- p.A = uint16(uint32(p.A) * ma / 0xffff)
5154- }
5155- pa1 := 0xffff - uint32(p.A)
5156- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
5157- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
5158- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
5159- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
5160- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
5161- }
5162- }
5163-}
5164-
5165-func (ablInterpolator) transform_RGBA64Image_RGBA64Image_Src(dst RGBA64Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, opts *Options) {
5166- srcMask, smp := opts.SrcMask, opts.SrcMaskP
5167- dstMask, dmp := opts.DstMask, opts.DstMaskP
5168- dstColorRGBA64 := color.RGBA64{}
5169-
5170- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
5171- dyf := float64(dr.Min.Y+int(dy)) + 0.5
5172- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
5173- dxf := float64(dr.Min.X+int(dx)) + 0.5
5174- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
5175- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
5176- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
5177- continue
5178- }
5179-
5180- sx -= 0.5
5181- sx0 := int(sx)
5182- xFrac0 := sx - float64(sx0)
5183- xFrac1 := 1 - xFrac0
5184- sx0 += bias.X
5185- sx1 := sx0 + 1
5186- if sx0 < sr.Min.X {
5187- sx0, sx1 = sr.Min.X, sr.Min.X
5188- xFrac0, xFrac1 = 0, 1
5189- } else if sx1 >= sr.Max.X {
5190- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
5191- xFrac0, xFrac1 = 1, 0
5192- }
5193-
5194- sy -= 0.5
5195- sy0 := int(sy)
5196- yFrac0 := sy - float64(sy0)
5197- yFrac1 := 1 - yFrac0
5198- sy0 += bias.Y
5199- sy1 := sy0 + 1
5200- if sy0 < sr.Min.Y {
5201- sy0, sy1 = sr.Min.Y, sr.Min.Y
5202- yFrac0, yFrac1 = 0, 1
5203- } else if sy1 >= sr.Max.Y {
5204- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
5205- yFrac0, yFrac1 = 1, 0
5206- }
5207-
5208- s00u := src.RGBA64At(sx0, sy0)
5209- if srcMask != nil {
5210- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
5211- s00u.R = uint16(uint32(s00u.R) * ma / 0xffff)
5212- s00u.G = uint16(uint32(s00u.G) * ma / 0xffff)
5213- s00u.B = uint16(uint32(s00u.B) * ma / 0xffff)
5214- s00u.A = uint16(uint32(s00u.A) * ma / 0xffff)
5215- }
5216- s00r := float64(s00u.R)
5217- s00g := float64(s00u.G)
5218- s00b := float64(s00u.B)
5219- s00a := float64(s00u.A)
5220- s10u := src.RGBA64At(sx1, sy0)
5221- if srcMask != nil {
5222- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy0).RGBA()
5223- s10u.R = uint16(uint32(s10u.R) * ma / 0xffff)
5224- s10u.G = uint16(uint32(s10u.G) * ma / 0xffff)
5225- s10u.B = uint16(uint32(s10u.B) * ma / 0xffff)
5226- s10u.A = uint16(uint32(s10u.A) * ma / 0xffff)
5227- }
5228- s10r := float64(s10u.R)
5229- s10g := float64(s10u.G)
5230- s10b := float64(s10u.B)
5231- s10a := float64(s10u.A)
5232- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
5233- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
5234- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
5235- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
5236- s01u := src.RGBA64At(sx0, sy1)
5237- if srcMask != nil {
5238- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy1).RGBA()
5239- s01u.R = uint16(uint32(s01u.R) * ma / 0xffff)
5240- s01u.G = uint16(uint32(s01u.G) * ma / 0xffff)
5241- s01u.B = uint16(uint32(s01u.B) * ma / 0xffff)
5242- s01u.A = uint16(uint32(s01u.A) * ma / 0xffff)
5243- }
5244- s01r := float64(s01u.R)
5245- s01g := float64(s01u.G)
5246- s01b := float64(s01u.B)
5247- s01a := float64(s01u.A)
5248- s11u := src.RGBA64At(sx1, sy1)
5249- if srcMask != nil {
5250- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy1).RGBA()
5251- s11u.R = uint16(uint32(s11u.R) * ma / 0xffff)
5252- s11u.G = uint16(uint32(s11u.G) * ma / 0xffff)
5253- s11u.B = uint16(uint32(s11u.B) * ma / 0xffff)
5254- s11u.A = uint16(uint32(s11u.A) * ma / 0xffff)
5255- }
5256- s11r := float64(s11u.R)
5257- s11g := float64(s11u.G)
5258- s11b := float64(s11u.B)
5259- s11a := float64(s11u.A)
5260- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
5261- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
5262- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
5263- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
5264- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
5265- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
5266- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
5267- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
5268- p := color.RGBA64{uint16(s11r), uint16(s11g), uint16(s11b), uint16(s11a)}
5269- if dstMask != nil {
5270- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
5271- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
5272- p.R = uint16(uint32(p.R) * ma / 0xffff)
5273- p.G = uint16(uint32(p.G) * ma / 0xffff)
5274- p.B = uint16(uint32(p.B) * ma / 0xffff)
5275- p.A = uint16(uint32(p.A) * ma / 0xffff)
5276- pa1 := 0xffff - ma
5277- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + uint32(p.R))
5278- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + uint32(p.G))
5279- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + uint32(p.B))
5280- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + uint32(p.A))
5281- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
5282- } else {
5283- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), p)
5284- }
5285- }
5286- }
5287-}
5288-
5289-func (ablInterpolator) transform_Image_Image_Over(dst Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
5290- srcMask, smp := opts.SrcMask, opts.SrcMaskP
5291- dstMask, dmp := opts.DstMask, opts.DstMaskP
5292- dstColorRGBA64 := &color.RGBA64{}
5293- dstColor := color.Color(dstColorRGBA64)
5294- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
5295- dyf := float64(dr.Min.Y+int(dy)) + 0.5
5296- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
5297- dxf := float64(dr.Min.X+int(dx)) + 0.5
5298- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
5299- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
5300- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
5301- continue
5302- }
5303-
5304- sx -= 0.5
5305- sx0 := int(sx)
5306- xFrac0 := sx - float64(sx0)
5307- xFrac1 := 1 - xFrac0
5308- sx0 += bias.X
5309- sx1 := sx0 + 1
5310- if sx0 < sr.Min.X {
5311- sx0, sx1 = sr.Min.X, sr.Min.X
5312- xFrac0, xFrac1 = 0, 1
5313- } else if sx1 >= sr.Max.X {
5314- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
5315- xFrac0, xFrac1 = 1, 0
5316- }
5317-
5318- sy -= 0.5
5319- sy0 := int(sy)
5320- yFrac0 := sy - float64(sy0)
5321- yFrac1 := 1 - yFrac0
5322- sy0 += bias.Y
5323- sy1 := sy0 + 1
5324- if sy0 < sr.Min.Y {
5325- sy0, sy1 = sr.Min.Y, sr.Min.Y
5326- yFrac0, yFrac1 = 0, 1
5327- } else if sy1 >= sr.Max.Y {
5328- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
5329- yFrac0, yFrac1 = 1, 0
5330- }
5331-
5332- s00ru, s00gu, s00bu, s00au := src.At(sx0, sy0).RGBA()
5333- if srcMask != nil {
5334- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
5335- s00ru = s00ru * ma / 0xffff
5336- s00gu = s00gu * ma / 0xffff
5337- s00bu = s00bu * ma / 0xffff
5338- s00au = s00au * ma / 0xffff
5339- }
5340- s00r := float64(s00ru)
5341- s00g := float64(s00gu)
5342- s00b := float64(s00bu)
5343- s00a := float64(s00au)
5344- s10ru, s10gu, s10bu, s10au := src.At(sx1, sy0).RGBA()
5345- if srcMask != nil {
5346- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy0).RGBA()
5347- s10ru = s10ru * ma / 0xffff
5348- s10gu = s10gu * ma / 0xffff
5349- s10bu = s10bu * ma / 0xffff
5350- s10au = s10au * ma / 0xffff
5351- }
5352- s10r := float64(s10ru)
5353- s10g := float64(s10gu)
5354- s10b := float64(s10bu)
5355- s10a := float64(s10au)
5356- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
5357- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
5358- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
5359- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
5360- s01ru, s01gu, s01bu, s01au := src.At(sx0, sy1).RGBA()
5361- if srcMask != nil {
5362- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy1).RGBA()
5363- s01ru = s01ru * ma / 0xffff
5364- s01gu = s01gu * ma / 0xffff
5365- s01bu = s01bu * ma / 0xffff
5366- s01au = s01au * ma / 0xffff
5367- }
5368- s01r := float64(s01ru)
5369- s01g := float64(s01gu)
5370- s01b := float64(s01bu)
5371- s01a := float64(s01au)
5372- s11ru, s11gu, s11bu, s11au := src.At(sx1, sy1).RGBA()
5373- if srcMask != nil {
5374- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy1).RGBA()
5375- s11ru = s11ru * ma / 0xffff
5376- s11gu = s11gu * ma / 0xffff
5377- s11bu = s11bu * ma / 0xffff
5378- s11au = s11au * ma / 0xffff
5379- }
5380- s11r := float64(s11ru)
5381- s11g := float64(s11gu)
5382- s11b := float64(s11bu)
5383- s11a := float64(s11au)
5384- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
5385- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
5386- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
5387- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
5388- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
5389- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
5390- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
5391- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
5392- pr := uint32(s11r)
5393- pg := uint32(s11g)
5394- pb := uint32(s11b)
5395- pa := uint32(s11a)
5396- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
5397- if dstMask != nil {
5398- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
5399- pr = pr * ma / 0xffff
5400- pg = pg * ma / 0xffff
5401- pb = pb * ma / 0xffff
5402- pa = pa * ma / 0xffff
5403- }
5404- pa1 := 0xffff - pa
5405- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
5406- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
5407- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
5408- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
5409- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
5410- }
5411- }
5412-}
5413-
5414-func (ablInterpolator) transform_Image_Image_Src(dst Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, opts *Options) {
5415- srcMask, smp := opts.SrcMask, opts.SrcMaskP
5416- dstMask, dmp := opts.DstMask, opts.DstMaskP
5417- dstColorRGBA64 := &color.RGBA64{}
5418- dstColor := color.Color(dstColorRGBA64)
5419- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
5420- dyf := float64(dr.Min.Y+int(dy)) + 0.5
5421- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
5422- dxf := float64(dr.Min.X+int(dx)) + 0.5
5423- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
5424- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
5425- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
5426- continue
5427- }
5428-
5429- sx -= 0.5
5430- sx0 := int(sx)
5431- xFrac0 := sx - float64(sx0)
5432- xFrac1 := 1 - xFrac0
5433- sx0 += bias.X
5434- sx1 := sx0 + 1
5435- if sx0 < sr.Min.X {
5436- sx0, sx1 = sr.Min.X, sr.Min.X
5437- xFrac0, xFrac1 = 0, 1
5438- } else if sx1 >= sr.Max.X {
5439- sx0, sx1 = sr.Max.X-1, sr.Max.X-1
5440- xFrac0, xFrac1 = 1, 0
5441- }
5442-
5443- sy -= 0.5
5444- sy0 := int(sy)
5445- yFrac0 := sy - float64(sy0)
5446- yFrac1 := 1 - yFrac0
5447- sy0 += bias.Y
5448- sy1 := sy0 + 1
5449- if sy0 < sr.Min.Y {
5450- sy0, sy1 = sr.Min.Y, sr.Min.Y
5451- yFrac0, yFrac1 = 0, 1
5452- } else if sy1 >= sr.Max.Y {
5453- sy0, sy1 = sr.Max.Y-1, sr.Max.Y-1
5454- yFrac0, yFrac1 = 1, 0
5455- }
5456-
5457- s00ru, s00gu, s00bu, s00au := src.At(sx0, sy0).RGBA()
5458- if srcMask != nil {
5459- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy0).RGBA()
5460- s00ru = s00ru * ma / 0xffff
5461- s00gu = s00gu * ma / 0xffff
5462- s00bu = s00bu * ma / 0xffff
5463- s00au = s00au * ma / 0xffff
5464- }
5465- s00r := float64(s00ru)
5466- s00g := float64(s00gu)
5467- s00b := float64(s00bu)
5468- s00a := float64(s00au)
5469- s10ru, s10gu, s10bu, s10au := src.At(sx1, sy0).RGBA()
5470- if srcMask != nil {
5471- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy0).RGBA()
5472- s10ru = s10ru * ma / 0xffff
5473- s10gu = s10gu * ma / 0xffff
5474- s10bu = s10bu * ma / 0xffff
5475- s10au = s10au * ma / 0xffff
5476- }
5477- s10r := float64(s10ru)
5478- s10g := float64(s10gu)
5479- s10b := float64(s10bu)
5480- s10a := float64(s10au)
5481- s10r = float64(xFrac1*s00r) + float64(xFrac0*s10r)
5482- s10g = float64(xFrac1*s00g) + float64(xFrac0*s10g)
5483- s10b = float64(xFrac1*s00b) + float64(xFrac0*s10b)
5484- s10a = float64(xFrac1*s00a) + float64(xFrac0*s10a)
5485- s01ru, s01gu, s01bu, s01au := src.At(sx0, sy1).RGBA()
5486- if srcMask != nil {
5487- _, _, _, ma := srcMask.At(smp.X+sx0, smp.Y+sy1).RGBA()
5488- s01ru = s01ru * ma / 0xffff
5489- s01gu = s01gu * ma / 0xffff
5490- s01bu = s01bu * ma / 0xffff
5491- s01au = s01au * ma / 0xffff
5492- }
5493- s01r := float64(s01ru)
5494- s01g := float64(s01gu)
5495- s01b := float64(s01bu)
5496- s01a := float64(s01au)
5497- s11ru, s11gu, s11bu, s11au := src.At(sx1, sy1).RGBA()
5498- if srcMask != nil {
5499- _, _, _, ma := srcMask.At(smp.X+sx1, smp.Y+sy1).RGBA()
5500- s11ru = s11ru * ma / 0xffff
5501- s11gu = s11gu * ma / 0xffff
5502- s11bu = s11bu * ma / 0xffff
5503- s11au = s11au * ma / 0xffff
5504- }
5505- s11r := float64(s11ru)
5506- s11g := float64(s11gu)
5507- s11b := float64(s11bu)
5508- s11a := float64(s11au)
5509- s11r = float64(xFrac1*s01r) + float64(xFrac0*s11r)
5510- s11g = float64(xFrac1*s01g) + float64(xFrac0*s11g)
5511- s11b = float64(xFrac1*s01b) + float64(xFrac0*s11b)
5512- s11a = float64(xFrac1*s01a) + float64(xFrac0*s11a)
5513- s11r = float64(yFrac1*s10r) + float64(yFrac0*s11r)
5514- s11g = float64(yFrac1*s10g) + float64(yFrac0*s11g)
5515- s11b = float64(yFrac1*s10b) + float64(yFrac0*s11b)
5516- s11a = float64(yFrac1*s10a) + float64(yFrac0*s11a)
5517- pr := uint32(s11r)
5518- pg := uint32(s11g)
5519- pb := uint32(s11b)
5520- pa := uint32(s11a)
5521- if dstMask != nil {
5522- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
5523- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
5524- pr = pr * ma / 0xffff
5525- pg = pg * ma / 0xffff
5526- pb = pb * ma / 0xffff
5527- pa = pa * ma / 0xffff
5528- pa1 := 0xffff - ma
5529- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
5530- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
5531- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
5532- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
5533- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
5534- } else {
5535- dstColorRGBA64.R = uint16(pr)
5536- dstColorRGBA64.G = uint16(pg)
5537- dstColorRGBA64.B = uint16(pb)
5538- dstColorRGBA64.A = uint16(pa)
5539- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
5540- }
5541- }
5542- }
5543-}
5544-
5545-func (z *kernelScaler) Scale(dst Image, dr image.Rectangle, src image.Image, sr image.Rectangle, op Op, opts *Options) {
5546- if z.dw != int32(dr.Dx()) || z.dh != int32(dr.Dy()) || z.sw != int32(sr.Dx()) || z.sh != int32(sr.Dy()) {
5547- z.kernel.Scale(dst, dr, src, sr, op, opts)
5548- return
5549- }
5550-
5551- var o Options
5552- if opts != nil {
5553- o = *opts
5554- }
5555-
5556- // adr is the affected destination pixels.
5557- adr := dst.Bounds().Intersect(dr)
5558- adr, o.DstMask = clipAffectedDestRect(adr, o.DstMask, o.DstMaskP)
5559- if adr.Empty() || sr.Empty() {
5560- return
5561- }
5562- // Make adr relative to dr.Min.
5563- adr = adr.Sub(dr.Min)
5564- if op == Over && o.SrcMask == nil && opaque(src) {
5565- op = Src
5566- }
5567-
5568- if _, ok := src.(*image.Uniform); ok && o.DstMask == nil && o.SrcMask == nil && sr.In(src.Bounds()) {
5569- Draw(dst, dr, src, src.Bounds().Min, op)
5570- return
5571- }
5572-
5573- // Create a temporary buffer:
5574- // scaleX distributes the source image's columns over the temporary image.
5575- // scaleY distributes the temporary image's rows over the destination image.
5576- var tmp [][4]float64
5577- if z.pool.New != nil {
5578- tmpp := z.pool.Get().(*[][4]float64)
5579- defer z.pool.Put(tmpp)
5580- tmp = *tmpp
5581- } else {
5582- tmp = z.makeTmpBuf()
5583- }
5584-
5585- // sr is the source pixels. If it extends beyond the src bounds,
5586- // we cannot use the type-specific fast paths, as they access
5587- // the Pix fields directly without bounds checking.
5588- //
5589- // Similarly, the fast paths assume that the masks are nil.
5590- if o.SrcMask != nil || !sr.In(src.Bounds()) {
5591- z.scaleX_Image(tmp, src, sr, &o)
5592- } else {
5593- switch src := src.(type) {
5594- case *image.Gray:
5595- z.scaleX_Gray(tmp, src, sr, &o)
5596- case *image.NRGBA:
5597- z.scaleX_NRGBA(tmp, src, sr, &o)
5598- case *image.RGBA:
5599- z.scaleX_RGBA(tmp, src, sr, &o)
5600- case *image.YCbCr:
5601- switch src.SubsampleRatio {
5602- default:
5603- z.scaleX_Image(tmp, src, sr, &o)
5604- case image.YCbCrSubsampleRatio444:
5605- z.scaleX_YCbCr444(tmp, src, sr, &o)
5606- case image.YCbCrSubsampleRatio422:
5607- z.scaleX_YCbCr422(tmp, src, sr, &o)
5608- case image.YCbCrSubsampleRatio420:
5609- z.scaleX_YCbCr420(tmp, src, sr, &o)
5610- case image.YCbCrSubsampleRatio440:
5611- z.scaleX_YCbCr440(tmp, src, sr, &o)
5612- }
5613- case image.RGBA64Image:
5614- z.scaleX_RGBA64Image(tmp, src, sr, &o)
5615- default:
5616- z.scaleX_Image(tmp, src, sr, &o)
5617- }
5618- }
5619-
5620- if o.DstMask != nil {
5621- switch op {
5622- case Over:
5623- z.scaleY_Image_Over(dst, dr, adr, tmp, &o)
5624- case Src:
5625- z.scaleY_Image_Src(dst, dr, adr, tmp, &o)
5626- }
5627- } else {
5628- switch op {
5629- case Over:
5630- switch dst := dst.(type) {
5631- case *image.RGBA:
5632- z.scaleY_RGBA_Over(dst, dr, adr, tmp, &o)
5633- case RGBA64Image:
5634- z.scaleY_RGBA64Image_Over(dst, dr, adr, tmp, &o)
5635- default:
5636- z.scaleY_Image_Over(dst, dr, adr, tmp, &o)
5637- }
5638- case Src:
5639- switch dst := dst.(type) {
5640- case *image.RGBA:
5641- z.scaleY_RGBA_Src(dst, dr, adr, tmp, &o)
5642- case RGBA64Image:
5643- z.scaleY_RGBA64Image_Src(dst, dr, adr, tmp, &o)
5644- default:
5645- z.scaleY_Image_Src(dst, dr, adr, tmp, &o)
5646- }
5647- }
5648- }
5649-}
5650-
5651-func (q *Kernel) Transform(dst Image, s2d f64.Aff3, src image.Image, sr image.Rectangle, op Op, opts *Options) {
5652- var o Options
5653- if opts != nil {
5654- o = *opts
5655- }
5656-
5657- dr := transformRect(&s2d, &sr)
5658- // adr is the affected destination pixels.
5659- adr := dst.Bounds().Intersect(dr)
5660- adr, o.DstMask = clipAffectedDestRect(adr, o.DstMask, o.DstMaskP)
5661- if adr.Empty() || sr.Empty() {
5662- return
5663- }
5664- if op == Over && o.SrcMask == nil && opaque(src) {
5665- op = Src
5666- }
5667- d2s := invert(&s2d)
5668- // bias is a translation of the mapping from dst coordinates to src
5669- // coordinates such that the latter temporarily have non-negative X
5670- // and Y coordinates. This allows us to write int(f) instead of
5671- // int(math.Floor(f)), since "round to zero" and "round down" are
5672- // equivalent when f >= 0, but the former is much cheaper. The X--
5673- // and Y-- are because the TransformLeaf methods have a "sx -= 0.5"
5674- // adjustment.
5675- bias := transformRect(&d2s, &adr).Min
5676- bias.X--
5677- bias.Y--
5678- d2s[2] -= float64(bias.X)
5679- d2s[5] -= float64(bias.Y)
5680- // Make adr relative to dr.Min.
5681- adr = adr.Sub(dr.Min)
5682-
5683- if u, ok := src.(*image.Uniform); ok && o.DstMask != nil && o.SrcMask != nil && sr.In(src.Bounds()) {
5684- transform_Uniform(dst, dr, adr, &d2s, u, sr, bias, op)
5685- return
5686- }
5687-
5688- xscale := abs(d2s[0])
5689- if s := abs(d2s[1]); xscale < s {
5690- xscale = s
5691- }
5692- yscale := abs(d2s[3])
5693- if s := abs(d2s[4]); yscale < s {
5694- yscale = s
5695- }
5696-
5697- // sr is the source pixels. If it extends beyond the src bounds,
5698- // we cannot use the type-specific fast paths, as they access
5699- // the Pix fields directly without bounds checking.
5700- //
5701- // Similarly, the fast paths assume that the masks are nil.
5702- if o.DstMask != nil || o.SrcMask != nil || !sr.In(src.Bounds()) {
5703- switch op {
5704- case Over:
5705- q.transform_Image_Image_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5706- case Src:
5707- q.transform_Image_Image_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5708- }
5709- } else {
5710- switch op {
5711- case Over:
5712- switch dst := dst.(type) {
5713- case *image.RGBA:
5714- switch src := src.(type) {
5715- case *image.NRGBA:
5716- q.transform_RGBA_NRGBA_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5717- case *image.RGBA:
5718- q.transform_RGBA_RGBA_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5719- case image.RGBA64Image:
5720- q.transform_RGBA_RGBA64Image_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5721- default:
5722- q.transform_RGBA_Image_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5723- }
5724- case RGBA64Image:
5725- switch src := src.(type) {
5726- case image.RGBA64Image:
5727- q.transform_RGBA64Image_RGBA64Image_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5728- }
5729- default:
5730- switch src := src.(type) {
5731- default:
5732- q.transform_Image_Image_Over(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5733- }
5734- }
5735- case Src:
5736- switch dst := dst.(type) {
5737- case *image.RGBA:
5738- switch src := src.(type) {
5739- case *image.Gray:
5740- q.transform_RGBA_Gray_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5741- case *image.NRGBA:
5742- q.transform_RGBA_NRGBA_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5743- case *image.RGBA:
5744- q.transform_RGBA_RGBA_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5745- case *image.YCbCr:
5746- switch src.SubsampleRatio {
5747- default:
5748- q.transform_RGBA_Image_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5749- case image.YCbCrSubsampleRatio444:
5750- q.transform_RGBA_YCbCr444_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5751- case image.YCbCrSubsampleRatio422:
5752- q.transform_RGBA_YCbCr422_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5753- case image.YCbCrSubsampleRatio420:
5754- q.transform_RGBA_YCbCr420_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5755- case image.YCbCrSubsampleRatio440:
5756- q.transform_RGBA_YCbCr440_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5757- }
5758- case image.RGBA64Image:
5759- q.transform_RGBA_RGBA64Image_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5760- default:
5761- q.transform_RGBA_Image_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5762- }
5763- case RGBA64Image:
5764- switch src := src.(type) {
5765- case image.RGBA64Image:
5766- q.transform_RGBA64Image_RGBA64Image_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5767- }
5768- default:
5769- switch src := src.(type) {
5770- default:
5771- q.transform_Image_Image_Src(dst, dr, adr, &d2s, src, sr, bias, xscale, yscale, &o)
5772- }
5773- }
5774- }
5775- }
5776-}
5777-
5778-func (z *kernelScaler) scaleX_Gray(tmp [][4]float64, src *image.Gray, sr image.Rectangle, opts *Options) {
5779- t := 0
5780- for y := int32(0); y < z.sh; y++ {
5781- for _, s := range z.horizontal.sources {
5782- var pr float64
5783- for _, c := range z.horizontal.contribs[s.i:s.j] {
5784- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.Stride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
5785- pru := uint32(src.Pix[pi]) * 0x101
5786- pr += float64(float64(pru) * c.weight)
5787- }
5788- pr *= s.invTotalWeightFFFF
5789- tmp[t] = [4]float64{
5790- pr,
5791- pr,
5792- pr,
5793- 1,
5794- }
5795- t++
5796- }
5797- }
5798-}
5799-
5800-func (z *kernelScaler) scaleX_NRGBA(tmp [][4]float64, src *image.NRGBA, sr image.Rectangle, opts *Options) {
5801- t := 0
5802- for y := int32(0); y < z.sh; y++ {
5803- for _, s := range z.horizontal.sources {
5804- var pr, pg, pb, pa float64
5805- for _, c := range z.horizontal.contribs[s.i:s.j] {
5806- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(c.coord)-src.Rect.Min.X)*4
5807- pau := uint32(src.Pix[pi+3]) * 0x101
5808- pru := uint32(src.Pix[pi+0]) * pau / 0xff
5809- pgu := uint32(src.Pix[pi+1]) * pau / 0xff
5810- pbu := uint32(src.Pix[pi+2]) * pau / 0xff
5811- pr += float64(float64(pru) * c.weight)
5812- pg += float64(float64(pgu) * c.weight)
5813- pb += float64(float64(pbu) * c.weight)
5814- pa += float64(float64(pau) * c.weight)
5815- }
5816- tmp[t] = [4]float64{
5817- pr * s.invTotalWeightFFFF,
5818- pg * s.invTotalWeightFFFF,
5819- pb * s.invTotalWeightFFFF,
5820- pa * s.invTotalWeightFFFF,
5821- }
5822- t++
5823- }
5824- }
5825-}
5826-
5827-func (z *kernelScaler) scaleX_RGBA(tmp [][4]float64, src *image.RGBA, sr image.Rectangle, opts *Options) {
5828- t := 0
5829- for y := int32(0); y < z.sh; y++ {
5830- for _, s := range z.horizontal.sources {
5831- var pr, pg, pb, pa float64
5832- for _, c := range z.horizontal.contribs[s.i:s.j] {
5833- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.Stride + (sr.Min.X+int(c.coord)-src.Rect.Min.X)*4
5834- pru := uint32(src.Pix[pi+0]) * 0x101
5835- pgu := uint32(src.Pix[pi+1]) * 0x101
5836- pbu := uint32(src.Pix[pi+2]) * 0x101
5837- pau := uint32(src.Pix[pi+3]) * 0x101
5838- pr += float64(float64(pru) * c.weight)
5839- pg += float64(float64(pgu) * c.weight)
5840- pb += float64(float64(pbu) * c.weight)
5841- pa += float64(float64(pau) * c.weight)
5842- }
5843- tmp[t] = [4]float64{
5844- pr * s.invTotalWeightFFFF,
5845- pg * s.invTotalWeightFFFF,
5846- pb * s.invTotalWeightFFFF,
5847- pa * s.invTotalWeightFFFF,
5848- }
5849- t++
5850- }
5851- }
5852-}
5853-
5854-func (z *kernelScaler) scaleX_YCbCr444(tmp [][4]float64, src *image.YCbCr, sr image.Rectangle, opts *Options) {
5855- t := 0
5856- for y := int32(0); y < z.sh; y++ {
5857- for _, s := range z.horizontal.sources {
5858- var pr, pg, pb float64
5859- for _, c := range z.horizontal.contribs[s.i:s.j] {
5860- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
5861- pj := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.CStride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
5862-
5863- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
5864- pyy1 := int(src.Y[pi]) * 0x10101
5865- pcb1 := int(src.Cb[pj]) - 128
5866- pcr1 := int(src.Cr[pj]) - 128
5867- pru := (pyy1 + 91881*pcr1) >> 8
5868- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
5869- pbu := (pyy1 + 116130*pcb1) >> 8
5870- if pru < 0 {
5871- pru = 0
5872- } else if pru > 0xffff {
5873- pru = 0xffff
5874- }
5875- if pgu < 0 {
5876- pgu = 0
5877- } else if pgu > 0xffff {
5878- pgu = 0xffff
5879- }
5880- if pbu < 0 {
5881- pbu = 0
5882- } else if pbu > 0xffff {
5883- pbu = 0xffff
5884- }
5885-
5886- pr += float64(float64(pru) * c.weight)
5887- pg += float64(float64(pgu) * c.weight)
5888- pb += float64(float64(pbu) * c.weight)
5889- }
5890- tmp[t] = [4]float64{
5891- pr * s.invTotalWeightFFFF,
5892- pg * s.invTotalWeightFFFF,
5893- pb * s.invTotalWeightFFFF,
5894- 1,
5895- }
5896- t++
5897- }
5898- }
5899-}
5900-
5901-func (z *kernelScaler) scaleX_YCbCr422(tmp [][4]float64, src *image.YCbCr, sr image.Rectangle, opts *Options) {
5902- t := 0
5903- for y := int32(0); y < z.sh; y++ {
5904- for _, s := range z.horizontal.sources {
5905- var pr, pg, pb float64
5906- for _, c := range z.horizontal.contribs[s.i:s.j] {
5907- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
5908- pj := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.CStride + ((sr.Min.X+int(c.coord))/2 - src.Rect.Min.X/2)
5909-
5910- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
5911- pyy1 := int(src.Y[pi]) * 0x10101
5912- pcb1 := int(src.Cb[pj]) - 128
5913- pcr1 := int(src.Cr[pj]) - 128
5914- pru := (pyy1 + 91881*pcr1) >> 8
5915- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
5916- pbu := (pyy1 + 116130*pcb1) >> 8
5917- if pru < 0 {
5918- pru = 0
5919- } else if pru > 0xffff {
5920- pru = 0xffff
5921- }
5922- if pgu < 0 {
5923- pgu = 0
5924- } else if pgu > 0xffff {
5925- pgu = 0xffff
5926- }
5927- if pbu < 0 {
5928- pbu = 0
5929- } else if pbu > 0xffff {
5930- pbu = 0xffff
5931- }
5932-
5933- pr += float64(float64(pru) * c.weight)
5934- pg += float64(float64(pgu) * c.weight)
5935- pb += float64(float64(pbu) * c.weight)
5936- }
5937- tmp[t] = [4]float64{
5938- pr * s.invTotalWeightFFFF,
5939- pg * s.invTotalWeightFFFF,
5940- pb * s.invTotalWeightFFFF,
5941- 1,
5942- }
5943- t++
5944- }
5945- }
5946-}
5947-
5948-func (z *kernelScaler) scaleX_YCbCr420(tmp [][4]float64, src *image.YCbCr, sr image.Rectangle, opts *Options) {
5949- t := 0
5950- for y := int32(0); y < z.sh; y++ {
5951- for _, s := range z.horizontal.sources {
5952- var pr, pg, pb float64
5953- for _, c := range z.horizontal.contribs[s.i:s.j] {
5954- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
5955- pj := ((sr.Min.Y+int(y))/2-src.Rect.Min.Y/2)*src.CStride + ((sr.Min.X+int(c.coord))/2 - src.Rect.Min.X/2)
5956-
5957- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
5958- pyy1 := int(src.Y[pi]) * 0x10101
5959- pcb1 := int(src.Cb[pj]) - 128
5960- pcr1 := int(src.Cr[pj]) - 128
5961- pru := (pyy1 + 91881*pcr1) >> 8
5962- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
5963- pbu := (pyy1 + 116130*pcb1) >> 8
5964- if pru < 0 {
5965- pru = 0
5966- } else if pru > 0xffff {
5967- pru = 0xffff
5968- }
5969- if pgu < 0 {
5970- pgu = 0
5971- } else if pgu > 0xffff {
5972- pgu = 0xffff
5973- }
5974- if pbu < 0 {
5975- pbu = 0
5976- } else if pbu > 0xffff {
5977- pbu = 0xffff
5978- }
5979-
5980- pr += float64(float64(pru) * c.weight)
5981- pg += float64(float64(pgu) * c.weight)
5982- pb += float64(float64(pbu) * c.weight)
5983- }
5984- tmp[t] = [4]float64{
5985- pr * s.invTotalWeightFFFF,
5986- pg * s.invTotalWeightFFFF,
5987- pb * s.invTotalWeightFFFF,
5988- 1,
5989- }
5990- t++
5991- }
5992- }
5993-}
5994-
5995-func (z *kernelScaler) scaleX_YCbCr440(tmp [][4]float64, src *image.YCbCr, sr image.Rectangle, opts *Options) {
5996- t := 0
5997- for y := int32(0); y < z.sh; y++ {
5998- for _, s := range z.horizontal.sources {
5999- var pr, pg, pb float64
6000- for _, c := range z.horizontal.contribs[s.i:s.j] {
6001- pi := (sr.Min.Y+int(y)-src.Rect.Min.Y)*src.YStride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
6002- pj := ((sr.Min.Y+int(y))/2-src.Rect.Min.Y/2)*src.CStride + (sr.Min.X + int(c.coord) - src.Rect.Min.X)
6003-
6004- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
6005- pyy1 := int(src.Y[pi]) * 0x10101
6006- pcb1 := int(src.Cb[pj]) - 128
6007- pcr1 := int(src.Cr[pj]) - 128
6008- pru := (pyy1 + 91881*pcr1) >> 8
6009- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
6010- pbu := (pyy1 + 116130*pcb1) >> 8
6011- if pru < 0 {
6012- pru = 0
6013- } else if pru > 0xffff {
6014- pru = 0xffff
6015- }
6016- if pgu < 0 {
6017- pgu = 0
6018- } else if pgu > 0xffff {
6019- pgu = 0xffff
6020- }
6021- if pbu < 0 {
6022- pbu = 0
6023- } else if pbu > 0xffff {
6024- pbu = 0xffff
6025- }
6026-
6027- pr += float64(float64(pru) * c.weight)
6028- pg += float64(float64(pgu) * c.weight)
6029- pb += float64(float64(pbu) * c.weight)
6030- }
6031- tmp[t] = [4]float64{
6032- pr * s.invTotalWeightFFFF,
6033- pg * s.invTotalWeightFFFF,
6034- pb * s.invTotalWeightFFFF,
6035- 1,
6036- }
6037- t++
6038- }
6039- }
6040-}
6041-
6042-func (z *kernelScaler) scaleX_RGBA64Image(tmp [][4]float64, src image.RGBA64Image, sr image.Rectangle, opts *Options) {
6043- t := 0
6044- srcMask, smp := opts.SrcMask, opts.SrcMaskP
6045- for y := int32(0); y < z.sh; y++ {
6046- for _, s := range z.horizontal.sources {
6047- var pr, pg, pb, pa float64
6048- for _, c := range z.horizontal.contribs[s.i:s.j] {
6049- pu := src.RGBA64At(sr.Min.X+int(c.coord), sr.Min.Y+int(y))
6050- if srcMask != nil {
6051- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(c.coord), smp.Y+sr.Min.Y+int(y)).RGBA()
6052- pu.R = uint16(uint32(pu.R) * ma / 0xffff)
6053- pu.G = uint16(uint32(pu.G) * ma / 0xffff)
6054- pu.B = uint16(uint32(pu.B) * ma / 0xffff)
6055- pu.A = uint16(uint32(pu.A) * ma / 0xffff)
6056- }
6057- pr += float64(float64(pu.R) * c.weight)
6058- pg += float64(float64(pu.G) * c.weight)
6059- pb += float64(float64(pu.B) * c.weight)
6060- pa += float64(float64(pu.A) * c.weight)
6061- }
6062- tmp[t] = [4]float64{
6063- pr * s.invTotalWeightFFFF,
6064- pg * s.invTotalWeightFFFF,
6065- pb * s.invTotalWeightFFFF,
6066- pa * s.invTotalWeightFFFF,
6067- }
6068- t++
6069- }
6070- }
6071-}
6072-
6073-func (z *kernelScaler) scaleX_Image(tmp [][4]float64, src image.Image, sr image.Rectangle, opts *Options) {
6074- t := 0
6075- srcMask, smp := opts.SrcMask, opts.SrcMaskP
6076- for y := int32(0); y < z.sh; y++ {
6077- for _, s := range z.horizontal.sources {
6078- var pr, pg, pb, pa float64
6079- for _, c := range z.horizontal.contribs[s.i:s.j] {
6080- pru, pgu, pbu, pau := src.At(sr.Min.X+int(c.coord), sr.Min.Y+int(y)).RGBA()
6081- if srcMask != nil {
6082- _, _, _, ma := srcMask.At(smp.X+sr.Min.X+int(c.coord), smp.Y+sr.Min.Y+int(y)).RGBA()
6083- pru = pru * ma / 0xffff
6084- pgu = pgu * ma / 0xffff
6085- pbu = pbu * ma / 0xffff
6086- pau = pau * ma / 0xffff
6087- }
6088- pr += float64(float64(pru) * c.weight)
6089- pg += float64(float64(pgu) * c.weight)
6090- pb += float64(float64(pbu) * c.weight)
6091- pa += float64(float64(pau) * c.weight)
6092- }
6093- tmp[t] = [4]float64{
6094- pr * s.invTotalWeightFFFF,
6095- pg * s.invTotalWeightFFFF,
6096- pb * s.invTotalWeightFFFF,
6097- pa * s.invTotalWeightFFFF,
6098- }
6099- t++
6100- }
6101- }
6102-}
6103-
6104-func (z *kernelScaler) scaleY_RGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, tmp [][4]float64, opts *Options) {
6105- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
6106- d := (dr.Min.Y+adr.Min.Y-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+int(dx)-dst.Rect.Min.X)*4
6107- for _, s := range z.vertical.sources[adr.Min.Y:adr.Max.Y] {
6108- var pr, pg, pb, pa float64
6109- for _, c := range z.vertical.contribs[s.i:s.j] {
6110- p := &tmp[c.coord*z.dw+dx]
6111- pr += float64(p[0] * c.weight)
6112- pg += float64(p[1] * c.weight)
6113- pb += float64(p[2] * c.weight)
6114- pa += float64(p[3] * c.weight)
6115- }
6116-
6117- if pr > pa {
6118- pr = pa
6119- }
6120- if pg > pa {
6121- pg = pa
6122- }
6123- if pb > pa {
6124- pb = pa
6125- }
6126-
6127- pr0 := uint32(ftou(pr * s.invTotalWeight))
6128- pg0 := uint32(ftou(pg * s.invTotalWeight))
6129- pb0 := uint32(ftou(pb * s.invTotalWeight))
6130- pa0 := uint32(ftou(pa * s.invTotalWeight))
6131- pa1 := (0xffff - uint32(pa0)) * 0x101
6132- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr0) >> 8)
6133- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg0) >> 8)
6134- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb0) >> 8)
6135- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa0) >> 8)
6136- d += dst.Stride
6137- }
6138- }
6139-}
6140-
6141-func (z *kernelScaler) scaleY_RGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, tmp [][4]float64, opts *Options) {
6142- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
6143- d := (dr.Min.Y+adr.Min.Y-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+int(dx)-dst.Rect.Min.X)*4
6144- for _, s := range z.vertical.sources[adr.Min.Y:adr.Max.Y] {
6145- var pr, pg, pb, pa float64
6146- for _, c := range z.vertical.contribs[s.i:s.j] {
6147- p := &tmp[c.coord*z.dw+dx]
6148- pr += float64(p[0] * c.weight)
6149- pg += float64(p[1] * c.weight)
6150- pb += float64(p[2] * c.weight)
6151- pa += float64(p[3] * c.weight)
6152- }
6153-
6154- if pr > pa {
6155- pr = pa
6156- }
6157- if pg > pa {
6158- pg = pa
6159- }
6160- if pb > pa {
6161- pb = pa
6162- }
6163-
6164- dst.Pix[d+0] = uint8(ftou(pr*s.invTotalWeight) >> 8)
6165- dst.Pix[d+1] = uint8(ftou(pg*s.invTotalWeight) >> 8)
6166- dst.Pix[d+2] = uint8(ftou(pb*s.invTotalWeight) >> 8)
6167- dst.Pix[d+3] = uint8(ftou(pa*s.invTotalWeight) >> 8)
6168- d += dst.Stride
6169- }
6170- }
6171-}
6172-
6173-func (z *kernelScaler) scaleY_RGBA64Image_Over(dst RGBA64Image, dr, adr image.Rectangle, tmp [][4]float64, opts *Options) {
6174- dstMask, dmp := opts.DstMask, opts.DstMaskP
6175- dstColorRGBA64 := color.RGBA64{}
6176-
6177- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
6178- for dy, s := range z.vertical.sources[adr.Min.Y:adr.Max.Y] {
6179- var pr, pg, pb, pa float64
6180- for _, c := range z.vertical.contribs[s.i:s.j] {
6181- p := &tmp[c.coord*z.dw+dx]
6182- pr += float64(p[0] * c.weight)
6183- pg += float64(p[1] * c.weight)
6184- pb += float64(p[2] * c.weight)
6185- pa += float64(p[3] * c.weight)
6186- }
6187-
6188- if pr > pa {
6189- pr = pa
6190- }
6191- if pg > pa {
6192- pg = pa
6193- }
6194- if pb > pa {
6195- pb = pa
6196- }
6197-
6198- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy))
6199- pr0 := uint32(ftou(pr * s.invTotalWeight))
6200- pg0 := uint32(ftou(pg * s.invTotalWeight))
6201- pb0 := uint32(ftou(pb * s.invTotalWeight))
6202- pa0 := uint32(ftou(pa * s.invTotalWeight))
6203- if dstMask != nil {
6204- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(adr.Min.Y+dy)).RGBA()
6205- pr0 = pr0 * ma / 0xffff
6206- pg0 = pg0 * ma / 0xffff
6207- pb0 = pb0 * ma / 0xffff
6208- pa0 = pa0 * ma / 0xffff
6209- }
6210- pa1 := 0xffff - pa0
6211- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + pr0)
6212- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + pg0)
6213- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + pb0)
6214- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + pa0)
6215- dst.SetRGBA64(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy), dstColorRGBA64)
6216- }
6217- }
6218-}
6219-
6220-func (z *kernelScaler) scaleY_RGBA64Image_Src(dst RGBA64Image, dr, adr image.Rectangle, tmp [][4]float64, opts *Options) {
6221- dstMask, dmp := opts.DstMask, opts.DstMaskP
6222- dstColorRGBA64 := color.RGBA64{}
6223-
6224- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
6225- for dy, s := range z.vertical.sources[adr.Min.Y:adr.Max.Y] {
6226- var pr, pg, pb, pa float64
6227- for _, c := range z.vertical.contribs[s.i:s.j] {
6228- p := &tmp[c.coord*z.dw+dx]
6229- pr += float64(p[0] * c.weight)
6230- pg += float64(p[1] * c.weight)
6231- pb += float64(p[2] * c.weight)
6232- pa += float64(p[3] * c.weight)
6233- }
6234-
6235- if pr > pa {
6236- pr = pa
6237- }
6238- if pg > pa {
6239- pg = pa
6240- }
6241- if pb > pa {
6242- pb = pa
6243- }
6244-
6245- if dstMask != nil {
6246- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy))
6247- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(adr.Min.Y+dy)).RGBA()
6248- pr := uint32(ftou(pr*s.invTotalWeight)) * ma / 0xffff
6249- pg := uint32(ftou(pg*s.invTotalWeight)) * ma / 0xffff
6250- pb := uint32(ftou(pb*s.invTotalWeight)) * ma / 0xffff
6251- pa := uint32(ftou(pa*s.invTotalWeight)) * ma / 0xffff
6252- pa1 := 0xffff - ma
6253- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + pr)
6254- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + pg)
6255- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + pb)
6256- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + pa)
6257- dst.SetRGBA64(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy), dstColorRGBA64)
6258- } else {
6259- dstColorRGBA64.R = ftou(pr * s.invTotalWeight)
6260- dstColorRGBA64.G = ftou(pg * s.invTotalWeight)
6261- dstColorRGBA64.B = ftou(pb * s.invTotalWeight)
6262- dstColorRGBA64.A = ftou(pa * s.invTotalWeight)
6263- dst.SetRGBA64(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy), dstColorRGBA64)
6264- }
6265- }
6266- }
6267-}
6268-
6269-func (z *kernelScaler) scaleY_Image_Over(dst Image, dr, adr image.Rectangle, tmp [][4]float64, opts *Options) {
6270- dstMask, dmp := opts.DstMask, opts.DstMaskP
6271- dstColorRGBA64 := &color.RGBA64{}
6272- dstColor := color.Color(dstColorRGBA64)
6273- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
6274- for dy, s := range z.vertical.sources[adr.Min.Y:adr.Max.Y] {
6275- var pr, pg, pb, pa float64
6276- for _, c := range z.vertical.contribs[s.i:s.j] {
6277- p := &tmp[c.coord*z.dw+dx]
6278- pr += float64(p[0] * c.weight)
6279- pg += float64(p[1] * c.weight)
6280- pb += float64(p[2] * c.weight)
6281- pa += float64(p[3] * c.weight)
6282- }
6283-
6284- if pr > pa {
6285- pr = pa
6286- }
6287- if pg > pa {
6288- pg = pa
6289- }
6290- if pb > pa {
6291- pb = pa
6292- }
6293-
6294- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy)).RGBA()
6295- pr0 := uint32(ftou(pr * s.invTotalWeight))
6296- pg0 := uint32(ftou(pg * s.invTotalWeight))
6297- pb0 := uint32(ftou(pb * s.invTotalWeight))
6298- pa0 := uint32(ftou(pa * s.invTotalWeight))
6299- if dstMask != nil {
6300- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(adr.Min.Y+dy)).RGBA()
6301- pr0 = pr0 * ma / 0xffff
6302- pg0 = pg0 * ma / 0xffff
6303- pb0 = pb0 * ma / 0xffff
6304- pa0 = pa0 * ma / 0xffff
6305- }
6306- pa1 := 0xffff - pa0
6307- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr0)
6308- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg0)
6309- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb0)
6310- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa0)
6311- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy), dstColor)
6312- }
6313- }
6314-}
6315-
6316-func (z *kernelScaler) scaleY_Image_Src(dst Image, dr, adr image.Rectangle, tmp [][4]float64, opts *Options) {
6317- dstMask, dmp := opts.DstMask, opts.DstMaskP
6318- dstColorRGBA64 := &color.RGBA64{}
6319- dstColor := color.Color(dstColorRGBA64)
6320- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
6321- for dy, s := range z.vertical.sources[adr.Min.Y:adr.Max.Y] {
6322- var pr, pg, pb, pa float64
6323- for _, c := range z.vertical.contribs[s.i:s.j] {
6324- p := &tmp[c.coord*z.dw+dx]
6325- pr += float64(p[0] * c.weight)
6326- pg += float64(p[1] * c.weight)
6327- pb += float64(p[2] * c.weight)
6328- pa += float64(p[3] * c.weight)
6329- }
6330-
6331- if pr > pa {
6332- pr = pa
6333- }
6334- if pg > pa {
6335- pg = pa
6336- }
6337- if pb > pa {
6338- pb = pa
6339- }
6340-
6341- if dstMask != nil {
6342- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy)).RGBA()
6343- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(adr.Min.Y+dy)).RGBA()
6344- pr := uint32(ftou(pr*s.invTotalWeight)) * ma / 0xffff
6345- pg := uint32(ftou(pg*s.invTotalWeight)) * ma / 0xffff
6346- pb := uint32(ftou(pb*s.invTotalWeight)) * ma / 0xffff
6347- pa := uint32(ftou(pa*s.invTotalWeight)) * ma / 0xffff
6348- pa1 := 0xffff - ma
6349- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
6350- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
6351- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
6352- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
6353- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy), dstColor)
6354- } else {
6355- dstColorRGBA64.R = ftou(pr * s.invTotalWeight)
6356- dstColorRGBA64.G = ftou(pg * s.invTotalWeight)
6357- dstColorRGBA64.B = ftou(pb * s.invTotalWeight)
6358- dstColorRGBA64.A = ftou(pa * s.invTotalWeight)
6359- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(adr.Min.Y+dy), dstColor)
6360- }
6361- }
6362- }
6363-}
6364-
6365-func (q *Kernel) transform_RGBA_Gray_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.Gray, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
6366- // When shrinking, broaden the effective kernel support so that we still
6367- // visit every source pixel.
6368- xHalfWidth, xKernelArgScale := q.Support, 1.0
6369- if xscale > 1 {
6370- xHalfWidth *= xscale
6371- xKernelArgScale = 1 / xscale
6372- }
6373- yHalfWidth, yKernelArgScale := q.Support, 1.0
6374- if yscale > 1 {
6375- yHalfWidth *= yscale
6376- yKernelArgScale = 1 / yscale
6377- }
6378-
6379- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
6380- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
6381-
6382- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
6383- dyf := float64(dr.Min.Y+int(dy)) + 0.5
6384- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
6385- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
6386- dxf := float64(dr.Min.X+int(dx)) + 0.5
6387- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
6388- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
6389- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
6390- continue
6391- }
6392-
6393- // TODO: adjust the bias so that we can use int(f) instead
6394- // of math.Floor(f) and math.Ceil(f).
6395- sx += float64(bias.X)
6396- sx -= 0.5
6397- ix := int(math.Floor(sx - xHalfWidth))
6398- if ix < sr.Min.X {
6399- ix = sr.Min.X
6400- }
6401- jx := int(math.Ceil(sx + xHalfWidth))
6402- if jx > sr.Max.X {
6403- jx = sr.Max.X
6404- }
6405-
6406- totalXWeight := 0.0
6407- for kx := ix; kx < jx; kx++ {
6408- xWeight := 0.0
6409- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
6410- xWeight = q.At(t)
6411- }
6412- xWeights[kx-ix] = xWeight
6413- totalXWeight += xWeight
6414- }
6415- for x := range xWeights[:jx-ix] {
6416- xWeights[x] /= totalXWeight
6417- }
6418-
6419- sy += float64(bias.Y)
6420- sy -= 0.5
6421- iy := int(math.Floor(sy - yHalfWidth))
6422- if iy < sr.Min.Y {
6423- iy = sr.Min.Y
6424- }
6425- jy := int(math.Ceil(sy + yHalfWidth))
6426- if jy > sr.Max.Y {
6427- jy = sr.Max.Y
6428- }
6429-
6430- totalYWeight := 0.0
6431- for ky := iy; ky < jy; ky++ {
6432- yWeight := 0.0
6433- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
6434- yWeight = q.At(t)
6435- }
6436- yWeights[ky-iy] = yWeight
6437- totalYWeight += yWeight
6438- }
6439- for y := range yWeights[:jy-iy] {
6440- yWeights[y] /= totalYWeight
6441- }
6442-
6443- var pr float64
6444- for ky := iy; ky < jy; ky++ {
6445- if yWeight := yWeights[ky-iy]; yWeight != 0 {
6446- for kx := ix; kx < jx; kx++ {
6447- if w := xWeights[kx-ix] * yWeight; w != 0 {
6448- pi := (ky-src.Rect.Min.Y)*src.Stride + (kx - src.Rect.Min.X)
6449- pru := uint32(src.Pix[pi]) * 0x101
6450- pr += float64(float64(pru) * w)
6451- }
6452- }
6453- }
6454- }
6455- out := uint8(fffftou(pr) >> 8)
6456- dst.Pix[d+0] = out
6457- dst.Pix[d+1] = out
6458- dst.Pix[d+2] = out
6459- dst.Pix[d+3] = 0xff
6460- }
6461- }
6462-}
6463-
6464-func (q *Kernel) transform_RGBA_NRGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.NRGBA, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
6465- // When shrinking, broaden the effective kernel support so that we still
6466- // visit every source pixel.
6467- xHalfWidth, xKernelArgScale := q.Support, 1.0
6468- if xscale > 1 {
6469- xHalfWidth *= xscale
6470- xKernelArgScale = 1 / xscale
6471- }
6472- yHalfWidth, yKernelArgScale := q.Support, 1.0
6473- if yscale > 1 {
6474- yHalfWidth *= yscale
6475- yKernelArgScale = 1 / yscale
6476- }
6477-
6478- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
6479- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
6480-
6481- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
6482- dyf := float64(dr.Min.Y+int(dy)) + 0.5
6483- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
6484- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
6485- dxf := float64(dr.Min.X+int(dx)) + 0.5
6486- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
6487- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
6488- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
6489- continue
6490- }
6491-
6492- // TODO: adjust the bias so that we can use int(f) instead
6493- // of math.Floor(f) and math.Ceil(f).
6494- sx += float64(bias.X)
6495- sx -= 0.5
6496- ix := int(math.Floor(sx - xHalfWidth))
6497- if ix < sr.Min.X {
6498- ix = sr.Min.X
6499- }
6500- jx := int(math.Ceil(sx + xHalfWidth))
6501- if jx > sr.Max.X {
6502- jx = sr.Max.X
6503- }
6504-
6505- totalXWeight := 0.0
6506- for kx := ix; kx < jx; kx++ {
6507- xWeight := 0.0
6508- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
6509- xWeight = q.At(t)
6510- }
6511- xWeights[kx-ix] = xWeight
6512- totalXWeight += xWeight
6513- }
6514- for x := range xWeights[:jx-ix] {
6515- xWeights[x] /= totalXWeight
6516- }
6517-
6518- sy += float64(bias.Y)
6519- sy -= 0.5
6520- iy := int(math.Floor(sy - yHalfWidth))
6521- if iy < sr.Min.Y {
6522- iy = sr.Min.Y
6523- }
6524- jy := int(math.Ceil(sy + yHalfWidth))
6525- if jy > sr.Max.Y {
6526- jy = sr.Max.Y
6527- }
6528-
6529- totalYWeight := 0.0
6530- for ky := iy; ky < jy; ky++ {
6531- yWeight := 0.0
6532- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
6533- yWeight = q.At(t)
6534- }
6535- yWeights[ky-iy] = yWeight
6536- totalYWeight += yWeight
6537- }
6538- for y := range yWeights[:jy-iy] {
6539- yWeights[y] /= totalYWeight
6540- }
6541-
6542- var pr, pg, pb, pa float64
6543- for ky := iy; ky < jy; ky++ {
6544- if yWeight := yWeights[ky-iy]; yWeight != 0 {
6545- for kx := ix; kx < jx; kx++ {
6546- if w := xWeights[kx-ix] * yWeight; w != 0 {
6547- pi := (ky-src.Rect.Min.Y)*src.Stride + (kx-src.Rect.Min.X)*4
6548- pau := uint32(src.Pix[pi+3]) * 0x101
6549- pru := uint32(src.Pix[pi+0]) * pau / 0xff
6550- pgu := uint32(src.Pix[pi+1]) * pau / 0xff
6551- pbu := uint32(src.Pix[pi+2]) * pau / 0xff
6552- pr += float64(float64(pru) * w)
6553- pg += float64(float64(pgu) * w)
6554- pb += float64(float64(pbu) * w)
6555- pa += float64(float64(pau) * w)
6556- }
6557- }
6558- }
6559- }
6560-
6561- if pr > pa {
6562- pr = pa
6563- }
6564- if pg > pa {
6565- pg = pa
6566- }
6567- if pb > pa {
6568- pb = pa
6569- }
6570-
6571- pr0 := uint32(fffftou(pr))
6572- pg0 := uint32(fffftou(pg))
6573- pb0 := uint32(fffftou(pb))
6574- pa0 := uint32(fffftou(pa))
6575- pa1 := (0xffff - uint32(pa0)) * 0x101
6576- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr0) >> 8)
6577- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg0) >> 8)
6578- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb0) >> 8)
6579- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa0) >> 8)
6580- }
6581- }
6582-}
6583-
6584-func (q *Kernel) transform_RGBA_NRGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.NRGBA, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
6585- // When shrinking, broaden the effective kernel support so that we still
6586- // visit every source pixel.
6587- xHalfWidth, xKernelArgScale := q.Support, 1.0
6588- if xscale > 1 {
6589- xHalfWidth *= xscale
6590- xKernelArgScale = 1 / xscale
6591- }
6592- yHalfWidth, yKernelArgScale := q.Support, 1.0
6593- if yscale > 1 {
6594- yHalfWidth *= yscale
6595- yKernelArgScale = 1 / yscale
6596- }
6597-
6598- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
6599- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
6600-
6601- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
6602- dyf := float64(dr.Min.Y+int(dy)) + 0.5
6603- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
6604- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
6605- dxf := float64(dr.Min.X+int(dx)) + 0.5
6606- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
6607- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
6608- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
6609- continue
6610- }
6611-
6612- // TODO: adjust the bias so that we can use int(f) instead
6613- // of math.Floor(f) and math.Ceil(f).
6614- sx += float64(bias.X)
6615- sx -= 0.5
6616- ix := int(math.Floor(sx - xHalfWidth))
6617- if ix < sr.Min.X {
6618- ix = sr.Min.X
6619- }
6620- jx := int(math.Ceil(sx + xHalfWidth))
6621- if jx > sr.Max.X {
6622- jx = sr.Max.X
6623- }
6624-
6625- totalXWeight := 0.0
6626- for kx := ix; kx < jx; kx++ {
6627- xWeight := 0.0
6628- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
6629- xWeight = q.At(t)
6630- }
6631- xWeights[kx-ix] = xWeight
6632- totalXWeight += xWeight
6633- }
6634- for x := range xWeights[:jx-ix] {
6635- xWeights[x] /= totalXWeight
6636- }
6637-
6638- sy += float64(bias.Y)
6639- sy -= 0.5
6640- iy := int(math.Floor(sy - yHalfWidth))
6641- if iy < sr.Min.Y {
6642- iy = sr.Min.Y
6643- }
6644- jy := int(math.Ceil(sy + yHalfWidth))
6645- if jy > sr.Max.Y {
6646- jy = sr.Max.Y
6647- }
6648-
6649- totalYWeight := 0.0
6650- for ky := iy; ky < jy; ky++ {
6651- yWeight := 0.0
6652- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
6653- yWeight = q.At(t)
6654- }
6655- yWeights[ky-iy] = yWeight
6656- totalYWeight += yWeight
6657- }
6658- for y := range yWeights[:jy-iy] {
6659- yWeights[y] /= totalYWeight
6660- }
6661-
6662- var pr, pg, pb, pa float64
6663- for ky := iy; ky < jy; ky++ {
6664- if yWeight := yWeights[ky-iy]; yWeight != 0 {
6665- for kx := ix; kx < jx; kx++ {
6666- if w := xWeights[kx-ix] * yWeight; w != 0 {
6667- pi := (ky-src.Rect.Min.Y)*src.Stride + (kx-src.Rect.Min.X)*4
6668- pau := uint32(src.Pix[pi+3]) * 0x101
6669- pru := uint32(src.Pix[pi+0]) * pau / 0xff
6670- pgu := uint32(src.Pix[pi+1]) * pau / 0xff
6671- pbu := uint32(src.Pix[pi+2]) * pau / 0xff
6672- pr += float64(float64(pru) * w)
6673- pg += float64(float64(pgu) * w)
6674- pb += float64(float64(pbu) * w)
6675- pa += float64(float64(pau) * w)
6676- }
6677- }
6678- }
6679- }
6680-
6681- if pr > pa {
6682- pr = pa
6683- }
6684- if pg > pa {
6685- pg = pa
6686- }
6687- if pb > pa {
6688- pb = pa
6689- }
6690-
6691- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
6692- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
6693- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
6694- dst.Pix[d+3] = uint8(fffftou(pa) >> 8)
6695- }
6696- }
6697-}
6698-
6699-func (q *Kernel) transform_RGBA_RGBA_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.RGBA, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
6700- // When shrinking, broaden the effective kernel support so that we still
6701- // visit every source pixel.
6702- xHalfWidth, xKernelArgScale := q.Support, 1.0
6703- if xscale > 1 {
6704- xHalfWidth *= xscale
6705- xKernelArgScale = 1 / xscale
6706- }
6707- yHalfWidth, yKernelArgScale := q.Support, 1.0
6708- if yscale > 1 {
6709- yHalfWidth *= yscale
6710- yKernelArgScale = 1 / yscale
6711- }
6712-
6713- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
6714- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
6715-
6716- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
6717- dyf := float64(dr.Min.Y+int(dy)) + 0.5
6718- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
6719- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
6720- dxf := float64(dr.Min.X+int(dx)) + 0.5
6721- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
6722- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
6723- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
6724- continue
6725- }
6726-
6727- // TODO: adjust the bias so that we can use int(f) instead
6728- // of math.Floor(f) and math.Ceil(f).
6729- sx += float64(bias.X)
6730- sx -= 0.5
6731- ix := int(math.Floor(sx - xHalfWidth))
6732- if ix < sr.Min.X {
6733- ix = sr.Min.X
6734- }
6735- jx := int(math.Ceil(sx + xHalfWidth))
6736- if jx > sr.Max.X {
6737- jx = sr.Max.X
6738- }
6739-
6740- totalXWeight := 0.0
6741- for kx := ix; kx < jx; kx++ {
6742- xWeight := 0.0
6743- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
6744- xWeight = q.At(t)
6745- }
6746- xWeights[kx-ix] = xWeight
6747- totalXWeight += xWeight
6748- }
6749- for x := range xWeights[:jx-ix] {
6750- xWeights[x] /= totalXWeight
6751- }
6752-
6753- sy += float64(bias.Y)
6754- sy -= 0.5
6755- iy := int(math.Floor(sy - yHalfWidth))
6756- if iy < sr.Min.Y {
6757- iy = sr.Min.Y
6758- }
6759- jy := int(math.Ceil(sy + yHalfWidth))
6760- if jy > sr.Max.Y {
6761- jy = sr.Max.Y
6762- }
6763-
6764- totalYWeight := 0.0
6765- for ky := iy; ky < jy; ky++ {
6766- yWeight := 0.0
6767- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
6768- yWeight = q.At(t)
6769- }
6770- yWeights[ky-iy] = yWeight
6771- totalYWeight += yWeight
6772- }
6773- for y := range yWeights[:jy-iy] {
6774- yWeights[y] /= totalYWeight
6775- }
6776-
6777- var pr, pg, pb, pa float64
6778- for ky := iy; ky < jy; ky++ {
6779- if yWeight := yWeights[ky-iy]; yWeight != 0 {
6780- for kx := ix; kx < jx; kx++ {
6781- if w := xWeights[kx-ix] * yWeight; w != 0 {
6782- pi := (ky-src.Rect.Min.Y)*src.Stride + (kx-src.Rect.Min.X)*4
6783- pru := uint32(src.Pix[pi+0]) * 0x101
6784- pgu := uint32(src.Pix[pi+1]) * 0x101
6785- pbu := uint32(src.Pix[pi+2]) * 0x101
6786- pau := uint32(src.Pix[pi+3]) * 0x101
6787- pr += float64(float64(pru) * w)
6788- pg += float64(float64(pgu) * w)
6789- pb += float64(float64(pbu) * w)
6790- pa += float64(float64(pau) * w)
6791- }
6792- }
6793- }
6794- }
6795-
6796- if pr > pa {
6797- pr = pa
6798- }
6799- if pg > pa {
6800- pg = pa
6801- }
6802- if pb > pa {
6803- pb = pa
6804- }
6805-
6806- pr0 := uint32(fffftou(pr))
6807- pg0 := uint32(fffftou(pg))
6808- pb0 := uint32(fffftou(pb))
6809- pa0 := uint32(fffftou(pa))
6810- pa1 := (0xffff - uint32(pa0)) * 0x101
6811- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr0) >> 8)
6812- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg0) >> 8)
6813- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb0) >> 8)
6814- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa0) >> 8)
6815- }
6816- }
6817-}
6818-
6819-func (q *Kernel) transform_RGBA_RGBA_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.RGBA, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
6820- // When shrinking, broaden the effective kernel support so that we still
6821- // visit every source pixel.
6822- xHalfWidth, xKernelArgScale := q.Support, 1.0
6823- if xscale > 1 {
6824- xHalfWidth *= xscale
6825- xKernelArgScale = 1 / xscale
6826- }
6827- yHalfWidth, yKernelArgScale := q.Support, 1.0
6828- if yscale > 1 {
6829- yHalfWidth *= yscale
6830- yKernelArgScale = 1 / yscale
6831- }
6832-
6833- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
6834- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
6835-
6836- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
6837- dyf := float64(dr.Min.Y+int(dy)) + 0.5
6838- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
6839- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
6840- dxf := float64(dr.Min.X+int(dx)) + 0.5
6841- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
6842- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
6843- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
6844- continue
6845- }
6846-
6847- // TODO: adjust the bias so that we can use int(f) instead
6848- // of math.Floor(f) and math.Ceil(f).
6849- sx += float64(bias.X)
6850- sx -= 0.5
6851- ix := int(math.Floor(sx - xHalfWidth))
6852- if ix < sr.Min.X {
6853- ix = sr.Min.X
6854- }
6855- jx := int(math.Ceil(sx + xHalfWidth))
6856- if jx > sr.Max.X {
6857- jx = sr.Max.X
6858- }
6859-
6860- totalXWeight := 0.0
6861- for kx := ix; kx < jx; kx++ {
6862- xWeight := 0.0
6863- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
6864- xWeight = q.At(t)
6865- }
6866- xWeights[kx-ix] = xWeight
6867- totalXWeight += xWeight
6868- }
6869- for x := range xWeights[:jx-ix] {
6870- xWeights[x] /= totalXWeight
6871- }
6872-
6873- sy += float64(bias.Y)
6874- sy -= 0.5
6875- iy := int(math.Floor(sy - yHalfWidth))
6876- if iy < sr.Min.Y {
6877- iy = sr.Min.Y
6878- }
6879- jy := int(math.Ceil(sy + yHalfWidth))
6880- if jy > sr.Max.Y {
6881- jy = sr.Max.Y
6882- }
6883-
6884- totalYWeight := 0.0
6885- for ky := iy; ky < jy; ky++ {
6886- yWeight := 0.0
6887- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
6888- yWeight = q.At(t)
6889- }
6890- yWeights[ky-iy] = yWeight
6891- totalYWeight += yWeight
6892- }
6893- for y := range yWeights[:jy-iy] {
6894- yWeights[y] /= totalYWeight
6895- }
6896-
6897- var pr, pg, pb, pa float64
6898- for ky := iy; ky < jy; ky++ {
6899- if yWeight := yWeights[ky-iy]; yWeight != 0 {
6900- for kx := ix; kx < jx; kx++ {
6901- if w := xWeights[kx-ix] * yWeight; w != 0 {
6902- pi := (ky-src.Rect.Min.Y)*src.Stride + (kx-src.Rect.Min.X)*4
6903- pru := uint32(src.Pix[pi+0]) * 0x101
6904- pgu := uint32(src.Pix[pi+1]) * 0x101
6905- pbu := uint32(src.Pix[pi+2]) * 0x101
6906- pau := uint32(src.Pix[pi+3]) * 0x101
6907- pr += float64(float64(pru) * w)
6908- pg += float64(float64(pgu) * w)
6909- pb += float64(float64(pbu) * w)
6910- pa += float64(float64(pau) * w)
6911- }
6912- }
6913- }
6914- }
6915-
6916- if pr > pa {
6917- pr = pa
6918- }
6919- if pg > pa {
6920- pg = pa
6921- }
6922- if pb > pa {
6923- pb = pa
6924- }
6925-
6926- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
6927- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
6928- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
6929- dst.Pix[d+3] = uint8(fffftou(pa) >> 8)
6930- }
6931- }
6932-}
6933-
6934-func (q *Kernel) transform_RGBA_YCbCr444_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
6935- // When shrinking, broaden the effective kernel support so that we still
6936- // visit every source pixel.
6937- xHalfWidth, xKernelArgScale := q.Support, 1.0
6938- if xscale > 1 {
6939- xHalfWidth *= xscale
6940- xKernelArgScale = 1 / xscale
6941- }
6942- yHalfWidth, yKernelArgScale := q.Support, 1.0
6943- if yscale > 1 {
6944- yHalfWidth *= yscale
6945- yKernelArgScale = 1 / yscale
6946- }
6947-
6948- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
6949- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
6950-
6951- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
6952- dyf := float64(dr.Min.Y+int(dy)) + 0.5
6953- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
6954- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
6955- dxf := float64(dr.Min.X+int(dx)) + 0.5
6956- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
6957- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
6958- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
6959- continue
6960- }
6961-
6962- // TODO: adjust the bias so that we can use int(f) instead
6963- // of math.Floor(f) and math.Ceil(f).
6964- sx += float64(bias.X)
6965- sx -= 0.5
6966- ix := int(math.Floor(sx - xHalfWidth))
6967- if ix < sr.Min.X {
6968- ix = sr.Min.X
6969- }
6970- jx := int(math.Ceil(sx + xHalfWidth))
6971- if jx > sr.Max.X {
6972- jx = sr.Max.X
6973- }
6974-
6975- totalXWeight := 0.0
6976- for kx := ix; kx < jx; kx++ {
6977- xWeight := 0.0
6978- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
6979- xWeight = q.At(t)
6980- }
6981- xWeights[kx-ix] = xWeight
6982- totalXWeight += xWeight
6983- }
6984- for x := range xWeights[:jx-ix] {
6985- xWeights[x] /= totalXWeight
6986- }
6987-
6988- sy += float64(bias.Y)
6989- sy -= 0.5
6990- iy := int(math.Floor(sy - yHalfWidth))
6991- if iy < sr.Min.Y {
6992- iy = sr.Min.Y
6993- }
6994- jy := int(math.Ceil(sy + yHalfWidth))
6995- if jy > sr.Max.Y {
6996- jy = sr.Max.Y
6997- }
6998-
6999- totalYWeight := 0.0
7000- for ky := iy; ky < jy; ky++ {
7001- yWeight := 0.0
7002- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7003- yWeight = q.At(t)
7004- }
7005- yWeights[ky-iy] = yWeight
7006- totalYWeight += yWeight
7007- }
7008- for y := range yWeights[:jy-iy] {
7009- yWeights[y] /= totalYWeight
7010- }
7011-
7012- var pr, pg, pb float64
7013- for ky := iy; ky < jy; ky++ {
7014- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7015- for kx := ix; kx < jx; kx++ {
7016- if w := xWeights[kx-ix] * yWeight; w != 0 {
7017- pi := (ky-src.Rect.Min.Y)*src.YStride + (kx - src.Rect.Min.X)
7018- pj := (ky-src.Rect.Min.Y)*src.CStride + (kx - src.Rect.Min.X)
7019-
7020- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
7021- pyy1 := int(src.Y[pi]) * 0x10101
7022- pcb1 := int(src.Cb[pj]) - 128
7023- pcr1 := int(src.Cr[pj]) - 128
7024- pru := (pyy1 + 91881*pcr1) >> 8
7025- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
7026- pbu := (pyy1 + 116130*pcb1) >> 8
7027- if pru < 0 {
7028- pru = 0
7029- } else if pru > 0xffff {
7030- pru = 0xffff
7031- }
7032- if pgu < 0 {
7033- pgu = 0
7034- } else if pgu > 0xffff {
7035- pgu = 0xffff
7036- }
7037- if pbu < 0 {
7038- pbu = 0
7039- } else if pbu > 0xffff {
7040- pbu = 0xffff
7041- }
7042-
7043- pr += float64(float64(pru) * w)
7044- pg += float64(float64(pgu) * w)
7045- pb += float64(float64(pbu) * w)
7046- }
7047- }
7048- }
7049- }
7050- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
7051- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
7052- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
7053- dst.Pix[d+3] = 0xff
7054- }
7055- }
7056-}
7057-
7058-func (q *Kernel) transform_RGBA_YCbCr422_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7059- // When shrinking, broaden the effective kernel support so that we still
7060- // visit every source pixel.
7061- xHalfWidth, xKernelArgScale := q.Support, 1.0
7062- if xscale > 1 {
7063- xHalfWidth *= xscale
7064- xKernelArgScale = 1 / xscale
7065- }
7066- yHalfWidth, yKernelArgScale := q.Support, 1.0
7067- if yscale > 1 {
7068- yHalfWidth *= yscale
7069- yKernelArgScale = 1 / yscale
7070- }
7071-
7072- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7073- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7074-
7075- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7076- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7077- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7078- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7079- dxf := float64(dr.Min.X+int(dx)) + 0.5
7080- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7081- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7082- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7083- continue
7084- }
7085-
7086- // TODO: adjust the bias so that we can use int(f) instead
7087- // of math.Floor(f) and math.Ceil(f).
7088- sx += float64(bias.X)
7089- sx -= 0.5
7090- ix := int(math.Floor(sx - xHalfWidth))
7091- if ix < sr.Min.X {
7092- ix = sr.Min.X
7093- }
7094- jx := int(math.Ceil(sx + xHalfWidth))
7095- if jx > sr.Max.X {
7096- jx = sr.Max.X
7097- }
7098-
7099- totalXWeight := 0.0
7100- for kx := ix; kx < jx; kx++ {
7101- xWeight := 0.0
7102- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7103- xWeight = q.At(t)
7104- }
7105- xWeights[kx-ix] = xWeight
7106- totalXWeight += xWeight
7107- }
7108- for x := range xWeights[:jx-ix] {
7109- xWeights[x] /= totalXWeight
7110- }
7111-
7112- sy += float64(bias.Y)
7113- sy -= 0.5
7114- iy := int(math.Floor(sy - yHalfWidth))
7115- if iy < sr.Min.Y {
7116- iy = sr.Min.Y
7117- }
7118- jy := int(math.Ceil(sy + yHalfWidth))
7119- if jy > sr.Max.Y {
7120- jy = sr.Max.Y
7121- }
7122-
7123- totalYWeight := 0.0
7124- for ky := iy; ky < jy; ky++ {
7125- yWeight := 0.0
7126- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7127- yWeight = q.At(t)
7128- }
7129- yWeights[ky-iy] = yWeight
7130- totalYWeight += yWeight
7131- }
7132- for y := range yWeights[:jy-iy] {
7133- yWeights[y] /= totalYWeight
7134- }
7135-
7136- var pr, pg, pb float64
7137- for ky := iy; ky < jy; ky++ {
7138- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7139- for kx := ix; kx < jx; kx++ {
7140- if w := xWeights[kx-ix] * yWeight; w != 0 {
7141- pi := (ky-src.Rect.Min.Y)*src.YStride + (kx - src.Rect.Min.X)
7142- pj := (ky-src.Rect.Min.Y)*src.CStride + ((kx)/2 - src.Rect.Min.X/2)
7143-
7144- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
7145- pyy1 := int(src.Y[pi]) * 0x10101
7146- pcb1 := int(src.Cb[pj]) - 128
7147- pcr1 := int(src.Cr[pj]) - 128
7148- pru := (pyy1 + 91881*pcr1) >> 8
7149- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
7150- pbu := (pyy1 + 116130*pcb1) >> 8
7151- if pru < 0 {
7152- pru = 0
7153- } else if pru > 0xffff {
7154- pru = 0xffff
7155- }
7156- if pgu < 0 {
7157- pgu = 0
7158- } else if pgu > 0xffff {
7159- pgu = 0xffff
7160- }
7161- if pbu < 0 {
7162- pbu = 0
7163- } else if pbu > 0xffff {
7164- pbu = 0xffff
7165- }
7166-
7167- pr += float64(float64(pru) * w)
7168- pg += float64(float64(pgu) * w)
7169- pb += float64(float64(pbu) * w)
7170- }
7171- }
7172- }
7173- }
7174- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
7175- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
7176- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
7177- dst.Pix[d+3] = 0xff
7178- }
7179- }
7180-}
7181-
7182-func (q *Kernel) transform_RGBA_YCbCr420_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7183- // When shrinking, broaden the effective kernel support so that we still
7184- // visit every source pixel.
7185- xHalfWidth, xKernelArgScale := q.Support, 1.0
7186- if xscale > 1 {
7187- xHalfWidth *= xscale
7188- xKernelArgScale = 1 / xscale
7189- }
7190- yHalfWidth, yKernelArgScale := q.Support, 1.0
7191- if yscale > 1 {
7192- yHalfWidth *= yscale
7193- yKernelArgScale = 1 / yscale
7194- }
7195-
7196- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7197- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7198-
7199- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7200- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7201- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7202- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7203- dxf := float64(dr.Min.X+int(dx)) + 0.5
7204- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7205- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7206- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7207- continue
7208- }
7209-
7210- // TODO: adjust the bias so that we can use int(f) instead
7211- // of math.Floor(f) and math.Ceil(f).
7212- sx += float64(bias.X)
7213- sx -= 0.5
7214- ix := int(math.Floor(sx - xHalfWidth))
7215- if ix < sr.Min.X {
7216- ix = sr.Min.X
7217- }
7218- jx := int(math.Ceil(sx + xHalfWidth))
7219- if jx > sr.Max.X {
7220- jx = sr.Max.X
7221- }
7222-
7223- totalXWeight := 0.0
7224- for kx := ix; kx < jx; kx++ {
7225- xWeight := 0.0
7226- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7227- xWeight = q.At(t)
7228- }
7229- xWeights[kx-ix] = xWeight
7230- totalXWeight += xWeight
7231- }
7232- for x := range xWeights[:jx-ix] {
7233- xWeights[x] /= totalXWeight
7234- }
7235-
7236- sy += float64(bias.Y)
7237- sy -= 0.5
7238- iy := int(math.Floor(sy - yHalfWidth))
7239- if iy < sr.Min.Y {
7240- iy = sr.Min.Y
7241- }
7242- jy := int(math.Ceil(sy + yHalfWidth))
7243- if jy > sr.Max.Y {
7244- jy = sr.Max.Y
7245- }
7246-
7247- totalYWeight := 0.0
7248- for ky := iy; ky < jy; ky++ {
7249- yWeight := 0.0
7250- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7251- yWeight = q.At(t)
7252- }
7253- yWeights[ky-iy] = yWeight
7254- totalYWeight += yWeight
7255- }
7256- for y := range yWeights[:jy-iy] {
7257- yWeights[y] /= totalYWeight
7258- }
7259-
7260- var pr, pg, pb float64
7261- for ky := iy; ky < jy; ky++ {
7262- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7263- for kx := ix; kx < jx; kx++ {
7264- if w := xWeights[kx-ix] * yWeight; w != 0 {
7265- pi := (ky-src.Rect.Min.Y)*src.YStride + (kx - src.Rect.Min.X)
7266- pj := ((ky)/2-src.Rect.Min.Y/2)*src.CStride + ((kx)/2 - src.Rect.Min.X/2)
7267-
7268- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
7269- pyy1 := int(src.Y[pi]) * 0x10101
7270- pcb1 := int(src.Cb[pj]) - 128
7271- pcr1 := int(src.Cr[pj]) - 128
7272- pru := (pyy1 + 91881*pcr1) >> 8
7273- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
7274- pbu := (pyy1 + 116130*pcb1) >> 8
7275- if pru < 0 {
7276- pru = 0
7277- } else if pru > 0xffff {
7278- pru = 0xffff
7279- }
7280- if pgu < 0 {
7281- pgu = 0
7282- } else if pgu > 0xffff {
7283- pgu = 0xffff
7284- }
7285- if pbu < 0 {
7286- pbu = 0
7287- } else if pbu > 0xffff {
7288- pbu = 0xffff
7289- }
7290-
7291- pr += float64(float64(pru) * w)
7292- pg += float64(float64(pgu) * w)
7293- pb += float64(float64(pbu) * w)
7294- }
7295- }
7296- }
7297- }
7298- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
7299- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
7300- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
7301- dst.Pix[d+3] = 0xff
7302- }
7303- }
7304-}
7305-
7306-func (q *Kernel) transform_RGBA_YCbCr440_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src *image.YCbCr, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7307- // When shrinking, broaden the effective kernel support so that we still
7308- // visit every source pixel.
7309- xHalfWidth, xKernelArgScale := q.Support, 1.0
7310- if xscale > 1 {
7311- xHalfWidth *= xscale
7312- xKernelArgScale = 1 / xscale
7313- }
7314- yHalfWidth, yKernelArgScale := q.Support, 1.0
7315- if yscale > 1 {
7316- yHalfWidth *= yscale
7317- yKernelArgScale = 1 / yscale
7318- }
7319-
7320- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7321- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7322-
7323- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7324- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7325- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7326- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7327- dxf := float64(dr.Min.X+int(dx)) + 0.5
7328- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7329- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7330- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7331- continue
7332- }
7333-
7334- // TODO: adjust the bias so that we can use int(f) instead
7335- // of math.Floor(f) and math.Ceil(f).
7336- sx += float64(bias.X)
7337- sx -= 0.5
7338- ix := int(math.Floor(sx - xHalfWidth))
7339- if ix < sr.Min.X {
7340- ix = sr.Min.X
7341- }
7342- jx := int(math.Ceil(sx + xHalfWidth))
7343- if jx > sr.Max.X {
7344- jx = sr.Max.X
7345- }
7346-
7347- totalXWeight := 0.0
7348- for kx := ix; kx < jx; kx++ {
7349- xWeight := 0.0
7350- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7351- xWeight = q.At(t)
7352- }
7353- xWeights[kx-ix] = xWeight
7354- totalXWeight += xWeight
7355- }
7356- for x := range xWeights[:jx-ix] {
7357- xWeights[x] /= totalXWeight
7358- }
7359-
7360- sy += float64(bias.Y)
7361- sy -= 0.5
7362- iy := int(math.Floor(sy - yHalfWidth))
7363- if iy < sr.Min.Y {
7364- iy = sr.Min.Y
7365- }
7366- jy := int(math.Ceil(sy + yHalfWidth))
7367- if jy > sr.Max.Y {
7368- jy = sr.Max.Y
7369- }
7370-
7371- totalYWeight := 0.0
7372- for ky := iy; ky < jy; ky++ {
7373- yWeight := 0.0
7374- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7375- yWeight = q.At(t)
7376- }
7377- yWeights[ky-iy] = yWeight
7378- totalYWeight += yWeight
7379- }
7380- for y := range yWeights[:jy-iy] {
7381- yWeights[y] /= totalYWeight
7382- }
7383-
7384- var pr, pg, pb float64
7385- for ky := iy; ky < jy; ky++ {
7386- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7387- for kx := ix; kx < jx; kx++ {
7388- if w := xWeights[kx-ix] * yWeight; w != 0 {
7389- pi := (ky-src.Rect.Min.Y)*src.YStride + (kx - src.Rect.Min.X)
7390- pj := ((ky)/2-src.Rect.Min.Y/2)*src.CStride + (kx - src.Rect.Min.X)
7391-
7392- // This is an inline version of image/color/ycbcr.go's YCbCr.RGBA method.
7393- pyy1 := int(src.Y[pi]) * 0x10101
7394- pcb1 := int(src.Cb[pj]) - 128
7395- pcr1 := int(src.Cr[pj]) - 128
7396- pru := (pyy1 + 91881*pcr1) >> 8
7397- pgu := (pyy1 - 22554*pcb1 - 46802*pcr1) >> 8
7398- pbu := (pyy1 + 116130*pcb1) >> 8
7399- if pru < 0 {
7400- pru = 0
7401- } else if pru > 0xffff {
7402- pru = 0xffff
7403- }
7404- if pgu < 0 {
7405- pgu = 0
7406- } else if pgu > 0xffff {
7407- pgu = 0xffff
7408- }
7409- if pbu < 0 {
7410- pbu = 0
7411- } else if pbu > 0xffff {
7412- pbu = 0xffff
7413- }
7414-
7415- pr += float64(float64(pru) * w)
7416- pg += float64(float64(pgu) * w)
7417- pb += float64(float64(pbu) * w)
7418- }
7419- }
7420- }
7421- }
7422- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
7423- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
7424- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
7425- dst.Pix[d+3] = 0xff
7426- }
7427- }
7428-}
7429-
7430-func (q *Kernel) transform_RGBA_RGBA64Image_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7431- // When shrinking, broaden the effective kernel support so that we still
7432- // visit every source pixel.
7433- xHalfWidth, xKernelArgScale := q.Support, 1.0
7434- if xscale > 1 {
7435- xHalfWidth *= xscale
7436- xKernelArgScale = 1 / xscale
7437- }
7438- yHalfWidth, yKernelArgScale := q.Support, 1.0
7439- if yscale > 1 {
7440- yHalfWidth *= yscale
7441- yKernelArgScale = 1 / yscale
7442- }
7443-
7444- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7445- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7446-
7447- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7448- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7449- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7450- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7451- dxf := float64(dr.Min.X+int(dx)) + 0.5
7452- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7453- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7454- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7455- continue
7456- }
7457-
7458- // TODO: adjust the bias so that we can use int(f) instead
7459- // of math.Floor(f) and math.Ceil(f).
7460- sx += float64(bias.X)
7461- sx -= 0.5
7462- ix := int(math.Floor(sx - xHalfWidth))
7463- if ix < sr.Min.X {
7464- ix = sr.Min.X
7465- }
7466- jx := int(math.Ceil(sx + xHalfWidth))
7467- if jx > sr.Max.X {
7468- jx = sr.Max.X
7469- }
7470-
7471- totalXWeight := 0.0
7472- for kx := ix; kx < jx; kx++ {
7473- xWeight := 0.0
7474- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7475- xWeight = q.At(t)
7476- }
7477- xWeights[kx-ix] = xWeight
7478- totalXWeight += xWeight
7479- }
7480- for x := range xWeights[:jx-ix] {
7481- xWeights[x] /= totalXWeight
7482- }
7483-
7484- sy += float64(bias.Y)
7485- sy -= 0.5
7486- iy := int(math.Floor(sy - yHalfWidth))
7487- if iy < sr.Min.Y {
7488- iy = sr.Min.Y
7489- }
7490- jy := int(math.Ceil(sy + yHalfWidth))
7491- if jy > sr.Max.Y {
7492- jy = sr.Max.Y
7493- }
7494-
7495- totalYWeight := 0.0
7496- for ky := iy; ky < jy; ky++ {
7497- yWeight := 0.0
7498- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7499- yWeight = q.At(t)
7500- }
7501- yWeights[ky-iy] = yWeight
7502- totalYWeight += yWeight
7503- }
7504- for y := range yWeights[:jy-iy] {
7505- yWeights[y] /= totalYWeight
7506- }
7507-
7508- var pr, pg, pb, pa float64
7509- for ky := iy; ky < jy; ky++ {
7510- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7511- for kx := ix; kx < jx; kx++ {
7512- if w := xWeights[kx-ix] * yWeight; w != 0 {
7513- pu := src.RGBA64At(kx, ky)
7514- pr += float64(float64(pu.R) * w)
7515- pg += float64(float64(pu.G) * w)
7516- pb += float64(float64(pu.B) * w)
7517- pa += float64(float64(pu.A) * w)
7518- }
7519- }
7520- }
7521- }
7522-
7523- if pr > pa {
7524- pr = pa
7525- }
7526- if pg > pa {
7527- pg = pa
7528- }
7529- if pb > pa {
7530- pb = pa
7531- }
7532-
7533- pr0 := uint32(fffftou(pr))
7534- pg0 := uint32(fffftou(pg))
7535- pb0 := uint32(fffftou(pb))
7536- pa0 := uint32(fffftou(pa))
7537- pa1 := (0xffff - uint32(pa0)) * 0x101
7538- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr0) >> 8)
7539- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg0) >> 8)
7540- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb0) >> 8)
7541- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa0) >> 8)
7542- }
7543- }
7544-}
7545-
7546-func (q *Kernel) transform_RGBA_RGBA64Image_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7547- // When shrinking, broaden the effective kernel support so that we still
7548- // visit every source pixel.
7549- xHalfWidth, xKernelArgScale := q.Support, 1.0
7550- if xscale > 1 {
7551- xHalfWidth *= xscale
7552- xKernelArgScale = 1 / xscale
7553- }
7554- yHalfWidth, yKernelArgScale := q.Support, 1.0
7555- if yscale > 1 {
7556- yHalfWidth *= yscale
7557- yKernelArgScale = 1 / yscale
7558- }
7559-
7560- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7561- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7562-
7563- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7564- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7565- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7566- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7567- dxf := float64(dr.Min.X+int(dx)) + 0.5
7568- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7569- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7570- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7571- continue
7572- }
7573-
7574- // TODO: adjust the bias so that we can use int(f) instead
7575- // of math.Floor(f) and math.Ceil(f).
7576- sx += float64(bias.X)
7577- sx -= 0.5
7578- ix := int(math.Floor(sx - xHalfWidth))
7579- if ix < sr.Min.X {
7580- ix = sr.Min.X
7581- }
7582- jx := int(math.Ceil(sx + xHalfWidth))
7583- if jx > sr.Max.X {
7584- jx = sr.Max.X
7585- }
7586-
7587- totalXWeight := 0.0
7588- for kx := ix; kx < jx; kx++ {
7589- xWeight := 0.0
7590- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7591- xWeight = q.At(t)
7592- }
7593- xWeights[kx-ix] = xWeight
7594- totalXWeight += xWeight
7595- }
7596- for x := range xWeights[:jx-ix] {
7597- xWeights[x] /= totalXWeight
7598- }
7599-
7600- sy += float64(bias.Y)
7601- sy -= 0.5
7602- iy := int(math.Floor(sy - yHalfWidth))
7603- if iy < sr.Min.Y {
7604- iy = sr.Min.Y
7605- }
7606- jy := int(math.Ceil(sy + yHalfWidth))
7607- if jy > sr.Max.Y {
7608- jy = sr.Max.Y
7609- }
7610-
7611- totalYWeight := 0.0
7612- for ky := iy; ky < jy; ky++ {
7613- yWeight := 0.0
7614- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7615- yWeight = q.At(t)
7616- }
7617- yWeights[ky-iy] = yWeight
7618- totalYWeight += yWeight
7619- }
7620- for y := range yWeights[:jy-iy] {
7621- yWeights[y] /= totalYWeight
7622- }
7623-
7624- var pr, pg, pb, pa float64
7625- for ky := iy; ky < jy; ky++ {
7626- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7627- for kx := ix; kx < jx; kx++ {
7628- if w := xWeights[kx-ix] * yWeight; w != 0 {
7629- pu := src.RGBA64At(kx, ky)
7630- pr += float64(float64(pu.R) * w)
7631- pg += float64(float64(pu.G) * w)
7632- pb += float64(float64(pu.B) * w)
7633- pa += float64(float64(pu.A) * w)
7634- }
7635- }
7636- }
7637- }
7638-
7639- if pr > pa {
7640- pr = pa
7641- }
7642- if pg > pa {
7643- pg = pa
7644- }
7645- if pb > pa {
7646- pb = pa
7647- }
7648-
7649- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
7650- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
7651- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
7652- dst.Pix[d+3] = uint8(fffftou(pa) >> 8)
7653- }
7654- }
7655-}
7656-
7657-func (q *Kernel) transform_RGBA_Image_Over(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7658- // When shrinking, broaden the effective kernel support so that we still
7659- // visit every source pixel.
7660- xHalfWidth, xKernelArgScale := q.Support, 1.0
7661- if xscale > 1 {
7662- xHalfWidth *= xscale
7663- xKernelArgScale = 1 / xscale
7664- }
7665- yHalfWidth, yKernelArgScale := q.Support, 1.0
7666- if yscale > 1 {
7667- yHalfWidth *= yscale
7668- yKernelArgScale = 1 / yscale
7669- }
7670-
7671- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7672- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7673-
7674- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7675- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7676- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7677- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7678- dxf := float64(dr.Min.X+int(dx)) + 0.5
7679- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7680- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7681- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7682- continue
7683- }
7684-
7685- // TODO: adjust the bias so that we can use int(f) instead
7686- // of math.Floor(f) and math.Ceil(f).
7687- sx += float64(bias.X)
7688- sx -= 0.5
7689- ix := int(math.Floor(sx - xHalfWidth))
7690- if ix < sr.Min.X {
7691- ix = sr.Min.X
7692- }
7693- jx := int(math.Ceil(sx + xHalfWidth))
7694- if jx > sr.Max.X {
7695- jx = sr.Max.X
7696- }
7697-
7698- totalXWeight := 0.0
7699- for kx := ix; kx < jx; kx++ {
7700- xWeight := 0.0
7701- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7702- xWeight = q.At(t)
7703- }
7704- xWeights[kx-ix] = xWeight
7705- totalXWeight += xWeight
7706- }
7707- for x := range xWeights[:jx-ix] {
7708- xWeights[x] /= totalXWeight
7709- }
7710-
7711- sy += float64(bias.Y)
7712- sy -= 0.5
7713- iy := int(math.Floor(sy - yHalfWidth))
7714- if iy < sr.Min.Y {
7715- iy = sr.Min.Y
7716- }
7717- jy := int(math.Ceil(sy + yHalfWidth))
7718- if jy > sr.Max.Y {
7719- jy = sr.Max.Y
7720- }
7721-
7722- totalYWeight := 0.0
7723- for ky := iy; ky < jy; ky++ {
7724- yWeight := 0.0
7725- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7726- yWeight = q.At(t)
7727- }
7728- yWeights[ky-iy] = yWeight
7729- totalYWeight += yWeight
7730- }
7731- for y := range yWeights[:jy-iy] {
7732- yWeights[y] /= totalYWeight
7733- }
7734-
7735- var pr, pg, pb, pa float64
7736- for ky := iy; ky < jy; ky++ {
7737- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7738- for kx := ix; kx < jx; kx++ {
7739- if w := xWeights[kx-ix] * yWeight; w != 0 {
7740- pru, pgu, pbu, pau := src.At(kx, ky).RGBA()
7741- pr += float64(float64(pru) * w)
7742- pg += float64(float64(pgu) * w)
7743- pb += float64(float64(pbu) * w)
7744- pa += float64(float64(pau) * w)
7745- }
7746- }
7747- }
7748- }
7749-
7750- if pr > pa {
7751- pr = pa
7752- }
7753- if pg > pa {
7754- pg = pa
7755- }
7756- if pb > pa {
7757- pb = pa
7758- }
7759-
7760- pr0 := uint32(fffftou(pr))
7761- pg0 := uint32(fffftou(pg))
7762- pb0 := uint32(fffftou(pb))
7763- pa0 := uint32(fffftou(pa))
7764- pa1 := (0xffff - uint32(pa0)) * 0x101
7765- dst.Pix[d+0] = uint8((uint32(dst.Pix[d+0])*pa1/0xffff + pr0) >> 8)
7766- dst.Pix[d+1] = uint8((uint32(dst.Pix[d+1])*pa1/0xffff + pg0) >> 8)
7767- dst.Pix[d+2] = uint8((uint32(dst.Pix[d+2])*pa1/0xffff + pb0) >> 8)
7768- dst.Pix[d+3] = uint8((uint32(dst.Pix[d+3])*pa1/0xffff + pa0) >> 8)
7769- }
7770- }
7771-}
7772-
7773-func (q *Kernel) transform_RGBA_Image_Src(dst *image.RGBA, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7774- // When shrinking, broaden the effective kernel support so that we still
7775- // visit every source pixel.
7776- xHalfWidth, xKernelArgScale := q.Support, 1.0
7777- if xscale > 1 {
7778- xHalfWidth *= xscale
7779- xKernelArgScale = 1 / xscale
7780- }
7781- yHalfWidth, yKernelArgScale := q.Support, 1.0
7782- if yscale > 1 {
7783- yHalfWidth *= yscale
7784- yKernelArgScale = 1 / yscale
7785- }
7786-
7787- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7788- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7789-
7790- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7791- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7792- d := (dr.Min.Y+int(dy)-dst.Rect.Min.Y)*dst.Stride + (dr.Min.X+adr.Min.X-dst.Rect.Min.X)*4
7793- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx, d = dx+1, d+4 {
7794- dxf := float64(dr.Min.X+int(dx)) + 0.5
7795- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7796- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7797- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7798- continue
7799- }
7800-
7801- // TODO: adjust the bias so that we can use int(f) instead
7802- // of math.Floor(f) and math.Ceil(f).
7803- sx += float64(bias.X)
7804- sx -= 0.5
7805- ix := int(math.Floor(sx - xHalfWidth))
7806- if ix < sr.Min.X {
7807- ix = sr.Min.X
7808- }
7809- jx := int(math.Ceil(sx + xHalfWidth))
7810- if jx > sr.Max.X {
7811- jx = sr.Max.X
7812- }
7813-
7814- totalXWeight := 0.0
7815- for kx := ix; kx < jx; kx++ {
7816- xWeight := 0.0
7817- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7818- xWeight = q.At(t)
7819- }
7820- xWeights[kx-ix] = xWeight
7821- totalXWeight += xWeight
7822- }
7823- for x := range xWeights[:jx-ix] {
7824- xWeights[x] /= totalXWeight
7825- }
7826-
7827- sy += float64(bias.Y)
7828- sy -= 0.5
7829- iy := int(math.Floor(sy - yHalfWidth))
7830- if iy < sr.Min.Y {
7831- iy = sr.Min.Y
7832- }
7833- jy := int(math.Ceil(sy + yHalfWidth))
7834- if jy > sr.Max.Y {
7835- jy = sr.Max.Y
7836- }
7837-
7838- totalYWeight := 0.0
7839- for ky := iy; ky < jy; ky++ {
7840- yWeight := 0.0
7841- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7842- yWeight = q.At(t)
7843- }
7844- yWeights[ky-iy] = yWeight
7845- totalYWeight += yWeight
7846- }
7847- for y := range yWeights[:jy-iy] {
7848- yWeights[y] /= totalYWeight
7849- }
7850-
7851- var pr, pg, pb, pa float64
7852- for ky := iy; ky < jy; ky++ {
7853- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7854- for kx := ix; kx < jx; kx++ {
7855- if w := xWeights[kx-ix] * yWeight; w != 0 {
7856- pru, pgu, pbu, pau := src.At(kx, ky).RGBA()
7857- pr += float64(float64(pru) * w)
7858- pg += float64(float64(pgu) * w)
7859- pb += float64(float64(pbu) * w)
7860- pa += float64(float64(pau) * w)
7861- }
7862- }
7863- }
7864- }
7865-
7866- if pr > pa {
7867- pr = pa
7868- }
7869- if pg > pa {
7870- pg = pa
7871- }
7872- if pb > pa {
7873- pb = pa
7874- }
7875-
7876- dst.Pix[d+0] = uint8(fffftou(pr) >> 8)
7877- dst.Pix[d+1] = uint8(fffftou(pg) >> 8)
7878- dst.Pix[d+2] = uint8(fffftou(pb) >> 8)
7879- dst.Pix[d+3] = uint8(fffftou(pa) >> 8)
7880- }
7881- }
7882-}
7883-
7884-func (q *Kernel) transform_RGBA64Image_RGBA64Image_Over(dst RGBA64Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
7885- // When shrinking, broaden the effective kernel support so that we still
7886- // visit every source pixel.
7887- xHalfWidth, xKernelArgScale := q.Support, 1.0
7888- if xscale > 1 {
7889- xHalfWidth *= xscale
7890- xKernelArgScale = 1 / xscale
7891- }
7892- yHalfWidth, yKernelArgScale := q.Support, 1.0
7893- if yscale > 1 {
7894- yHalfWidth *= yscale
7895- yKernelArgScale = 1 / yscale
7896- }
7897-
7898- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
7899- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
7900-
7901- srcMask, smp := opts.SrcMask, opts.SrcMaskP
7902- dstMask, dmp := opts.DstMask, opts.DstMaskP
7903- dstColorRGBA64 := color.RGBA64{}
7904-
7905- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
7906- dyf := float64(dr.Min.Y+int(dy)) + 0.5
7907- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
7908- dxf := float64(dr.Min.X+int(dx)) + 0.5
7909- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
7910- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
7911- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
7912- continue
7913- }
7914-
7915- // TODO: adjust the bias so that we can use int(f) instead
7916- // of math.Floor(f) and math.Ceil(f).
7917- sx += float64(bias.X)
7918- sx -= 0.5
7919- ix := int(math.Floor(sx - xHalfWidth))
7920- if ix < sr.Min.X {
7921- ix = sr.Min.X
7922- }
7923- jx := int(math.Ceil(sx + xHalfWidth))
7924- if jx > sr.Max.X {
7925- jx = sr.Max.X
7926- }
7927-
7928- totalXWeight := 0.0
7929- for kx := ix; kx < jx; kx++ {
7930- xWeight := 0.0
7931- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
7932- xWeight = q.At(t)
7933- }
7934- xWeights[kx-ix] = xWeight
7935- totalXWeight += xWeight
7936- }
7937- for x := range xWeights[:jx-ix] {
7938- xWeights[x] /= totalXWeight
7939- }
7940-
7941- sy += float64(bias.Y)
7942- sy -= 0.5
7943- iy := int(math.Floor(sy - yHalfWidth))
7944- if iy < sr.Min.Y {
7945- iy = sr.Min.Y
7946- }
7947- jy := int(math.Ceil(sy + yHalfWidth))
7948- if jy > sr.Max.Y {
7949- jy = sr.Max.Y
7950- }
7951-
7952- totalYWeight := 0.0
7953- for ky := iy; ky < jy; ky++ {
7954- yWeight := 0.0
7955- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
7956- yWeight = q.At(t)
7957- }
7958- yWeights[ky-iy] = yWeight
7959- totalYWeight += yWeight
7960- }
7961- for y := range yWeights[:jy-iy] {
7962- yWeights[y] /= totalYWeight
7963- }
7964-
7965- var pr, pg, pb, pa float64
7966- for ky := iy; ky < jy; ky++ {
7967- if yWeight := yWeights[ky-iy]; yWeight != 0 {
7968- for kx := ix; kx < jx; kx++ {
7969- if w := xWeights[kx-ix] * yWeight; w != 0 {
7970- pu := src.RGBA64At(kx, ky)
7971- if srcMask != nil {
7972- _, _, _, ma := srcMask.At(smp.X+kx, smp.Y+ky).RGBA()
7973- pu.R = uint16(uint32(pu.R) * ma / 0xffff)
7974- pu.G = uint16(uint32(pu.G) * ma / 0xffff)
7975- pu.B = uint16(uint32(pu.B) * ma / 0xffff)
7976- pu.A = uint16(uint32(pu.A) * ma / 0xffff)
7977- }
7978- pr += float64(float64(pu.R) * w)
7979- pg += float64(float64(pu.G) * w)
7980- pb += float64(float64(pu.B) * w)
7981- pa += float64(float64(pu.A) * w)
7982- }
7983- }
7984- }
7985- }
7986-
7987- if pr > pa {
7988- pr = pa
7989- }
7990- if pg > pa {
7991- pg = pa
7992- }
7993- if pb > pa {
7994- pb = pa
7995- }
7996-
7997- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
7998- pr0 := uint32(fffftou(pr))
7999- pg0 := uint32(fffftou(pg))
8000- pb0 := uint32(fffftou(pb))
8001- pa0 := uint32(fffftou(pa))
8002- if dstMask != nil {
8003- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
8004- pr0 = pr0 * ma / 0xffff
8005- pg0 = pg0 * ma / 0xffff
8006- pb0 = pb0 * ma / 0xffff
8007- pa0 = pa0 * ma / 0xffff
8008- }
8009- pa1 := 0xffff - pa0
8010- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + pr0)
8011- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + pg0)
8012- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + pb0)
8013- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + pa0)
8014- dst.SetRGBA64(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
8015- }
8016- }
8017-}
8018-
8019-func (q *Kernel) transform_RGBA64Image_RGBA64Image_Src(dst RGBA64Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.RGBA64Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
8020- // When shrinking, broaden the effective kernel support so that we still
8021- // visit every source pixel.
8022- xHalfWidth, xKernelArgScale := q.Support, 1.0
8023- if xscale > 1 {
8024- xHalfWidth *= xscale
8025- xKernelArgScale = 1 / xscale
8026- }
8027- yHalfWidth, yKernelArgScale := q.Support, 1.0
8028- if yscale > 1 {
8029- yHalfWidth *= yscale
8030- yKernelArgScale = 1 / yscale
8031- }
8032-
8033- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
8034- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
8035-
8036- srcMask, smp := opts.SrcMask, opts.SrcMaskP
8037- dstMask, dmp := opts.DstMask, opts.DstMaskP
8038- dstColorRGBA64 := color.RGBA64{}
8039-
8040- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
8041- dyf := float64(dr.Min.Y+int(dy)) + 0.5
8042- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
8043- dxf := float64(dr.Min.X+int(dx)) + 0.5
8044- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
8045- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
8046- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
8047- continue
8048- }
8049-
8050- // TODO: adjust the bias so that we can use int(f) instead
8051- // of math.Floor(f) and math.Ceil(f).
8052- sx += float64(bias.X)
8053- sx -= 0.5
8054- ix := int(math.Floor(sx - xHalfWidth))
8055- if ix < sr.Min.X {
8056- ix = sr.Min.X
8057- }
8058- jx := int(math.Ceil(sx + xHalfWidth))
8059- if jx > sr.Max.X {
8060- jx = sr.Max.X
8061- }
8062-
8063- totalXWeight := 0.0
8064- for kx := ix; kx < jx; kx++ {
8065- xWeight := 0.0
8066- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
8067- xWeight = q.At(t)
8068- }
8069- xWeights[kx-ix] = xWeight
8070- totalXWeight += xWeight
8071- }
8072- for x := range xWeights[:jx-ix] {
8073- xWeights[x] /= totalXWeight
8074- }
8075-
8076- sy += float64(bias.Y)
8077- sy -= 0.5
8078- iy := int(math.Floor(sy - yHalfWidth))
8079- if iy < sr.Min.Y {
8080- iy = sr.Min.Y
8081- }
8082- jy := int(math.Ceil(sy + yHalfWidth))
8083- if jy > sr.Max.Y {
8084- jy = sr.Max.Y
8085- }
8086-
8087- totalYWeight := 0.0
8088- for ky := iy; ky < jy; ky++ {
8089- yWeight := 0.0
8090- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
8091- yWeight = q.At(t)
8092- }
8093- yWeights[ky-iy] = yWeight
8094- totalYWeight += yWeight
8095- }
8096- for y := range yWeights[:jy-iy] {
8097- yWeights[y] /= totalYWeight
8098- }
8099-
8100- var pr, pg, pb, pa float64
8101- for ky := iy; ky < jy; ky++ {
8102- if yWeight := yWeights[ky-iy]; yWeight != 0 {
8103- for kx := ix; kx < jx; kx++ {
8104- if w := xWeights[kx-ix] * yWeight; w != 0 {
8105- pu := src.RGBA64At(kx, ky)
8106- if srcMask != nil {
8107- _, _, _, ma := srcMask.At(smp.X+kx, smp.Y+ky).RGBA()
8108- pu.R = uint16(uint32(pu.R) * ma / 0xffff)
8109- pu.G = uint16(uint32(pu.G) * ma / 0xffff)
8110- pu.B = uint16(uint32(pu.B) * ma / 0xffff)
8111- pu.A = uint16(uint32(pu.A) * ma / 0xffff)
8112- }
8113- pr += float64(float64(pu.R) * w)
8114- pg += float64(float64(pu.G) * w)
8115- pb += float64(float64(pu.B) * w)
8116- pa += float64(float64(pu.A) * w)
8117- }
8118- }
8119- }
8120- }
8121-
8122- if pr > pa {
8123- pr = pa
8124- }
8125- if pg > pa {
8126- pg = pa
8127- }
8128- if pb > pa {
8129- pb = pa
8130- }
8131-
8132- if dstMask != nil {
8133- q := dst.RGBA64At(dr.Min.X+int(dx), dr.Min.Y+int(dy))
8134- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
8135- pr := uint32(fffftou(pr)) * ma / 0xffff
8136- pg := uint32(fffftou(pg)) * ma / 0xffff
8137- pb := uint32(fffftou(pb)) * ma / 0xffff
8138- pa := uint32(fffftou(pa)) * ma / 0xffff
8139- pa1 := 0xffff - ma
8140- dstColorRGBA64.R = uint16(uint32(q.R)*pa1/0xffff + pr)
8141- dstColorRGBA64.G = uint16(uint32(q.G)*pa1/0xffff + pg)
8142- dstColorRGBA64.B = uint16(uint32(q.B)*pa1/0xffff + pb)
8143- dstColorRGBA64.A = uint16(uint32(q.A)*pa1/0xffff + pa)
8144- dst.SetRGBA64(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
8145- } else {
8146- dstColorRGBA64.R = fffftou(pr)
8147- dstColorRGBA64.G = fffftou(pg)
8148- dstColorRGBA64.B = fffftou(pb)
8149- dstColorRGBA64.A = fffftou(pa)
8150- dst.SetRGBA64(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColorRGBA64)
8151- }
8152- }
8153- }
8154-}
8155-
8156-func (q *Kernel) transform_Image_Image_Over(dst Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
8157- // When shrinking, broaden the effective kernel support so that we still
8158- // visit every source pixel.
8159- xHalfWidth, xKernelArgScale := q.Support, 1.0
8160- if xscale > 1 {
8161- xHalfWidth *= xscale
8162- xKernelArgScale = 1 / xscale
8163- }
8164- yHalfWidth, yKernelArgScale := q.Support, 1.0
8165- if yscale > 1 {
8166- yHalfWidth *= yscale
8167- yKernelArgScale = 1 / yscale
8168- }
8169-
8170- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
8171- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
8172-
8173- srcMask, smp := opts.SrcMask, opts.SrcMaskP
8174- dstMask, dmp := opts.DstMask, opts.DstMaskP
8175- dstColorRGBA64 := &color.RGBA64{}
8176- dstColor := color.Color(dstColorRGBA64)
8177- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
8178- dyf := float64(dr.Min.Y+int(dy)) + 0.5
8179- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
8180- dxf := float64(dr.Min.X+int(dx)) + 0.5
8181- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
8182- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
8183- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
8184- continue
8185- }
8186-
8187- // TODO: adjust the bias so that we can use int(f) instead
8188- // of math.Floor(f) and math.Ceil(f).
8189- sx += float64(bias.X)
8190- sx -= 0.5
8191- ix := int(math.Floor(sx - xHalfWidth))
8192- if ix < sr.Min.X {
8193- ix = sr.Min.X
8194- }
8195- jx := int(math.Ceil(sx + xHalfWidth))
8196- if jx > sr.Max.X {
8197- jx = sr.Max.X
8198- }
8199-
8200- totalXWeight := 0.0
8201- for kx := ix; kx < jx; kx++ {
8202- xWeight := 0.0
8203- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
8204- xWeight = q.At(t)
8205- }
8206- xWeights[kx-ix] = xWeight
8207- totalXWeight += xWeight
8208- }
8209- for x := range xWeights[:jx-ix] {
8210- xWeights[x] /= totalXWeight
8211- }
8212-
8213- sy += float64(bias.Y)
8214- sy -= 0.5
8215- iy := int(math.Floor(sy - yHalfWidth))
8216- if iy < sr.Min.Y {
8217- iy = sr.Min.Y
8218- }
8219- jy := int(math.Ceil(sy + yHalfWidth))
8220- if jy > sr.Max.Y {
8221- jy = sr.Max.Y
8222- }
8223-
8224- totalYWeight := 0.0
8225- for ky := iy; ky < jy; ky++ {
8226- yWeight := 0.0
8227- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
8228- yWeight = q.At(t)
8229- }
8230- yWeights[ky-iy] = yWeight
8231- totalYWeight += yWeight
8232- }
8233- for y := range yWeights[:jy-iy] {
8234- yWeights[y] /= totalYWeight
8235- }
8236-
8237- var pr, pg, pb, pa float64
8238- for ky := iy; ky < jy; ky++ {
8239- if yWeight := yWeights[ky-iy]; yWeight != 0 {
8240- for kx := ix; kx < jx; kx++ {
8241- if w := xWeights[kx-ix] * yWeight; w != 0 {
8242- pru, pgu, pbu, pau := src.At(kx, ky).RGBA()
8243- if srcMask != nil {
8244- _, _, _, ma := srcMask.At(smp.X+kx, smp.Y+ky).RGBA()
8245- pru = pru * ma / 0xffff
8246- pgu = pgu * ma / 0xffff
8247- pbu = pbu * ma / 0xffff
8248- pau = pau * ma / 0xffff
8249- }
8250- pr += float64(float64(pru) * w)
8251- pg += float64(float64(pgu) * w)
8252- pb += float64(float64(pbu) * w)
8253- pa += float64(float64(pau) * w)
8254- }
8255- }
8256- }
8257- }
8258-
8259- if pr > pa {
8260- pr = pa
8261- }
8262- if pg > pa {
8263- pg = pa
8264- }
8265- if pb > pa {
8266- pb = pa
8267- }
8268-
8269- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
8270- pr0 := uint32(fffftou(pr))
8271- pg0 := uint32(fffftou(pg))
8272- pb0 := uint32(fffftou(pb))
8273- pa0 := uint32(fffftou(pa))
8274- if dstMask != nil {
8275- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
8276- pr0 = pr0 * ma / 0xffff
8277- pg0 = pg0 * ma / 0xffff
8278- pb0 = pb0 * ma / 0xffff
8279- pa0 = pa0 * ma / 0xffff
8280- }
8281- pa1 := 0xffff - pa0
8282- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr0)
8283- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg0)
8284- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb0)
8285- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa0)
8286- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
8287- }
8288- }
8289-}
8290-
8291-func (q *Kernel) transform_Image_Image_Src(dst Image, dr, adr image.Rectangle, d2s *f64.Aff3, src image.Image, sr image.Rectangle, bias image.Point, xscale, yscale float64, opts *Options) {
8292- // When shrinking, broaden the effective kernel support so that we still
8293- // visit every source pixel.
8294- xHalfWidth, xKernelArgScale := q.Support, 1.0
8295- if xscale > 1 {
8296- xHalfWidth *= xscale
8297- xKernelArgScale = 1 / xscale
8298- }
8299- yHalfWidth, yKernelArgScale := q.Support, 1.0
8300- if yscale > 1 {
8301- yHalfWidth *= yscale
8302- yKernelArgScale = 1 / yscale
8303- }
8304-
8305- xWeights := make([]float64, 1+2*int(math.Ceil(xHalfWidth)))
8306- yWeights := make([]float64, 1+2*int(math.Ceil(yHalfWidth)))
8307-
8308- srcMask, smp := opts.SrcMask, opts.SrcMaskP
8309- dstMask, dmp := opts.DstMask, opts.DstMaskP
8310- dstColorRGBA64 := &color.RGBA64{}
8311- dstColor := color.Color(dstColorRGBA64)
8312- for dy := int32(adr.Min.Y); dy < int32(adr.Max.Y); dy++ {
8313- dyf := float64(dr.Min.Y+int(dy)) + 0.5
8314- for dx := int32(adr.Min.X); dx < int32(adr.Max.X); dx++ {
8315- dxf := float64(dr.Min.X+int(dx)) + 0.5
8316- sx := float64(d2s[0]*dxf) + float64(d2s[1]*dyf) + d2s[2]
8317- sy := float64(d2s[3]*dxf) + float64(d2s[4]*dyf) + d2s[5]
8318- if !(image.Point{int(sx) + bias.X, int(sy) + bias.Y}).In(sr) {
8319- continue
8320- }
8321-
8322- // TODO: adjust the bias so that we can use int(f) instead
8323- // of math.Floor(f) and math.Ceil(f).
8324- sx += float64(bias.X)
8325- sx -= 0.5
8326- ix := int(math.Floor(sx - xHalfWidth))
8327- if ix < sr.Min.X {
8328- ix = sr.Min.X
8329- }
8330- jx := int(math.Ceil(sx + xHalfWidth))
8331- if jx > sr.Max.X {
8332- jx = sr.Max.X
8333- }
8334-
8335- totalXWeight := 0.0
8336- for kx := ix; kx < jx; kx++ {
8337- xWeight := 0.0
8338- if t := abs((sx - float64(kx)) * xKernelArgScale); t < q.Support {
8339- xWeight = q.At(t)
8340- }
8341- xWeights[kx-ix] = xWeight
8342- totalXWeight += xWeight
8343- }
8344- for x := range xWeights[:jx-ix] {
8345- xWeights[x] /= totalXWeight
8346- }
8347-
8348- sy += float64(bias.Y)
8349- sy -= 0.5
8350- iy := int(math.Floor(sy - yHalfWidth))
8351- if iy < sr.Min.Y {
8352- iy = sr.Min.Y
8353- }
8354- jy := int(math.Ceil(sy + yHalfWidth))
8355- if jy > sr.Max.Y {
8356- jy = sr.Max.Y
8357- }
8358-
8359- totalYWeight := 0.0
8360- for ky := iy; ky < jy; ky++ {
8361- yWeight := 0.0
8362- if t := abs((sy - float64(ky)) * yKernelArgScale); t < q.Support {
8363- yWeight = q.At(t)
8364- }
8365- yWeights[ky-iy] = yWeight
8366- totalYWeight += yWeight
8367- }
8368- for y := range yWeights[:jy-iy] {
8369- yWeights[y] /= totalYWeight
8370- }
8371-
8372- var pr, pg, pb, pa float64
8373- for ky := iy; ky < jy; ky++ {
8374- if yWeight := yWeights[ky-iy]; yWeight != 0 {
8375- for kx := ix; kx < jx; kx++ {
8376- if w := xWeights[kx-ix] * yWeight; w != 0 {
8377- pru, pgu, pbu, pau := src.At(kx, ky).RGBA()
8378- if srcMask != nil {
8379- _, _, _, ma := srcMask.At(smp.X+kx, smp.Y+ky).RGBA()
8380- pru = pru * ma / 0xffff
8381- pgu = pgu * ma / 0xffff
8382- pbu = pbu * ma / 0xffff
8383- pau = pau * ma / 0xffff
8384- }
8385- pr += float64(float64(pru) * w)
8386- pg += float64(float64(pgu) * w)
8387- pb += float64(float64(pbu) * w)
8388- pa += float64(float64(pau) * w)
8389- }
8390- }
8391- }
8392- }
8393-
8394- if pr > pa {
8395- pr = pa
8396- }
8397- if pg > pa {
8398- pg = pa
8399- }
8400- if pb > pa {
8401- pb = pa
8402- }
8403-
8404- if dstMask != nil {
8405- qr, qg, qb, qa := dst.At(dr.Min.X+int(dx), dr.Min.Y+int(dy)).RGBA()
8406- _, _, _, ma := dstMask.At(dmp.X+dr.Min.X+int(dx), dmp.Y+dr.Min.Y+int(dy)).RGBA()
8407- pr := uint32(fffftou(pr)) * ma / 0xffff
8408- pg := uint32(fffftou(pg)) * ma / 0xffff
8409- pb := uint32(fffftou(pb)) * ma / 0xffff
8410- pa := uint32(fffftou(pa)) * ma / 0xffff
8411- pa1 := 0xffff - ma
8412- dstColorRGBA64.R = uint16(qr*pa1/0xffff + pr)
8413- dstColorRGBA64.G = uint16(qg*pa1/0xffff + pg)
8414- dstColorRGBA64.B = uint16(qb*pa1/0xffff + pb)
8415- dstColorRGBA64.A = uint16(qa*pa1/0xffff + pa)
8416- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
8417- } else {
8418- dstColorRGBA64.R = fffftou(pr)
8419- dstColorRGBA64.G = fffftou(pg)
8420- dstColorRGBA64.B = fffftou(pb)
8421- dstColorRGBA64.A = fffftou(pa)
8422- dst.Set(dr.Min.X+int(dx), dr.Min.Y+int(dy), dstColor)
8423- }
8424- }
8425- }
8426-}
D vendor/golang.org/x/image/draw/scale.go +0 -525 collapsed to keep the page light
D vendor/golang.org/x/image/math/f64/f64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/mod/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/mod/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/print.go +0 -184 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/read.go +0 -962 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/rule.go +0 -1951 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/work.go +0 -333 collapsed to keep the page light
D vendor/golang.org/x/mod/module/module.go +0 -840 collapsed to keep the page light
D vendor/golang.org/x/mod/module/pseudo.go +0 -250 collapsed to keep the page light
D vendor/golang.org/x/mod/semver/semver.go +0 -407 collapsed to keep the page light
D vendor/golang.org/x/net/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/net/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/atom.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/table.go +0 -785 collapsed to keep the page light
D vendor/golang.org/x/net/html/const.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/net/html/doc.go +0 -122 collapsed to keep the page light
D vendor/golang.org/x/net/html/doctype.go +0 -156 collapsed to keep the page light
D vendor/golang.org/x/net/html/entity.go +0 -2252 collapsed to keep the page light
D vendor/golang.org/x/net/html/escape.go +0 -379 collapsed to keep the page light
D vendor/golang.org/x/net/html/foreign.go +0 -221 collapsed to keep the page light
D vendor/golang.org/x/net/html/iter.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/net/html/node.go +0 -230 collapsed to keep the page light
D vendor/golang.org/x/net/html/nodetype_string.go +0 -31 collapsed to keep the page light
D vendor/golang.org/x/net/html/parse.go +0 -2378 collapsed to keep the page light
D vendor/golang.org/x/net/html/render.go +0 -316 collapsed to keep the page light
D vendor/golang.org/x/net/html/token.go +0 -1322 collapsed to keep the page light
D vendor/golang.org/x/net/idna/idna.go +0 -880 collapsed to keep the page light
D vendor/golang.org/x/net/idna/punycode.go +0 -220 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables15.0.0.go +0 -5144 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables17.0.0.go +0 -5302 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trie.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trieval.go +0 -119 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff

binary file: no text diff

D vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff

binary file: no text diff

D vendor/golang.org/x/net/publicsuffix/data/text +0 -1 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/list.go +0 -210 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/table.go +0 -70 collapsed to keep the page light
D vendor/golang.org/x/sync/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sync/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sync/errgroup/errgroup.go +0 -151 collapsed to keep the page light
D vendor/golang.org/x/sys/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/.gitignore +0 -2 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/README.md +0 -184 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/affinity_linux.go +0 -189 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/aliases.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +0 -17 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_386.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_arm.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_386.s +0 -65 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_amd64.s +0 -57 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_arm.s +0 -56 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_arm64.s +0 -50 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_loong64.s +0 -51 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +0 -54 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +0 -52 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +0 -42 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +0 -47 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_s390x.s +0 -54 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +0 -17 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_zos_s390x.s +0 -382 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/auxv.go +0 -36 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/auxv_unsupported.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/bluetooth_linux.go +0 -36 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/bpxsvc_zos.go +0 -657 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/bpxsvc_zos.s +0 -192 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/cap_freebsd.go +0 -195 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/constants.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_aix_ppc.go +0 -26 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +0 -28 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_darwin.go +0 -24 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_dragonfly.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_freebsd.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_linux.go +0 -42 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_netbsd.go +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_openbsd.go +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_zos.go +0 -28 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dirent.go +0 -102 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/endian_big.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/endian_little.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/env_unix.go +0 -31 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fcntl.go +0 -36 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fcntl_darwin.go +0 -24 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fdset.go +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/gccgo.go +0 -59 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/gccgo_c.c +0 -44 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ifreq_linux.go +0 -139 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_linux.go +0 -334 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_signed.go +0 -74 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_unsigned.go +0 -74 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_zos.go +0 -71 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mkall.sh +0 -250 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mkerrors.sh +0 -814 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mmap_nomremap.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mremap.go +0 -57 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/pagesize_unix.go +0 -15 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/pledge_openbsd.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ptrace_darwin.go +0 -11 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ptrace_ios.go +0 -11 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/race.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/race0.go +0 -25 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/readdirent_getdents.go +0 -12 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +0 -19 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/readv_unix.go +0 -103 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +0 -16 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_linux.go +0 -85 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_unix.go +0 -106 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +0 -46 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_zos.go +0 -58 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +0 -75 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall.go +0 -86 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_aix.go +0 -582 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +0 -52 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +0 -83 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_bsd.go +0 -609 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin.go +0 -711 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +0 -50 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +0 -50 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +0 -26 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_dragonfly.go +0 -359 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +0 -56 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd.go +0 -455 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +0 -64 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +0 -64 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +0 -60 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +0 -60 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +0 -60 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_hurd.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_hurd_386.go +0 -28 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_illumos.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux.go +0 -2574 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_386.go +0 -313 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +0 -12 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +0 -144 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +0 -12 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_arm.go +0 -218 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +0 -188 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gc.go +0 -14 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +0 -16 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +0 -220 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +0 -187 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +0 -173 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +0 -203 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +0 -114 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +0 -193 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +0 -295 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd.go +0 -388 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd.go +0 -346 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +0 -26 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +0 -39 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_solaris.go +0 -1183 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_unix.go +0 -619 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_unix_gc.go +0 -14 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +0 -3213 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sysvshm_linux.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sysvshm_unix.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/timestruct.go +0 -76 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/unveil_openbsd.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/vgetrandom_linux.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +0 -11 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/xattr_bsd.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +0 -1384 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +0 -1385 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +0 -1922 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +0 -1922 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +0 -1737 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +0 -2042 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +0 -2039 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +0 -2033 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +0 -2033 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +0 -2147 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux.go +0 -4207 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_386.go +0 -883 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +0 -883 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +0 -888 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +0 -885 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +0 -875 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +0 -941 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +0 -945 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +0 -945 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +0 -885 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +0 -944 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +0 -987 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +0 -1779 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +0 -1769 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +0 -1758 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +0 -1769 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +0 -1904 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +0 -1903 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +0 -1556 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +0 -990 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +0 -40 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +0 -17 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +0 -49 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +0 -49 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +0 -79 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +0 -364 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +0 -1461 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +0 -1420 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +0 -1188 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +0 -1069 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +0 -2728 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +0 -799 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +0 -2728 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +0 -799 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +0 -1666 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +0 -101 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux.go +0 -2267 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +0 -469 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +0 -584 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +0 -535 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +0 -469 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +0 -630 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +0 -619 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +0 -641 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +0 -687 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +0 -687 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +0 -531 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +0 -478 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +0 -631 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +0 -862 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +0 -2217 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +0 -3458 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +0 -281 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +0 -439 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +0 -437 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +0 -316 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +0 -470 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +0 -394 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +0 -434 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +0 -337 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +0 -334 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +0 -454 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +0 -384 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +0 -384 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +0 -454 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +0 -461 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +0 -433 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +0 -433 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +0 -338 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +0 -399 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +0 -413 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +0 -219 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +0 -219 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +0 -219 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +0 -218 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +0 -221 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +0 -217 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +0 -218 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +0 -2852 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +0 -353 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +0 -357 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +0 -878 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +0 -878 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +0 -473 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +0 -651 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +0 -656 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +0 -642 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +0 -638 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux.go +0 -6475 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_386.go +0 -717 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +0 -731 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +0 -711 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +0 -710 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +0 -711 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +0 -716 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +0 -713 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +0 -713 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +0 -716 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +0 -724 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +0 -798 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +0 -733 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +0 -714 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +0 -585 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +0 -593 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +0 -590 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +0 -593 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +0 -575 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +0 -570 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +0 -570 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +0 -516 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +0 -552 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/aliases.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/dll_windows.go +0 -380 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/env_windows.go +0 -57 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/eventlog.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/exec_windows.go +0 -248 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/memory_windows.go +0 -48 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/mkerrors.bash +0 -70 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/mkknownfolderids.bash +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/mksyscall.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/race.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/race0.go +0 -25 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/security_windows.go +0 -1537 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/service.go +0 -257 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/setupapi_windows.go +0 -1425 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/str.go +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/syscall.go +0 -104 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/syscall_windows.go +0 -1952 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows.go +0 -4057 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_386.go +0 -35 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_amd64.go +0 -34 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_arm.go +0 -35 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_arm64.go +0 -34 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/zerrors_windows.go +0 -9468 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +0 -149 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/zsyscall_windows.go +0 -4828 collapsed to keep the page light
D vendor/golang.org/x/text/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/text/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/encoding.go +0 -335 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/internal/identifier/identifier.go +0 -81 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/internal/identifier/mib.go +0 -1627 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/internal/internal.go +0 -75 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/unicode/override.go +0 -82 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/unicode/unicode.go +0 -512 collapsed to keep the page light
D vendor/golang.org/x/text/internal/utf8internal/utf8internal.go +0 -87 collapsed to keep the page light
D vendor/golang.org/x/text/runes/cond.go +0 -187 collapsed to keep the page light
D vendor/golang.org/x/text/runes/runes.go +0 -355 collapsed to keep the page light
D vendor/golang.org/x/text/secure/bidirule/bidirule.go +0 -340 collapsed to keep the page light
D vendor/golang.org/x/text/transform/transform.go +0 -709 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/bidi.go +0 -359 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/bracket.go +0 -335 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/core.go +0 -1064 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/prop.go +0 -206 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +0 -2042 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/tables17.0.0.go +0 -2135 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/trieval.go +0 -48 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/composition.go +0 -512 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/forminfo.go +0 -296 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/input.go +0 -109 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/iter.go +0 -454 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/normalize.go +0 -610 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/readwriter.go +0 -125 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +0 -7907 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/tables17.0.0.go +0 -8104 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/transform.go +0 -88 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/trie.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/tools/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/tools/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/enclosing.go +0 -663 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/imports.go +0 -487 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/rewrite.go +0 -490 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/util.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/edge/edge.go +0 -299 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/cursor.go +0 -551 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/inspector.go +0 -311 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/iter.go +0 -113 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/typeof.go +0 -227 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/walk.go +0 -341 collapsed to keep the page light
D vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go +0 -236 collapsed to keep the page light
D vendor/golang.org/x/tools/go/gcexportdata/importer.go +0 -75 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/doc.go +0 -253 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/external.go +0 -153 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/golist.go +0 -1126 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/golist_overlay.go +0 -83 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/loadmode_string.go +0 -56 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/packages.go +0 -1605 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/visit.go +0 -133 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/objectpath/objectpath.go +0 -945 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/callee.go +0 -86 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/imports.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/map.go +0 -459 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go +0 -71 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/ui.go +0 -53 collapsed to keep the page light
D vendor/golang.org/x/tools/imports/forward.go +0 -77 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/aliases/aliases.go +0 -18 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/core/event.go +0 -95 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/core/export.go +0 -67 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/core/fast.go +0 -77 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/doc.go +0 -7 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/event.go +0 -127 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/keys/keys.go +0 -237 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/keys/standard.go +0 -22 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/keys/util.go +0 -21 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/label/label.go +0 -203 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/bimport.go +0 -89 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/exportdata.go +0 -421 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/gcimporter.go +0 -108 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/iexport.go +0 -1605 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/iimport.go +0 -1122 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/predeclared.go +0 -91 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/support.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/ureader.go +0 -813 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/invoke.go +0 -567 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/vendor.go +0 -163 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/version.go +0 -75 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gopathwalk/walk.go +0 -336 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/fix.go +0 -1893 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/imports.go +0 -363 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/mod.go +0 -841 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/mod_cache.go +0 -331 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/sortimports.go +0 -313 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/source.go +0 -63 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/source_env.go +0 -129 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/packagesinternal/packages.go +0 -23 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/codes.go +0 -77 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/decoder.go +0 -519 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/doc.go +0 -32 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/encoder.go +0 -392 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/flags.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/reloc.go +0 -42 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/support.go +0 -17 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/sync.go +0 -136 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/syncmarker_string.go +0 -92 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/pkgbits/version.go +0 -102 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/stdlib/deps.go +0 -549 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/stdlib/import.go +0 -97 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/stdlib/manifest.go +0 -18613 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/stdlib/stdlib.go +0 -105 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typeparams/common.go +0 -68 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typeparams/coretype.go +0 -157 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typeparams/free.go +0 -129 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typeparams/normalize.go +0 -216 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typeparams/termlist.go +0 -169 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typeparams/typeterm.go +0 -172 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/classify_call.go +0 -137 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/element.go +0 -137 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/errorcode.go +0 -1560 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/errorcode_string.go +0 -179 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/fx.go +0 -88 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/isnamed.go +0 -71 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/qualifier.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/recv.go +0 -44 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/toonew.go +0 -89 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/types.go +0 -272 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/varkind.go +0 -23 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/varkind_go124.go +0 -39 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go +0 -381 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/versions/features.go +0 -49 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/versions/gover.go +0 -172 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/versions/types.go +0 -33 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/versions/versions.go +0 -57 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/LICENSE +0 -50 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/NOTICE +0 -13 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/README.md +0 -150 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/apic.go +0 -747 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/decode.go +0 -1000 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/emitterc.go +0 -2020 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/encode.go +0 -577 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/parserc.go +0 -1258 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/readerc.go +0 -434 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/resolve.go +0 -326 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/scannerc.go +0 -3038 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/sorter.go +0 -134 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/writerc.go +0 -48 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/yaml.go +0 -698 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/yamlh.go +0 -807 collapsed to keep the page light
D vendor/gopkg.in/yaml.v3/yamlprivateh.go +0 -198 collapsed to keep the page light
D vendor/modules.txt +0 -381 collapsed to keep the page light

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close