Home
last modified time | relevance | path

Searched refs:g (Results 1 – 12 of 12) sorted by relevance

/CTR-SDK-4.2.8-20130828/include/nn/util/
Dutil_Color.h79 g(static_cast<u8>(green)), in Color8()
137 nn::math::Min(this->g + right.g, ELEMENT_MAX),
155 nn::math::Max(this->g - right.g, ELEMENT_MIN),
173 this->g * right.g / ELEMENT_MAX,
191 (this->g < right.g) ? this->g * ELEMENT_MAX / right.g : ELEMENT_MAX,
207 if (g < ELEMENT_MAX) { g++; }
223 if (g < ELEMENT_MAX) { g++; }
238 if (g > ELEMENT_MIN) { g--; }
254 if (g > ELEMENT_MIN) { g--; }
350 nn::math::Min(this->g + right.g, ELEMENT_MAX),
[all …]
/CTR-SDK-4.2.8-20130828/include/nn/gx/CTR/
Dgx_MacroCommon.h68 GLubyte g; member
73 #define PICA_CMD_DATA_COLOR_RGB8( r, g, b ) \ argument
74 ( r | g << 8 | b << 16 )
76 #define PICA_CMD_DATA_COLOR_RGBA8( r, g, b, a ) \ argument
77 ( r | g << 8 | b << 16 | a << 24 )
Dgx_MacroFragment.h67 ( (color.b) | (color.g) << 10 | (color.r) << 20 )
78 ( (color.b) | (color.g) << 10 | (color.r) << 20 )
Dgx_MacroMisc.h265 ( (color8.r) | (color8.g) << 8 | (color8.b) << 16 )
272 ( (color8.r) | (color8.g) << 8 | (color8.b) << 16 )
657 ( (color8.r) | (color8.g) << 8 | (color8.b) << 16 | (color8.a) << 24 )
Dgx_MacroTexture.h331 ( (color8.r) | (color8.g) << 8 | (color8.b) << 16 | (color8.a) << 24 )
986 (color8.g) << 8 | \
Dgx_MacroOld.h593 ( (color.b) | (color.g) << 10 | (color.r) << 20 )
/CTR-SDK-4.2.8-20130828/sources/libraries/gr/CTR/
Dgr_Shader.cpp532 for( s32 g = 0; g < exe_info->outMapCount; ++g ) in MakeOutAttrCommand_() local
535 if ( ( outmapInfo[ g ].type >= 0 ) && in MakeOutAttrCommand_()
536 ( outmapInfo[ g ].type < 9 ) && in MakeOutAttrCommand_()
537 ( outmapInfo[ g ].type != 7 ) ) in MakeOutAttrCommand_()
543 ( vtxOutmapInfo[ g ].type < 9 ) && in MakeOutAttrCommand_()
544 ( vtxOutmapInfo[ g ].type != 7 ) ) in MakeOutAttrCommand_()
546 if ( outmapInfo[ g ].type == vtxOutmapInfo[ v ].type ) in MakeOutAttrCommand_()
549 … outmap_buffer[ outMapBufferCount ].type = outmapInfo[ g ].type; in MakeOutAttrCommand_()
551 … outmap_buffer[ outMapBufferCount ].mask = outmapInfo[ g ].mask; in MakeOutAttrCommand_()
552 gs_copy_mask |= 1 << g; in MakeOutAttrCommand_()
[all …]
Dgr_ShaderLite.cpp595 for( s32 g = 0; g < exe_info->outMapCount; ++g ) in MakeOutAttrCommand_() local
598 if ( ( outmapInfo[ g ].type >= 0 ) && in MakeOutAttrCommand_()
599 ( outmapInfo[ g ].type < 9 ) && in MakeOutAttrCommand_()
600 ( outmapInfo[ g ].type != 7 ) ) in MakeOutAttrCommand_()
606 ( vtxOutmapInfo[ g ].type < 9 ) && in MakeOutAttrCommand_()
607 ( vtxOutmapInfo[ g ].type != 7 ) ) in MakeOutAttrCommand_()
609 if ( outmapInfo[ g ].type == vtxOutmapInfo[ v ].type ) in MakeOutAttrCommand_()
612 … outmap_buffer[ outMapBufferCount ].type = outmapInfo[ g ].type; in MakeOutAttrCommand_()
614 … outmap_buffer[ outMapBufferCount ].mask = outmapInfo[ g ].mask; in MakeOutAttrCommand_()
615 gs_copy_mask |= 1 << g; in MakeOutAttrCommand_()
[all …]
/CTR-SDK-4.2.8-20130828/include/
Dzlib.h1661 # define nncxZlib_gzgetc(g) \ argument
1662 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
1664 # define gzgetc(g) \ argument
1665 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
/CTR-SDK-4.2.8-20130828/sources/libraries/dbg/CTR/
Ddbg_DirectPrint.cpp290 data[ 1 ] = src.g; in ConvertColorFormat()
297 data[ 1 ] =( src.r & 0xf0 ) | ( src.g >> 4 ); in ConvertColorFormat()
302 … data[ 0 ] = ( ( src.a & 0x80 ) >> 7 ) | ( ( src.b & 0xf8 ) >> 2 ) | ( ( src.g & 0x3 ) << 6 ); in ConvertColorFormat()
303 data[ 1 ] = ( ( src.g & 0x38 ) >> 3 ) | ( src.r & 0xf8 ); in ConvertColorFormat()
308 data[ 0 ] = ( ( src.g & 0x1c ) << 5 ) | ( src.b >> 3 ); in ConvertColorFormat()
309 data[ 1 ] = ( ( src.r & 0xf8 ) | ( ( src.g & 0xe0 ) >> 5 ) ); in ConvertColorFormat()
/CTR-SDK-4.2.8-20130828/sources/libraries/rdt/CTR/
Drdt_ResendQueue.cpp278 Segment e, f, g; in Test() local
286 CU_ASSERT(r.Push(g)); in Test()
/CTR-SDK-4.2.8-20130828/resources/icon/PlayCoin/3Dmodel/obj/
Dplaycoin.obj4 g default
7278 g PlayCoin