Home
last modified time | relevance | path

Searched refs:s16 (Results 1 – 25 of 45) sorted by relevance

12

/CTR-SDK-4.2.5/include/nn/hid/CTR/
Dhid_AnalogStickClamper.h29 const s16 DEFAULT_THRESHOLD_OF_NORMALIZE_STICK = 141;
34 const s16 MIN_OF_STICK_CLAMP_MODE_CIRCLE = 40;
39 const s16 MIN_OF_STICK_CLAMP_MODE_CROSS = 36;
44 const s16 LIMIT_OF_STICK_CLAMP_MAX = 145;
62 void SetStickClamp(s16 min, s16 max);
63 void SetStickClampFree(s16 min, s16 max);
64 void GetStickClamp(s16* pMin, s16* pMax) const;
67 f32 NormalizeStick(s16 x);
68 void NormalizeStickWithScale( f32* normalized_x, f32* normalized_y, s16 x, s16 y );
69 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold );
[all …]
Dhid_ExtraPadReader.h150 void SetStickClamp(s16 min, s16 max);
160 void GetStickClamp(s16* pMin, s16* pMax) const;
190 f32 NormalizeStick(s16 x);
204 void NormalizeStickWithScale( f32* normalized_x, f32* normalized_y, s16 x, s16 y );
220 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold );
229 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
255 void SetExtraStickClamp(s16 min, s16 max);
265 void GetExtraStickClamp(s16* pMin, s16* pMax) const;
295 f32 NormalizeExtraStick(s16 x);
309 void NormalizeExtraStickWithScale( f32* normalized_x, f32* normalized_y, s16 x, s16 y );
[all …]
Dhid_AccelerometerReader.h41 const s16 MAX_OF_ACCELEROMETER_VALUE = 930;
47 const s16 ACCELEROMETER_VALUE_PER_1G = 512;
54 const s16 MAX_OF_ACCELEROMETER_PLAY = MAX_OF_ACCELEROMETER_VALUE * 2;
56 const s16 ACCELEROMETER_SENSITIVITY_SCALE_SHIFT = 7;
62 const s16 MAX_OF_ACCELEROMETER_SENSITIVITY = 128; // 1 << ACCELEROMETER_SENSITIVIT…
144 void GetSensitivity(s16* pPlay, s16* pSensitivity) const;
156 void SetSensitivity(s16 play, s16 sensitivity);
277 void SetOffset(s16 x, s16 y,s16 z);
297 void GetOffset(s16* pX, s16* pY, s16*pZ) const;
343 s16 m_Play;
[all …]
Dhid_PadReader.h145 void SetStickClamp(s16 min, s16 max);
154 void GetStickClamp(s16* pMin, s16* pMax) const;
183 f32 NormalizeStick(s16 x);
197 void NormalizeStickWithScale( f32* normalized_x, f32* normalized_y, s16 x, s16 y );
213 void SetNormalizeStickScaleSettings( f32 scale, s16 threshold );
222 void GetNormalizeStickScaleSettings( f32* scale, s16* threshold ) const;
251 inline void PadReader::GetStickClamp(s16* pMin, s16* pMax) const in GetStickClamp()
Dhid_DeviceStatus.h118 s16 x;
120 s16 y;
161 s16 x;
163 s16 y;
165 s16 z;
/CTR-SDK-4.2.5/include/nn/camera/CTR/
Dcamera_Api.h45 …void SetReceiving( nn::os::Event* pEvent, u32 pDst, Port port, size_t imageSize, s16 transferUnit …
47 void SetTransferLines( Port port, s16 lines, s16 width, s16 height );
48 s16 GetMaxLines( s16 width, s16 height );
49 void SetTransferBytes( Port port, size_t bytes, s16 width, s16 height );
51 size_t GetMaxBytes( s16 width, s16 height );
54 void SetTrimmingParams( Port port, s16 xStart, s16 yStart, s16 xEnd, s16 yEnd );
55 void GetTrimmingParams( s16* pXStart, s16* pYStart, s16* pXEnd, s16* pYEnd, Port port );
56 …void SetTrimmingParamsCenter( Port port, s16 trimWidth, s16 trimHeight, s16 camWidth, s16 camHeigh…
68 …::Result SetDetailSize( CameraSelect select, s16 width, s16 height, s16 cropX0, s16 cropY0, s16 cr…
76 …nn::Result SetAutoExposureWindow( CameraSelect select, s16 startX, s16 startY, s16 width, s16 heig…
[all …]
Dcamera_CalibrationTypes.h86 s16 imageWidth;
89 s16 imageHeight;
111 s16 aeBaseTarget; // 0xA24F
112 s16 kRL; // 0xA366
113 s16 kGL; // 0xA367
114 s16 kBL; // 0xA368
115 s16 ccmPosition; // 0xA353
Dcamera_Camera.h120 … nn::Handle dstProcess, u32 pDst, nn::camera::CTR::Port port, size_t imageSize, s16 transferUnit );
122 …static nn::Result SetTransferLines( nn::camera::CTR::Port port, s16 lines, s16 width, s16 height );
123 static nn::Result GetMaxLines( s16* pLines, s16 width, s16 height );
124 …tic nn::Result SetTransferBytes( nn::camera::CTR::Port port, size_t bytes, s16 width, s16 height );
126 static nn::Result GetMaxBytes( size_t* pBytes, s16 width, s16 height );
129 …nn::Result SetTrimmingParams( nn::camera::CTR::Port port, s16 xStart, s16 yStart, s16 xEnd, s16 yE…
130 …static nn::Result GetTrimmingParams( s16* pXStart, s16* pYStart, s16* pXEnd, s16* pYEnd, nn::camer…
131 …etTrimmingParamsCenter( nn::camera::CTR::Port port, s16 trimWidth, s16 trimHeight, s16 camWidth, s…
143 …lSize( nn::camera::CTR::CameraSelect camera, s16 width, s16 height, s16 cropX0, s16 cropY0, s16 cr…
151 …utoExposureWindow( nn::camera::CTR::CameraSelect camera, s16 startX, s16 startY, s16 width, s16 he…
[all …]
Dcamera_Types.h256 s16 autoExposureWindowStartX; //
257 s16 autoExposureWindowStartY; //
258 s16 autoExposureWindowWidth; //
259 s16 autoExposureWindowHeight; //
260 s16 autoWhiteBalanceWindowStartX; //
261 s16 autoWhiteBalanceWindowStartY; //
262 s16 autoWhiteBalanceWindowWidth; //
263 s16 autoWhiteBalanceWindowHeight; //
291 s16 width; //
292 s16 height; //
[all …]
/CTR-SDK-4.2.5/include/nn/y2r/CTR/
Dy2r_Api.h52 void SetSendingY( u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferStride );
53 void SetSendingU( u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferStride );
54 void SetSendingV( u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferStride );
55 void SetSendingYuv( u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferStride );
60 void SetReceiving( u32 pDst, size_t imageSize, s16 transferUnit, s16 transferStride );
62 void SetInputLineWidth( s16 width );
63 s16 GetInputLineWidth( void );
64 void SetInputLines( s16 lines );
65 s16 GetInputLines( void );
67 size_t GetOutputBlockSize( s16 lineWidth, OutputFormat format );
[all …]
Dy2r_Y2r.h112 …t SetSendingY( nn::Handle srcProcess, u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferSt…
113 …t SetSendingU( nn::Handle srcProcess, u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferSt…
114 …t SetSendingV( nn::Handle srcProcess, u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferSt…
115 …SetSendingYuv( nn::Handle srcProcess, u32 pSrc, size_t imageSize, s16 transferUnit, s16 transferSt…
120 … SetReceiving( nn::Handle dstProcess, u32 pDst, size_t imageSize, s16 transferUnit, s16 transferSt…
122 static nn::Result SetInputLineWidth( s16 width );
123 static nn::Result GetInputLineWidth( s16* pWidth );
124 static nn::Result SetInputLines( s16 lines );
125 static nn::Result GetInputLines( s16* pLines );
130 static nn::Result SetAlpha( s16 alpha );
[all …]
Dy2r_Types.h143 s16 inputLineWidth; //
144 s16 inputLines; //
147 s16 alpha; //
/CTR-SDK-4.2.5/include/nn/snd/CTR/Common/
Dsnd_Types.h34 s16 n0; //
35 s16 d1; //
43 s16 n0; //
44 s16 n1; //
45 s16 n2; //
46 s16 d1; //
47 s16 d2; //
241 s16 n0; //
242 s16 d1; //
250 s16 n0; //
[all …]
Dsnd_Adpcm.h40 s16 a[8][2];
44 s16 yn1;
45 s16 yn2;
49 s16 loop_yn1;
50 s16 loop_yn2;
88 s16 yn1; //
89 s16 yn2; //
/CTR-SDK-4.2.5/include/nn/socket/
Dsocket_Types.h46 s16 addrType; /* Please see man pages for details */
47 s16 length; /* Please see man pages for details */
48 s16 addrNum; /* Please see man pages for details */
49 s16 aliasNum; /* Please see man pages for details */
89 s16 mtu;
/CTR-SDK-4.2.5/include/nn/snd/CTR/MPCore/
Dsnd_OutputCapture.h44 void Write(s16* pData, s32 length = NN_SND_SAMPLES_PER_FRAME);
75 return NN_SND_SAMPLES_PER_FRAME * sizeof(s16) * 2 * frames; in GetRequiredMemorySize()
120 s32 Read(s16* pData, s32 length = NN_SND_SAMPLES_PER_FRAME);
131 static const size_t UNIT_SIZE = sizeof(s16) * 2; // 16bit, stereo
/CTR-SDK-4.2.5/include/nn/tpl/CTR/
Dtpl_ReadTexturePackage.h47 s16 GetTextureIndex(const void* pTexPackage, const char* texPath);
62 void* GetTexture(s32* mipLevel, u32* mipmapSize, const void* pTexPackage, const s16 texIndex);
74 bool GetTextureInfo(CtrTextureInfo* pTexInfo, const void* pTexPackage, const s16 texIndex);
/CTR-SDK-4.2.5/include/nn/pl/CTR/
Dpl_PedometerApi.h66 s16 year; //
67 s16 month; //
118 s16 year;
119 s16 month;
/CTR-SDK-4.2.5/include/nn/mic/CTR/
Dmic_Types.h52 const s16 SAMPLING_TYPE_SIGNED_16BIT_SILENT_DATA = 0;
93 const s16 TYPE_SIGNED_16BIT_GUARANTEED_INPUT_MIN = -25663;
97 …const s16 TYPE_SIGNED_16BIT_GUARANTEED_INPUT_MAX = TYPE_SIGNED_16BIT_GUARANTEED_INPUT_MIN + TYPE_1…
/CTR-SDK-4.2.5/sources/libraries/math/ARMv6/
Dmath_Matrix44.cpp36 VLDMIA r1!,{s16-s23} // Matrix p1 is put into the [S16-S23] registers in MTX44AddAsm()
38 VADD.F32 s0,s16,s0 in MTX44AddAsm()
43 VLDMIA r1!,{s16-s19} // Continuation of p1 in MTX44AddAsm()
52 VADD.F32 s8,s16,s8 in MTX44AddAsm()
83 VLDMIA r2!,{s16-s23} // Matrix p2 is put into the [S16-S23] registers in MTX44MultAsm()
87 VMUL.F32 s0,s24,s16 in MTX44MultAsm()
93 VMUL.F32 s4,s25,s16 in MTX44MultAsm()
99 VMUL.F32 s8,s24,s16 in MTX44MultAsm()
105 VMUL.F32 s12,s25,s16 in MTX44MultAsm()
111 VLDMIA r2!,{s16-s19} // Matrix p2 is put into the [S16-S19] registers in MTX44MultAsm()
[all …]
/CTR-SDK-4.2.5/sources/libraries/cx/
Dcx_Compression.cpp37 s16 *LZOffsetTable; // Offset buffer of the history window
38 s16 *LZByteTable; // Pointer to the most recent character history
39 s16 *LZEndTable; // Pointer to the oldest character history
206 s16 *const LZOffsetTable = info->LZOffsetTable; in SearchLZ()
290 info->LZOffsetTable = (s16*)work; in LZInitTable()
291 info->LZByteTable = (s16*)( (u32)work + 4096 * sizeof(s16) ); in LZInitTable()
292 info->LZEndTable = (s16*)( (u32)work + (4096 + 256) * sizeof(s16) ); in LZInitTable()
308 s16 offset; in SlideByte()
312 s16 *const LZByteTable = info->LZByteTable; in SlideByte()
313 s16 *const LZOffsetTable = info->LZOffsetTable; in SlideByte()
[all …]
/CTR-SDK-4.2.5/include/nn/math/ARMv6/inline/
Dmath_Matrix33.ipp75 VMLA.F32 s19,s16,s2
79 VMLA.F32 s22,s16,s5
83 VMLA.F32 s25,s16,s8
115 VLDR.F32 s16,[r1,#3*4*0+4*0] // Matrix p1[0][0]
118 VMUL.F32 s0,s10,s16
119 VMUL.F32 s1,s11,s16
120 VMUL.F32 s2,s12,s16
121 VLDR.F32 s16,[r1,#3*4*2+4*0] // Matrix p1[2][0]
128 VMUL.F32 s6,s10,s16
129 VMUL.F32 s7,s11,s16
[all …]
/CTR-SDK-4.2.5/include/nn/font/detail/
Dfont_BinaryFileFormat.h55 typedef s16 ResS16; //
83 s16 SInt16;
141 static s16 BSwap( s16 val )
143 return (s16)( ((u16)val >> 8) | ((u16)val << 8) );
165 typedef ResNum<s16> ResS16; //
/CTR-SDK-4.2.5/sources/libraries/rdt/CTR/
Dtypes.h50 typedef signed short int s16; typedef
66 typedef volatile s16 vs16;
/CTR-SDK-4.2.5/include/nn/config/compiler/
Dtypes_gcc.h46 typedef signed short int s16; typedef
62 typedef volatile s16 vs16;

12