Searched refs:convfunc (Results 1 – 2 of 2) sorted by relevance
/third_party/astc-encoder/Source/ |
D | astcenccli_image_load_store.cpp | 304 #define COPY_R(dsttype, srctype, convfunc, oneval) \ in copy_scanline() argument 310 d[4 * i ] = convfunc(s[i]); \ in copy_scanline() 318 #define COPY_RG(dsttype, srctype, convfunc, oneval) \ in copy_scanline() argument 324 d[4 * i ] = convfunc(s[2 * i ]); \ in copy_scanline() 325 d[4 * i + 1] = convfunc(s[2 * i + 1]); \ in copy_scanline() 332 #define COPY_RGB(dsttype, srctype, convfunc, oneval) \ in copy_scanline() argument 338 d[4 * i ] = convfunc(s[3 * i ]); \ in copy_scanline() 339 d[4 * i + 1] = convfunc(s[3 * i + 1]); \ in copy_scanline() 340 d[4 * i + 2] = convfunc(s[3 * i + 2]); \ in copy_scanline() 346 #define COPY_BGR(dsttype, srctype, convfunc, oneval) \ in copy_scanline() argument [all …]
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 7611 #define PRIMITIVE_OP(type, wt, name, convfunc, ctype) \ in run_decoder_vm() argument 7615 upb_sink_put ## name(d->top->sink, arg, (convfunc)(val)); \ in run_decoder_vm()
|