Home
last modified time | relevance | path

Searched refs:GET_BIT (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/libwebp/extras/
Dquality_estimate.c41 #define GET_BIT(n) GetBit(data, (n), size, &bit_pos) macro
42 #define CONDITIONAL_SKIP(n) (GET_BIT(1) ? GET_BIT((n)) : 0)
76 GET_BIT(2); // colorspace + clamp type in VP8EstimateQuality()
79 if (GET_BIT(1)) { // use_segment_ in VP8EstimateQuality()
81 const int update_map = GET_BIT(1); in VP8EstimateQuality()
82 if (GET_BIT(1)) { // update data in VP8EstimateQuality()
83 const int absolute_delta = GET_BIT(1); in VP8EstimateQuality()
86 if (GET_BIT(1)) { in VP8EstimateQuality()
87 q[s] = GET_BIT(7); in VP8EstimateQuality()
88 if (GET_BIT(1)) q[s] = -q[s]; // sign in VP8EstimateQuality()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/extras/
Dquality_estimate.c41 #define GET_BIT(n) GetBit(data, (n), size, &bit_pos) macro
42 #define CONDITIONAL_SKIP(n) (GET_BIT(1) ? GET_BIT((n)) : 0)
76 GET_BIT(2); // colorspace + clamp type in VP8EstimateQuality()
79 if (GET_BIT(1)) { // use_segment_ in VP8EstimateQuality()
81 const int update_map = GET_BIT(1); in VP8EstimateQuality()
82 if (GET_BIT(1)) { // update data in VP8EstimateQuality()
83 const int absolute_delta = GET_BIT(1); in VP8EstimateQuality()
86 if (GET_BIT(1)) { in VP8EstimateQuality()
87 q[s] = GET_BIT(7); in VP8EstimateQuality()
88 if (GET_BIT(1)) q[s] = -q[s]; // sign in VP8EstimateQuality()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c122 ret |= GET_BIT(mask, swz) << chan; in swizzle_mask()
172 if (!GET_BIT(old_mask, i) in rewrite_writemask()
298 tmp.Negate |= GET_BIT(srcreg.Negate, swz) << i; in lmul_swizzle()
689 if (!GET_BIT(old_mask, old_idx)) in rc_make_conversion_swizzle()
692 if (GET_BIT(new_mask, new_idx)) { in rc_make_conversion_swizzle()
730 if(GET_BIT(negate, chan)){ in rc_get_constant_value()
Dradeon_pair_translate.c288 pair->Alpha.DepthWriteMask |= GET_BIT(inst->DstReg.WriteMask, 3); in set_pair_instruction()
297 GET_BIT(inst->DstReg.WriteMask, 3); in set_pair_instruction()
309 pair->Alpha.WriteMask |= (GET_BIT(inst->DstReg.WriteMask, 3) << 3); in set_pair_instruction()
Dradeon_dataflow_swizzles.c69 if (!GET_BIT(split.Phase[phase], chan)) in rewrite_source()
92 GET_BIT(usemask, chan) ? chan : RC_SWIZZLE_UNUSED); in rewrite_source()
Dradeon_program_constants.h121 #define GET_BIT(msk, idx) (((msk) >> (idx)) & 0x1) macro
Dradeon_dataflow_deadcode.c190 if (GET_BIT(newsrcmask, chan)) in update_instruction()
357 if (!GET_BIT(srcmasks[src], chan)) in rc_dataflow_deadcode()
Dr500_fragprog.c251 if (swz == RC_SWIZZLE_UNUSED || !GET_BIT(usemask, i)) in r500_swizzle_split()
253 negatebase[GET_BIT(src.Negate, i)] |= 1 << i; in r500_swizzle_split()
Dr300_fragprog_swizzle.c167 if (!GET_BIT(mask, comp)) in r300_swizzle_split()
Dradeon_optimize.c214 *pnegate = GET_BIT(src.Negate, chan); in is_src_uniform_constant()
217 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) { in is_src_uniform_constant()
Dradeon_program_print.c191 if (GET_BIT(negate, comp)) in rc_print_swizzle()
Dradeon_dataflow.c308 if (GET_BIT(mask, chan)) in mask_to_chan_cb()
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/
Ddecompress.c70 #define GET_BIT(lll,uuu) \ macro
95 GET_BIT(label2, zj); \
268 GET_BIT(BZ_X_MAPPING_1, uc); in BZ2_decompress()
279 GET_BIT(BZ_X_MAPPING_2, uc); in BZ2_decompress()
294 GET_BIT(BZ_X_SELECTOR_3, uc); in BZ2_decompress()
322 GET_BIT(BZ_X_CODING_2, uc); in BZ2_decompress()
324 GET_BIT(BZ_X_CODING_3, uc); in BZ2_decompress()
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/
Ddecompress.c70 #define GET_BIT(lll,uuu) \ macro
95 GET_BIT(label2, zj); \
268 GET_BIT(BZ_X_MAPPING_1, uc); in BZ2_decompress()
279 GET_BIT(BZ_X_MAPPING_2, uc); in BZ2_decompress()
294 GET_BIT(BZ_X_SELECTOR_3, uc); in BZ2_decompress()
328 GET_BIT(BZ_X_CODING_2, uc); in BZ2_decompress()
330 GET_BIT(BZ_X_CODING_3, uc); in BZ2_decompress()
/third_party/bzip2/
Ddecompress.c70 #define GET_BIT(lll,uuu) \ macro
95 GET_BIT(label2, zj); \
268 GET_BIT(BZ_X_MAPPING_1, uc); in BZ2_decompress()
279 GET_BIT(BZ_X_MAPPING_2, uc); in BZ2_decompress()
294 GET_BIT(BZ_X_SELECTOR_3, uc); in BZ2_decompress()
328 GET_BIT(BZ_X_CODING_2, uc); in BZ2_decompress()
330 GET_BIT(BZ_X_CODING_3, uc); in BZ2_decompress()
/third_party/mesa3d/src/mesa/program/
Dprog_instruction.h61 #define GET_BIT(msk, idx) (((msk) >> (idx)) & 0x1) macro
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c205 GET_BIT(source->Negate, 0), in src_vector()
206 GET_BIT(source->Negate, 1), in src_vector()
207 GET_BIT(source->Negate, 2), in src_vector()
208 GET_BIT(source->Negate, 3)); in src_vector()