/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderOperatorTests.cpp | 826 #define DECLARE_UNARY_GENTYPE_FUNCS(FUNC_NAME) \ 827 void eval_##FUNC_NAME##_float (ShaderEvalContext& c) { c.color.x() = FUNC_NAME(c.in[0].swizzle(2)).x(); } \ 828 void eval_##FUNC_NAME##_vec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1)); } \ 829 void eval_##FUNC_NAME##_vec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1)); } \ 830 void eval_##FUNC_NAME##_vec4 (ShaderEvalContext& c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0)); } 832 #define DECLARE_BINARY_GENTYPE_FUNCS(FUNC_NAME) \ [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderOperatorTests.cpp | 829 #define DECLARE_UNARY_GENTYPE_FUNCS(FUNC_NAME) \ 830 void eval_##FUNC_NAME##_float (ShaderEvalContext& c) { c.color.x() = FUNC_NAME(c.in[0].swizzle(2)).x(); } \ 831 void eval_##FUNC_NAME##_vec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1)); } \ 832 void eval_##FUNC_NAME##_vec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1)); } \ 833 void eval_##FUNC_NAME##_vec4 (ShaderEvalContext& c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0)); } 835 #define DECLARE_BINARY_GENTYPE_FUNCS(FUNC_NAME) \ [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 70 #define DEFINE_VEC_FLOAT_FUNCTION(FUNC_NAME, SCALAR_OP_NAME) \ 72 inline Vector<float, Size> FUNC_NAME (const Vector<float, Size>& v, float s) \ 80 #define DEFINE_FLOAT_VEC_FUNCTION(FUNC_NAME, SCALAR_OP_NAME) \ 82 inline Vector<float, Size> FUNC_NAME (float s, const Vector<float, Size>& v) \ 90 #define DEFINE_VEC_VEC_FLOAT_FUNCTION(FUNC_NAME, SCALAR_OP_NAME) \ 92 inline Vector<float, Size> FUNC_NAME (const Vector<float, Size>& v0, const Vector<float, Size>& v1, float s) \ 100 #define DEFINE_VEC_FLOAT_FLOAT_FUNCTION(FUNC_NAME, SCALAR_OP_NAME) \ 102 inline Vector<float, Size> FUNC_NAME (const Vector<float, Size>& v, float s0, float s1) \ 110 #define DEFINE_FLOAT_FLOAT_VEC_FUNCTION(FUNC_NAME, SCALAR_OP_NAME) \ 112 inline Vector<float, Size> FUNC_NAME (floa [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 1113 #define DECLARE_UNARY_GENTYPE_FUNCS(FUNC_NAME) \ 1114 void eval_##FUNC_NAME##_float (ShaderEvalContext& c) { c.color.x() = FUNC_NAME(c.in[0].swizzle(2)).x(); } \ 1115 void eval_##FUNC_NAME##_vec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1)); } \ 1116 void eval_##FUNC_NAME##_vec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1)); } \ 1117 void eval_##FUNC_NAME##_vec4 (ShaderEvalContext& c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0)); } 1119 #define DECLARE_BINARY_GENTYPE_FUNCS(FUNC_NAME) \ [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | upsampling.c | 37 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ 38 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bottom_y, \ 138 #define DUAL_SAMPLE_FUNC(FUNC_NAME, FUNC) \ 139 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bot_y, \ 180 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ 181 extern void FUNC_NAME(const uint8_t* y, const uint8_t* u, const uint8_t* v, \ 183 void FUNC_NAME(const uint8_t* y, const uint8_t* u, const uint8_t* v, \
|
H A D | yuv_mips_dsp_r2.c | 71 #define ROW_FUNC(FUNC_NAME, XSTEP, R, G, B, A) \ 72 static void FUNC_NAME(const uint8_t* y, \
|
H A D | upsampling_mips_dsp_r2.c | 145 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ 146 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bottom_y, \ 243 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ 244 static void FUNC_NAME(const uint8_t* y, const uint8_t* u, const uint8_t* v, \
|
H A D | upsampling_sse2.c | 116 #define SSE2_UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ 117 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bottom_y, \ 217 #define YUV444_FUNC(FUNC_NAME, CALL, CALL_C, XSTEP) \ 220 static void FUNC_NAME(const uint8_t* y, const uint8_t* u, const uint8_t* v, \
|
H A D | upsampling_sse41.c | 118 #define SSE4_UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ 119 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bottom_y, \ 204 #define YUV444_FUNC(FUNC_NAME, CALL, CALL_C, XSTEP) \ 207 static void FUNC_NAME(const uint8_t* y, const uint8_t* u, const uint8_t* v, \
|
H A D | yuv_mips32.c | 24 #define ROW_FUNC(FUNC_NAME, XSTEP, R, G, B, A) \ 25 static void FUNC_NAME(const uint8_t* y, \
|
H A D | yuv.c | 22 #define ROW_FUNC(FUNC_NAME, FUNC, XSTEP) \ 23 static void FUNC_NAME(const uint8_t* y, \
|
H A D | msa_macro.h | 72 #define MSA_LOAD_FUNC(TYPE, INSTR, FUNC_NAME) \ 73 static inline TYPE FUNC_NAME(const void* const psrc) { \ 83 #define MSA_LOAD(psrc, FUNC_NAME) FUNC_NAME(psrc) 85 #define MSA_STORE_FUNC(TYPE, INSTR, FUNC_NAME) \ 86 static inline void FUNC_NAME(TYPE val, void* const pdst) { \ 95 #define MSA_STORE(val, pdst, FUNC_NAME) FUNC_NAME(val, pdst)
|
H A D | lossless_mips_dsp_r2.c | 22 #define MAP_COLOR_FUNCS(FUNC_NAME, TYPE, GET_INDEX, GET_VALUE) \ 23 static void FUNC_NAME(const TYPE* src, \
|
H A D | upsampling_neon.c | 192 #define NEON_UPSAMPLE_FUNC(FUNC_NAME, FMT, XSTEP) \ 193 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bottom_y, \
|
H A D | lossless.c | 329 #define COLOR_INDEX_INVERSE(FUNC_NAME, F_NAME, STATIC_DECL, TYPE, BIT_SUFFIX, \ 341 STATIC_DECL void FUNC_NAME(const VP8LTransform* const transform, \
|
H A D | upsampling_msa.c | 566 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ 567 static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bot_y, \
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | scene_sad_init.c | 23 #define SCENE_SAD_FUNC(FUNC_NAME, ASM_FUNC_NAME, MMSIZE) \ 26 static void FUNC_NAME(SCENE_SAD_PARAMS) { \
|
/third_party/python/Lib/test/ |
H A D | _testcppext.cpp | 252 #define FUNC_NAME(NAME) _FUNC_NAME(NAME) macro 255 FUNC_NAME(NAME)(void) in NAME()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuVectorUtil.hpp | 400 #define TCU_DECLARE_VECTOR_UNARY_FUNC(FUNC_NAME, OP_NAME) \ 402 Vector<T, Size> FUNC_NAME (const Vector<T, Size>& v) \ 410 #define TCU_DECLARE_VECTOR_BINARY_FUNC(FUNC_NAME, OP_NAME) \ 412 Vector<T, Size> FUNC_NAME (const Vector<T, Size>& a, const Vector<T, Size>& b) \ 420 #define TCU_DECLARE_VECTOR_TERNARY_FUNC(FUNC_NAME, OP_NAME) \ 422 Vector<T, Size> FUNC_NAME (const Vector<T, Size>& a, const Vector<T, Size>& b, const Vector<T, Size>& c) \
|
/third_party/ffmpeg/libavcodec/ |
H A D | cbs_mpeg2.c | 37 #define FUNC_NAME(rw, codec, name) cbs_ ## codec ## _ ## rw ## _ ## name macro 38 #define FUNC_MPEG2(rw, name) FUNC_NAME(rw, mpeg2, name)
|
H A D | cbs_vp9.c | 248 #define FUNC_NAME(rw, codec, name) cbs_ ## codec ## _ ## rw ## _ ## name macro 249 #define FUNC_VP9(rw, name) FUNC_NAME(rw, vp9, name)
|
H A D | cbs_av1.c | 543 #define FUNC_NAME(rw, codec, name) cbs_ ## codec ## _ ## rw ## _ ## name macro 544 #define FUNC_AV1(rw, name) FUNC_NAME(rw, av1, name)
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrFragmentOperations.cpp | 377 #define SWITCH_SRC_OR_DST_FACTOR_RGB(FUNC_NAME, FACTOR_NAME) \ in executeBlendFactorComputeRGB() 378 switch (blendRGBState.FUNC_NAME) \ in executeBlendFactorComputeRGB() 428 #define SWITCH_SRC_OR_DST_FACTOR_A(FUNC_NAME, FACTOR_NAME) \ in executeBlendFactorComputeA() 429 switch (blendAState.FUNC_NAME) \ in executeBlendFactorComputeA()
|