/third_party/ffmpeg/libavfilter/ |
H A D | vf_histeq.c | 64 int LUT[256]; ///< lookup table derived from histogram[] member 169 histeq->LUT[0] = histeq->in_histogram[0]; in filter_frame() 172 histeq->LUT[x] = histeq->LUT[x-1] + histeq->in_histogram[x]; in filter_frame() 176 histeq->LUT[x] = (histeq->LUT[x] * intensity) / (inlink->h * inlink->w); in filter_frame() 178 /* Adjust the LUT based on the selected strength. This is an alpha in filter_frame() 179 mix of the calculated LUT and a linear LUT with gain 1. */ in filter_frame() 181 histeq->LUT[ in filter_frame() [all...] |
H A D | vf_morpho.c | 63 typedef struct LUT { struct 74 } LUT; typedef 105 LUT Ty[2][4]; 261 static int alloc_lut(LUT *Ty, chord_set *SE, int type_size, int mode) in alloc_lut() 297 static void free_lut(LUT *table) in free_lut() 320 static int alloc_lut_if_necessary(LUT *Ty, IPlane *f, chord_set *SE, in alloc_lut_if_necessary() 343 static void circular_swap(LUT *Ty) in circular_swap() 359 static void compute_min_row(IPlane *f, LUT *Ty, chord_set *SE, int r, int y) in compute_min_row() 380 static void update_min_lut(IPlane *f, LUT *Ty, chord_set *SE, int y, int tid, int num) in update_min_lut() 388 static int compute_min_lut(LUT *T [all...] |
/third_party/node/deps/brotli/c/common/ |
H A D | context.h | 110 /* typeof(LUT) == ContextLut */ 111 #define BROTLI_CONTEXT(P1, P2, LUT) ((LUT)[P1] | ((LUT) + 256)[P2])
|
/third_party/skia/third_party/externals/brotli/c/common/ |
H A D | context.h | 110 /* typeof(LUT) == ContextLut */ 111 #define BROTLI_CONTEXT(P1, P2, LUT) ((LUT)[P1] | ((LUT) + 256)[P2])
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | StringExtras.h | 66 static const char *const LUT = "0123456789ABCDEF"; in toHex() local 73 Output.push_back(LUT[c >> 4]); in toHex() 74 Output.push_back(LUT[c & 15]); in toHex()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/ |
H A D | intrinsic_table.go | 120 matcherIndices lut.LUT 121 openTypes lut.LUT 122 openNumbers lut.LUT 123 parameters lut.LUT 124 overloads lut.LUT
|
/third_party/ffmpeg/libavcodec/ |
H A D | vble.c | 49 static const uint8_t LUT[256] = { in vble_unpack() local 67 val = LUT[val]; in vble_unpack()
|
H A D | nellymoserenc.c | 204 #define find_best(val, table, LUT, LUT_add, LUT_size) \ 206 LUT[av_clip ((lrintf(val) >> 8) + LUT_add, 0, LUT_size - 1)]; \
|
/third_party/skia/third_party/externals/tint/tools/src/lut/ |
H A D | lut.go | 24 // LUT is a look up table. 26 type LUT interface { type 45 func New(storage list.List) LUT { 55 // lut implements LUT 57 storage list.List // The List that backs this LUT 58 sequences []sequence // The entries in the LUT
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelRoutine.cpp | 2668 Pointer<Byte> LUT = constants + OFFSET(Constants,sRGBtoLinear12_16); in sRGBtoLinear16_12_16() local 2674 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 0))), 0); in sRGBtoLinear16_12_16() 2675 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 1))), 1); in sRGBtoLinear16_12_16() 2676 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 2))), 2); in sRGBtoLinear16_12_16() 2677 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 3))), 3); in sRGBtoLinear16_12_16() 2679 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 0))), 0); in sRGBtoLinear16_12_16() 2680 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 1))), 1); in sRGBtoLinear16_12_16() 2681 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 2))), 2); in sRGBtoLinear16_12_16() 2682 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 3))), 3); in sRGBtoLinear16_12_16() 2684 c.z = Insert(c.z, *Pointer<Short>(LUT in sRGBtoLinear16_12_16() 2701 Pointer<Byte> LUT = constants + OFFSET(Constants,linearToSRGB12_16); linearToSRGB12_16() local [all...] |
H A D | SamplerCore.cpp | 2536 Pointer<Byte> LUT = Pointer<Byte>(constants + OFFSET(Constants,sRGBtoLinear8_16)); in sRGBtoLinear16_8_16() local 2538 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 0))), 0); in sRGBtoLinear16_8_16() 2539 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 1))), 1); in sRGBtoLinear16_8_16() 2540 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 2))), 2); in sRGBtoLinear16_8_16() 2541 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 3))), 3); in sRGBtoLinear16_8_16() 2548 Pointer<Byte> LUT = Pointer<Byte>(constants + OFFSET(Constants,sRGBtoLinear6_16)); in sRGBtoLinear16_6_16() local 2550 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 0))), 0); in sRGBtoLinear16_6_16() 2551 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 1))), 1); in sRGBtoLinear16_6_16() 2552 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 2))), 2); in sRGBtoLinear16_6_16() 2553 c = Insert(c, *Pointer<Short>(LUT in sRGBtoLinear16_6_16() 2560 Pointer<Byte> LUT = Pointer<Byte>(constants + OFFSET(Constants,sRGBtoLinear5_16)); sRGBtoLinear16_5_16() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | StringExtras.h | 142 static const char *const LUT = "0123456789ABCDEF"; in toHex() local 150 Output.push_back(LUT[c >> 4] | Offset); in toHex() 151 Output.push_back(LUT[c & 15] | Offset); in toHex()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelRoutine.cpp | 3217 Pointer<Byte> LUT = constants + OFFSET(Constants, sRGBtoLinear12_16); in sRGBtoLinear16_12_16() local 3223 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 0))), 0); in sRGBtoLinear16_12_16() 3224 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 1))), 1); in sRGBtoLinear16_12_16() 3225 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 2))), 2); in sRGBtoLinear16_12_16() 3226 c.x = Insert(c.x, *Pointer<Short>(LUT + 2 * Int(Extract(c.x, 3))), 3); in sRGBtoLinear16_12_16() 3228 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 0))), 0); in sRGBtoLinear16_12_16() 3229 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 1))), 1); in sRGBtoLinear16_12_16() 3230 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 2))), 2); in sRGBtoLinear16_12_16() 3231 c.y = Insert(c.y, *Pointer<Short>(LUT + 2 * Int(Extract(c.y, 3))), 3); in sRGBtoLinear16_12_16() 3233 c.z = Insert(c.z, *Pointer<Short>(LUT in sRGBtoLinear16_12_16() 3250 Pointer<Byte> LUT = constants + OFFSET(Constants, linearToSRGB12_16); linearToSRGB12_16() local [all...] |
H A D | SamplerCore.cpp | 2497 Pointer<Byte> LUT = Pointer<Byte>(constants + OFFSET(Constants, sRGBtoLinearFF_FF00)); in sRGBtoLinearFF00() local 2499 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 0))), 0); in sRGBtoLinearFF00() 2500 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 1))), 1); in sRGBtoLinearFF00() 2501 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 2))), 2); in sRGBtoLinearFF00() 2502 c = Insert(c, *Pointer<Short>(LUT + 2 * Int(Extract(c, 3))), 3); in sRGBtoLinearFF00()
|
/third_party/backends/backend/ |
H A D | coolscan.c | 664 /* FIXME: LUT-[RGB] */ in coolscan_set_window_param_LS20() 1132 send_one_LUT (Coolscan_t * s, SANE_Word * LUT, int reg) in send_one_LUT() argument 1140 DBG (10, "send LUT\n"); in send_one_LUT() 1162 if (LUT[i] > 255) in send_one_LUT() 1163 LUT[i] = 255; /* broken gtk */ in send_one_LUT() 1164 *gamma_p++ = (unsigned char) LUT[i]; in send_one_LUT() 1173 lutval=(unsigned short)(LUT[(s->lutlength-i)]); in send_one_LUT() 1177 lutval=(unsigned short)(LUT[i]); in send_one_LUT() 1179 if (LUT[i] >= s->max_lut_val) in send_one_LUT() 1180 LUT[ in send_one_LUT() [all...] |
H A D | epsonds.c | 78 static unsigned char LUT[][256] = variable 3032 cmd[pos++] = LUT[s->hw->lut_id][count]; in sane_start() 3051 cmd[pos++] = LUT[0][count]; in sane_start()
|
/third_party/ffmpeg/libavutil/x86/ |
H A D | tx_float.asm | 96 ; %3 - GPR of LUT (int32_t indices) address 97 ; %4 - LUT offset
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 25527 const int LUT[16] = {/* 0 */ 4, /* 1 */ 3, /* 2 */ 2, /* 3 */ 2, 25534 LUTVec.push_back(DAG.getConstant(LUT[i % 16], DL, MVT::i8)); 25538 // into lo/hi nibbles and use the PSHUFB LUT to perform CLTZ on each of them. [all...] |