खास जानकारी
नीचे दिए गए फ़ंक्शन का इस्तेमाल, उन सेल को पाने और सेट करने के लिए किया जा सकता है जिनमें ऐलोकेशन शामिल है.
- अलग-अलग सेल को ऐक्सेस करने के लिए, rsGetElementAt* और rsSetElementAt फ़ंक्शन का इस्तेमाल किया जाता है.
- rsAllocationCopy* और rsAllocationV* फ़ंक्शन का इस्तेमाल करके, एक से ज़्यादा सेल कॉपी की जा सकती हैं.
- सैंपलर की मदद से वैल्यू पाने के लिए, rsSample का इस्तेमाल करें.
खास जानकारी
फ़ंक्शन | |
---|---|
rsAllocationCopy1DRange | एक-दूसरे के बाद वाली सेल को, अलग-अलग ऐलोकेशन के बीच कॉपी करना |
rsAllocationCopy2DRange | ऐलोकेशन के बीच सेल का आयताकार क्षेत्र कॉपी करना |
rsAllocationVLoadX | स्केलर के ऐलोकेशन से सदिश पाना |
rsAllocationVStoreX | स्केलर के ऐलोकेशन में वेक्टर को स्टोर करना |
rsGetElementAt | किसी ऐलोकेशन से सेल दिखाना |
rsGetElementAtYuv_uchar_U | YUVs के ऐलोकेशन का U कॉम्पोनेंट पाना |
rsGetElementAtYuv_uchar_V | YUVs के ऐलोकेशन का V कॉम्पोनेंट पाना |
rsGetElementAtYuv_uchar_Y | YUV के ऐलोकेशन का Y कॉम्पोनेंट पाना |
rsSample | टेक्सचर ऐलोकेशन से वैल्यू का सैंपल लेना |
rsSetElementAt | किसी ऐलोकेशन की सेल सेट करना |
फ़ंक्शन
rsAllocationCopy1DRange : एक से ज़्यादा ऐलोकेशन के बीच की सेल कॉपी करना
void rsAllocationCopy1DRange(rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip); | एपीआई लेवल 14 में जोड़ा गया |
पैरामीटर
dstAlloc | सेल कॉपी करने के लिए एलोकेशन. |
---|---|
dstOff | कॉपी की जाने वाली पहली सेल के डेस्टिनेशन में ऑफ़सेट. |
dstMip | डेस्टिनेशन के ऐलोकेशन में एमआईपी लेवल. अगर एमआईपी मैपिंग का इस्तेमाल नहीं किया जाता है, तो 0. |
संख्या | कॉपी की जाने वाली सेल की संख्या. |
srcAlloc | सोर्स का ऐलोकेशन. |
srcOff | कॉपी की जाने वाली पहली सेल के सोर्स में ऑफ़सेट. |
srcMip | सोर्स ऐलोकेशन में एमआईपी लेवल. अगर एमआईपी मैपिंग का इस्तेमाल नहीं किया जाता है, तो 0. |
तय की गई सेल को एक सेल से दूसरी सेल में कॉपी करता है.
दोनों ऐलोकेशन अलग-अलग होने चाहिए. एक ही ऐलोकेशन में कॉपी करने के लिए, इस फ़ंक्शन का इस्तेमाल करने पर अस्पष्ट नतीजे मिलते हैं.
फ़ंक्शन यह पुष्टि नहीं करता कि ऑफ़सेट और गिनती, दोनों में से किसी भी ऐलोकेशन के साइज़ से ज़्यादा है या नहीं. सावधान रहें!
इस फ़ंक्शन को सिर्फ़ 1D ऐलोकेशन के बीच कॉल किया जाना चाहिए. इसे अन्य ऐलोकेशन पर कॉल करने का तरीका तय नहीं है.
इस फ़ंक्शन को किसी कर्नेल से या किसी ऐसे फ़ंक्शन से नहीं कॉल किया जाना चाहिए जिसे सीधे या किसी दूसरे तरीके से कर्नेल से कॉल किया जा सकता है. ऐसा करने से, रनटाइम में गड़बड़ी हो सकती है.
rsAllocationCopy2DRange : ऐलोकेशन के बीच सेल का रेक्टैंगल क्षेत्र कॉपी करना
void rsAllocationCopy2DRange(rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, uint32_t dstMip, rs_allocation_cubemap_face dstFace, uint32_t width, uint32_t height, rs_allocation srcAlloc, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, rs_allocation_cubemap_face srcFace); | एपीआई लेवल 14 में जोड़ा गया |
पैरामीटर
dstAlloc | वह जगह जहां सेल कॉपी करनी हैं. |
---|---|
dstXoff | सेट किए जाने वाले क्षेत्र के डेस्टिनेशन में X ऑफ़सेट. |
dstYoff | सेट किए जाने वाले इलाके के डेस्टिनेशन में Y ऑफ़सेट. |
dstMip | डेस्टिनेशन के ऐलोकेशन में एमआईपी लेवल. अगर एमआईपी मैपिंग का इस्तेमाल नहीं किया जाता है, तो 0. |
dstFace | डेस्टिनेशन ऐलोकेशन का क्यूबमैप फ़ेस. ऐसे ऐलोकेशन के लिए अनदेखा किया जाता है जो क्यूबमैप नहीं हैं. |
चौड़ाई | अपडेट किए जाने वाले इनकमिंग क्षेत्र की चौड़ाई. |
ऊंचाई | अपडेट किए जाने वाले इनकमिंग क्षेत्र की ऊंचाई. |
srcAlloc | सोर्स का ऐलोकेशन. |
srcXoff | सोर्स में X ऑफ़सेट. |
srcYoff | सोर्स में मौजूद Y ऑफ़सेट. |
srcMip | सोर्स ऐलोकेशन में एमआईपी लेवल. अगर एमआईपी मैपिंग का इस्तेमाल नहीं किया जाता है, तो 0. |
srcFace | सोर्स ऐलोकेशन का क्यूबमैप फ़ेस. ऐसे ऐलोकेशन के लिए अनदेखा किया जाता है जो क्यूबमैप नहीं हैं. |
सेल के रेक्टैंगल क्षेत्र को एक सेल से दूसरे सेल में कॉपी करता है. (चौड़ाई * ऊंचाई) सेल कॉपी की जाती हैं.
दोनों ऐलोकेशन अलग-अलग होने चाहिए. एक ही ऐलोकेशन में कॉपी करने के लिए, इस फ़ंक्शन का इस्तेमाल करने पर अस्पष्ट नतीजे मिलते हैं.
यह फ़ंक्शन यह पुष्टि नहीं करता कि सोर्स या डेस्टिनेशन क्षेत्र, तय किए गए हिस्से से ज़्यादा है या नहीं. सावधान रहें!
इस फ़ंक्शन को सिर्फ़ 2D ऐलोकेशन के बीच कॉल किया जाना चाहिए. इसे अन्य ऐलोकेशन पर कॉल करने का तरीका तय नहीं है.
इस फ़ंक्शन को किसी कर्नेल से या किसी ऐसे फ़ंक्शन से नहीं कॉल किया जाना चाहिए जिसे सीधे या किसी दूसरे तरीके से कर्नेल से कॉल किया जा सकता है. ऐसा करने से, रनटाइम में गड़बड़ी हो सकती है.
rsAllocationVLoadX : स्केलर के ऐलोकेशन से वेक्टर पाना
char2 rsAllocationVLoadX_char2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
char2 rsAllocationVLoadX_char2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
char2 rsAllocationVLoadX_char2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
char3 rsAllocationVLoadX_char3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
char3 rsAllocationVLoadX_char3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
char3 rsAllocationVLoadX_char3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
char4 rsAllocationVLoadX_char4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
char4 rsAllocationVLoadX_char4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
char4 rsAllocationVLoadX_char4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
double2 rsAllocationVLoadX_double2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
double2 rsAllocationVLoadX_double2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
double2 rsAllocationVLoadX_double2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
double3 rsAllocationVLoadX_double3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
double3 rsAllocationVLoadX_double3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
double3 rsAllocationVLoadX_double3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
double4 rsAllocationVLoadX_double4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
double4 rsAllocationVLoadX_double4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
double4 rsAllocationVLoadX_double4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
float2 rsAllocationVLoadX_float2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
float2 rsAllocationVLoadX_float2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
float2 rsAllocationVLoadX_float2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
float3 rsAllocationVLoadX_float3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
float3 rsAllocationVLoadX_float3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
float3 rsAllocationVLoadX_float3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
float4 rsAllocationVLoadX_float4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
float4 rsAllocationVLoadX_float4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
float4 rsAllocationVLoadX_float4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
int2 rsAllocationVLoadX_int2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
int2 rsAllocationVLoadX_int2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
int2 rsAllocationVLoadX_int2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
int3 rsAllocationVLoadX_int3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
int3 rsAllocationVLoadX_int3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
int3 rsAllocationVLoadX_int3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
int4 rsAllocationVLoadX_int4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
int4 rsAllocationVLoadX_int4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
int4 rsAllocationVLoadX_int4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
long2 rsAllocationVLoadX_long2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
long2 rsAllocationVLoadX_long2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
long2 rsAllocationVLoadX_long2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
long3 rsAllocationVLoadX_long3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
long3 rsAllocationVLoadX_long3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
long3 rsAllocationVLoadX_long3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
long4 rsAllocationVLoadX_long4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
long4 rsAllocationVLoadX_long4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
long4 rsAllocationVLoadX_long4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
short2 rsAllocationVLoadX_short2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
short2 rsAllocationVLoadX_short2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
short2 rsAllocationVLoadX_short2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
short3 rsAllocationVLoadX_short3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
short3 rsAllocationVLoadX_short3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
short3 rsAllocationVLoadX_short3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
short4 rsAllocationVLoadX_short4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
short4 rsAllocationVLoadX_short4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
short4 rsAllocationVLoadX_short4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
uchar2 rsAllocationVLoadX_uchar2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
uchar2 rsAllocationVLoadX_uchar2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
uchar2 rsAllocationVLoadX_uchar2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
uchar3 rsAllocationVLoadX_uchar3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
uchar3 rsAllocationVLoadX_uchar3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
uchar3 rsAllocationVLoadX_uchar3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
uchar4 rsAllocationVLoadX_uchar4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
uchar4 rsAllocationVLoadX_uchar4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
uchar4 rsAllocationVLoadX_uchar4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
uint2 rsAllocationVLoadX_uint2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
uint2 rsAllocationVLoadX_uint2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
uint2 rsAllocationVLoadX_uint2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
uint3 rsAllocationVLoadX_uint3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
uint3 rsAllocationVLoadX_uint3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
uint3 rsAllocationVLoadX_uint3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
uint4 rsAllocationVLoadX_uint4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
uint4 rsAllocationVLoadX_uint4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
uint4 rsAllocationVLoadX_uint4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
ulong2 rsAllocationVLoadX_ulong2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
ulong2 rsAllocationVLoadX_ulong2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
ulong2 rsAllocationVLoadX_ulong2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
ulong3 rsAllocationVLoadX_ulong3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
ulong3 rsAllocationVLoadX_ulong3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
ulong3 rsAllocationVLoadX_ulong3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
ulong4 rsAllocationVLoadX_ulong4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
ulong4 rsAllocationVLoadX_ulong4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
ulong4 rsAllocationVLoadX_ulong4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
ushort2 rsAllocationVLoadX_ushort2(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
ushort2 rsAllocationVLoadX_ushort2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
ushort2 rsAllocationVLoadX_ushort2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
ushort3 rsAllocationVLoadX_ushort3(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
ushort3 rsAllocationVLoadX_ushort3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
ushort3 rsAllocationVLoadX_ushort3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
ushort4 rsAllocationVLoadX_ushort4(rs_allocation a, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
ushort4 rsAllocationVLoadX_ushort4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
ushort4 rsAllocationVLoadX_ushort4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
पैरामीटर
a | डेटा पाने के लिए एलोकेशन. |
---|---|
x | कॉपी की जाने वाली पहली सेल के लिए X ऑफ़सेट. |
y | कॉपी की जाने वाली पहली सेल के Y ऑफ़सेट की वैल्यू. |
z | कॉपी की जाने वाली पहली सेल के लिए Z ऑफ़सेट. |
यह फ़ंक्शन, ऐलोकेशन की सेल से बना वेक्टर दिखाता है. यह माना जाता है कि एलोकेशन में स्केलर शामिल हैं.
नाम में "X" से पता चलता है कि X इंडेक्स को बढ़ाकर, एक के बाद एक वैल्यू निकाली जाती हैं. फ़िलहाल, अन्य डाइमेंशन में बढ़ोतरी करने वाली वैल्यू पाने के लिए कोई फ़ंक्शन उपलब्ध नहीं है. इसके बजाय, rsGetElementAt() के कई कॉल का इस्तेमाल करें.
उदाहरण के लिए, rsAllocationVLoadX_int4(a, 20, 30) को कॉल करने पर, a[20, 30], a[21, 30], a[22, 30], और a[23, 30] से बना int4 दिखाया जाता है.
तीन डाइमेंशन वाले ऐलोकेशन से डेटा वापस लाने के लिए, x, y, z वैरिएंट का इस्तेमाल करें. इसी तरह, दो डाइमेंशन वाले ऐलोकेशन के लिए x, y वैरिएंट और एक डाइमेंशन वाले ऐलोकेशन के लिए x का इस्तेमाल करें.
बेहतर परफ़ॉर्मेंस के लिए, यह फ़ंक्शन इनपुट की पुष्टि नहीं करता. X इंडेक्स को रैप करने, ऐलोकेशन के साइज़ से ज़्यादा का इस्तेमाल करने या ऐलोकेशन के डाइमेंशन के साथ काम न करने वाले इंडेक्स का इस्तेमाल करने पर, अस्पष्ट नतीजे मिलते हैं.
rsAllocationVStoreX() भी देखें.
rsAllocationVStoreX : स्केलर के ऐलोकेशन में वेक्टर स्टोर करना
void rsAllocationVStoreX_char2(rs_allocation a, char2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char3(rs_allocation a, char3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char4(rs_allocation a, char4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double2(rs_allocation a, double2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double3(rs_allocation a, double3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double4(rs_allocation a, double4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float2(rs_allocation a, float2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float3(rs_allocation a, float3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float4(rs_allocation a, float4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int3(rs_allocation a, int3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long2(rs_allocation a, long2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long3(rs_allocation a, long3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long4(rs_allocation a, long4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short2(rs_allocation a, short2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short3(rs_allocation a, short3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short4(rs_allocation a, short4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar2(rs_allocation a, uchar2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar3(rs_allocation a, uchar3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar4(rs_allocation a, uchar4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint2(rs_allocation a, uint2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint3(rs_allocation a, uint3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint4(rs_allocation a, uint4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong2(rs_allocation a, ulong2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong3(rs_allocation a, ulong3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong4(rs_allocation a, ulong4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort2(rs_allocation a, ushort2 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort3(rs_allocation a, ushort3 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort4(rs_allocation a, ushort4 val, uint32_t x); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y); | एपीआई लेवल 22 में जोड़ा गया |
void rsAllocationVStoreX_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 22 में जोड़ा गया |
पैरामीटर
a | डेटा को स्टोर करने के लिए एलोकेशन. |
---|---|
val | सेव की जाने वाली वैल्यू. |
x | कॉपी की जाने वाली पहली सेल के लिए X ऑफ़सेट. |
y | कॉपी की जाने वाली पहली सेल के लिए Y ऑफ़सेट. |
z | कॉपी की जाने वाली पहली सेल के लिए Z ऑफ़सेट. |
यह फ़ंक्शन, किसी वेक्टर की एंट्री को ऐलोकेशन की सेल में क्रम से सेव करता है. यह माना जाता है कि एलोकेशन में स्केलर शामिल हैं.
नाम में "X" से पता चलता है कि X इंडेक्स को बढ़ाकर, एक के बाद एक वैल्यू सेव की जाती हैं. फ़िलहाल, अन्य डाइमेंशन में बढ़ोतरी करने वाली वैल्यू को स्टोर करने के लिए कोई फ़ंक्शन उपलब्ध नहीं है. इसके बजाय, rsSetElementAt() के कई कॉल का इस्तेमाल करें.
उदाहरण के लिए, rsAllocationVStoreX_int3(a, v, 20, 30) को कॉल करने पर, v.x को a[20, 30], v.y को a[21, 30], और v.z को a[22, 30] पर सेव किया जाता है.
तीन डाइमेंशन वाले ऐलोकेशन में स्टोर करते समय, x, y, z वैरिएंट का इस्तेमाल करें. इसी तरह, दो डाइमेंशन वाले ऐलोकेशन के लिए x, y वैरिएंट और एक डाइमेंशन वाले ऐलोकेशन के लिए x का इस्तेमाल करें.
बेहतर परफ़ॉर्मेंस के लिए, यह फ़ंक्शन इनपुट की पुष्टि नहीं करता. X इंडेक्स को रैप करने, ऐलोकेशन के साइज़ से ज़्यादा का इस्तेमाल करने या ऐलोकेशन के डाइमेंशन के साथ काम न करने वाले इंडेक्स का इस्तेमाल करने पर, अस्पष्ट नतीजे मिलते हैं.
rsAllocationVLoadX() भी देखें.
rsGetElementAt : किसी ऐलोकेशन से सेल दिखाना
char rsGetElementAt_char(rs_allocation a, uint32_t x); | |
char rsGetElementAt_char(rs_allocation a, uint32_t x, uint32_t y); | |
char rsGetElementAt_char(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
char2 rsGetElementAt_char2(rs_allocation a, uint32_t x); | |
char2 rsGetElementAt_char2(rs_allocation a, uint32_t x, uint32_t y); | |
char2 rsGetElementAt_char2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
char3 rsGetElementAt_char3(rs_allocation a, uint32_t x); | |
char3 rsGetElementAt_char3(rs_allocation a, uint32_t x, uint32_t y); | |
char3 rsGetElementAt_char3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
char4 rsGetElementAt_char4(rs_allocation a, uint32_t x); | |
char4 rsGetElementAt_char4(rs_allocation a, uint32_t x, uint32_t y); | |
char4 rsGetElementAt_char4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
const void* rsGetElementAt(rs_allocation a, uint32_t x); | |
const void* rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y); | |
const void* rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
double rsGetElementAt_double(rs_allocation a, uint32_t x); | |
double rsGetElementAt_double(rs_allocation a, uint32_t x, uint32_t y); | |
double rsGetElementAt_double(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
double2 rsGetElementAt_double2(rs_allocation a, uint32_t x); | |
double2 rsGetElementAt_double2(rs_allocation a, uint32_t x, uint32_t y); | |
double2 rsGetElementAt_double2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
double3 rsGetElementAt_double3(rs_allocation a, uint32_t x); | |
double3 rsGetElementAt_double3(rs_allocation a, uint32_t x, uint32_t y); | |
double3 rsGetElementAt_double3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
double4 rsGetElementAt_double4(rs_allocation a, uint32_t x); | |
double4 rsGetElementAt_double4(rs_allocation a, uint32_t x, uint32_t y); | |
double4 rsGetElementAt_double4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
float rsGetElementAt_float(rs_allocation a, uint32_t x); | |
float rsGetElementAt_float(rs_allocation a, uint32_t x, uint32_t y); | |
float rsGetElementAt_float(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
float2 rsGetElementAt_float2(rs_allocation a, uint32_t x); | |
float2 rsGetElementAt_float2(rs_allocation a, uint32_t x, uint32_t y); | |
float2 rsGetElementAt_float2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
float3 rsGetElementAt_float3(rs_allocation a, uint32_t x); | |
float3 rsGetElementAt_float3(rs_allocation a, uint32_t x, uint32_t y); | |
float3 rsGetElementAt_float3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
float4 rsGetElementAt_float4(rs_allocation a, uint32_t x); | |
float4 rsGetElementAt_float4(rs_allocation a, uint32_t x, uint32_t y); | |
float4 rsGetElementAt_float4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
half rsGetElementAt_half(rs_allocation a, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
half rsGetElementAt_half(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
half rsGetElementAt_half(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
half2 rsGetElementAt_half2(rs_allocation a, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
half2 rsGetElementAt_half2(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
half2 rsGetElementAt_half2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
half3 rsGetElementAt_half3(rs_allocation a, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
half3 rsGetElementAt_half3(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
half3 rsGetElementAt_half3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
half4 rsGetElementAt_half4(rs_allocation a, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
half4 rsGetElementAt_half4(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
half4 rsGetElementAt_half4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
int rsGetElementAt_int(rs_allocation a, uint32_t x); | |
int rsGetElementAt_int(rs_allocation a, uint32_t x, uint32_t y); | |
int rsGetElementAt_int(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
int2 rsGetElementAt_int2(rs_allocation a, uint32_t x); | |
int2 rsGetElementAt_int2(rs_allocation a, uint32_t x, uint32_t y); | |
int2 rsGetElementAt_int2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
int3 rsGetElementAt_int3(rs_allocation a, uint32_t x); | |
int3 rsGetElementAt_int3(rs_allocation a, uint32_t x, uint32_t y); | |
int3 rsGetElementAt_int3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
int4 rsGetElementAt_int4(rs_allocation a, uint32_t x); | |
int4 rsGetElementAt_int4(rs_allocation a, uint32_t x, uint32_t y); | |
int4 rsGetElementAt_int4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
long rsGetElementAt_long(rs_allocation a, uint32_t x); | |
long rsGetElementAt_long(rs_allocation a, uint32_t x, uint32_t y); | |
long rsGetElementAt_long(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
long2 rsGetElementAt_long2(rs_allocation a, uint32_t x); | |
long2 rsGetElementAt_long2(rs_allocation a, uint32_t x, uint32_t y); | |
long2 rsGetElementAt_long2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
long3 rsGetElementAt_long3(rs_allocation a, uint32_t x); | |
long3 rsGetElementAt_long3(rs_allocation a, uint32_t x, uint32_t y); | |
long3 rsGetElementAt_long3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
long4 rsGetElementAt_long4(rs_allocation a, uint32_t x); | |
long4 rsGetElementAt_long4(rs_allocation a, uint32_t x, uint32_t y); | |
long4 rsGetElementAt_long4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
short rsGetElementAt_short(rs_allocation a, uint32_t x); | |
short rsGetElementAt_short(rs_allocation a, uint32_t x, uint32_t y); | |
short rsGetElementAt_short(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
short2 rsGetElementAt_short2(rs_allocation a, uint32_t x); | |
short2 rsGetElementAt_short2(rs_allocation a, uint32_t x, uint32_t y); | |
short2 rsGetElementAt_short2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
short3 rsGetElementAt_short3(rs_allocation a, uint32_t x); | |
short3 rsGetElementAt_short3(rs_allocation a, uint32_t x, uint32_t y); | |
short3 rsGetElementAt_short3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
short4 rsGetElementAt_short4(rs_allocation a, uint32_t x); | |
short4 rsGetElementAt_short4(rs_allocation a, uint32_t x, uint32_t y); | |
short4 rsGetElementAt_short4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uchar rsGetElementAt_uchar(rs_allocation a, uint32_t x); | |
uchar rsGetElementAt_uchar(rs_allocation a, uint32_t x, uint32_t y); | |
uchar rsGetElementAt_uchar(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uchar2 rsGetElementAt_uchar2(rs_allocation a, uint32_t x); | |
uchar2 rsGetElementAt_uchar2(rs_allocation a, uint32_t x, uint32_t y); | |
uchar2 rsGetElementAt_uchar2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uchar3 rsGetElementAt_uchar3(rs_allocation a, uint32_t x); | |
uchar3 rsGetElementAt_uchar3(rs_allocation a, uint32_t x, uint32_t y); | |
uchar3 rsGetElementAt_uchar3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uchar4 rsGetElementAt_uchar4(rs_allocation a, uint32_t x); | |
uchar4 rsGetElementAt_uchar4(rs_allocation a, uint32_t x, uint32_t y); | |
uchar4 rsGetElementAt_uchar4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uint rsGetElementAt_uint(rs_allocation a, uint32_t x); | |
uint rsGetElementAt_uint(rs_allocation a, uint32_t x, uint32_t y); | |
uint rsGetElementAt_uint(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uint2 rsGetElementAt_uint2(rs_allocation a, uint32_t x); | |
uint2 rsGetElementAt_uint2(rs_allocation a, uint32_t x, uint32_t y); | |
uint2 rsGetElementAt_uint2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uint3 rsGetElementAt_uint3(rs_allocation a, uint32_t x); | |
uint3 rsGetElementAt_uint3(rs_allocation a, uint32_t x, uint32_t y); | |
uint3 rsGetElementAt_uint3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
uint4 rsGetElementAt_uint4(rs_allocation a, uint32_t x); | |
uint4 rsGetElementAt_uint4(rs_allocation a, uint32_t x, uint32_t y); | |
uint4 rsGetElementAt_uint4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ulong rsGetElementAt_ulong(rs_allocation a, uint32_t x); | |
ulong rsGetElementAt_ulong(rs_allocation a, uint32_t x, uint32_t y); | |
ulong rsGetElementAt_ulong(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ulong2 rsGetElementAt_ulong2(rs_allocation a, uint32_t x); | |
ulong2 rsGetElementAt_ulong2(rs_allocation a, uint32_t x, uint32_t y); | |
ulong2 rsGetElementAt_ulong2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ulong3 rsGetElementAt_ulong3(rs_allocation a, uint32_t x); | |
ulong3 rsGetElementAt_ulong3(rs_allocation a, uint32_t x, uint32_t y); | |
ulong3 rsGetElementAt_ulong3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ulong4 rsGetElementAt_ulong4(rs_allocation a, uint32_t x); | |
ulong4 rsGetElementAt_ulong4(rs_allocation a, uint32_t x, uint32_t y); | |
ulong4 rsGetElementAt_ulong4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ushort rsGetElementAt_ushort(rs_allocation a, uint32_t x); | |
ushort rsGetElementAt_ushort(rs_allocation a, uint32_t x, uint32_t y); | |
ushort rsGetElementAt_ushort(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ushort2 rsGetElementAt_ushort2(rs_allocation a, uint32_t x); | |
ushort2 rsGetElementAt_ushort2(rs_allocation a, uint32_t x, uint32_t y); | |
ushort2 rsGetElementAt_ushort2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ushort3 rsGetElementAt_ushort3(rs_allocation a, uint32_t x); | |
ushort3 rsGetElementAt_ushort3(rs_allocation a, uint32_t x, uint32_t y); | |
ushort3 rsGetElementAt_ushort3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); | |
ushort4 rsGetElementAt_ushort4(rs_allocation a, uint32_t x); | |
ushort4 rsGetElementAt_ushort4(rs_allocation a, uint32_t x, uint32_t y); | |
ushort4 rsGetElementAt_ushort4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
यह फ़ंक्शन, किसी ऐलोकेशन से एक सेल निकालता है.
तीन डाइमेंशन वाले ऐलोकेशन से डेटा वापस लाने के लिए, x, y, z वैरिएंट का इस्तेमाल करें. इसी तरह, दो डाइमेंशन वाले ऐलोकेशन के लिए x, y वैरिएंट और एक डाइमेंशन वाले ऐलोकेशन के लिए x का इस्तेमाल करें.
इस फ़ंक्शन के दो स्टाइल हैं. एक फ़ंक्शन, void* का इस्तेमाल करके वैल्यू का पता दिखाता है, जबकि दूसरा फ़ंक्शन असल वैल्यू दिखाता है. उदाहरण के लिए, rsGetElementAt() बनाम rsGetElementAt_int4(). प्राइमटिव टाइप के लिए, हमेशा दूसरे फ़ंक्शन का इस्तेमाल करें, क्योंकि यह ज़्यादा असरदार होता है.
rsGetElementAtYuv_uchar_U : YUVs के ऐलोकेशन का U कॉम्पोनेंट पाएं
uchar rsGetElementAtYuv_uchar_U(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
YUVs के 2D ऐलोकेशन से, किसी एक YUV वैल्यू का U कॉम्पोनेंट निकालता है.
अलग-अलग प्लैन और अलग-अलग रिज़ॉल्यूशन में, Y, U, और V कॉम्पोनेंट को एलोकेशन में सेव किया जा सकता है. यहां दिए गए x, y कोऑर्डिनेट, Y प्लेन के डाइमेंशन में हैं.
rsGetElementAtYuv_uchar_Y() देखें.
rsGetElementAtYuv_uchar_V : YUVs के ऐलोकेशन का V कॉम्पोनेंट पाएं
uchar rsGetElementAtYuv_uchar_V(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
YUVs के 2D ऐलोकेशन से, किसी एक YUV वैल्यू का V कॉम्पोनेंट निकालता है.
अलग-अलग प्लैन और अलग-अलग रिज़ॉल्यूशन में, Y, U, और V कॉम्पोनेंट को एलोकेशन में सेव किया जा सकता है. यहां दिए गए x, y कोऑर्डिनेट, Y प्लेन के डाइमेंशन में हैं.
rsGetElementAtYuv_uchar_Y() देखें.
rsGetElementAtYuv_uchar_Y : YUV के ऐलोकेशन का Y कॉम्पोनेंट पाएं
uchar rsGetElementAtYuv_uchar_Y(rs_allocation a, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
YUVs के 2D ऐलोकेशन से, किसी एक YUV वैल्यू के Y कॉम्पोनेंट को निकालता है.
अलग-अलग प्लैन और अलग-अलग रिज़ॉल्यूशन में, Y, U, और V कॉम्पोनेंट को एलोकेशन में सेव किया जा सकता है. यहां दिए गए x, y कोऑर्डिनेट, Y प्लेन के डाइमेंशन में हैं.
rsGetElementAtYuv_uchar_U() और rsGetElementAtYuv_uchar_V() देखें.
rsSample : टेक्सचर ऐलोकेशन से किसी वैल्यू का सैंपल लें
float4 rsSample(rs_allocation a, rs_sampler s, float location); | एपीआई लेवल 16 में जोड़ा गया |
float4 rsSample(rs_allocation a, rs_sampler s, float location, float lod); | एपीआई लेवल 16 में जोड़ा गया |
float4 rsSample(rs_allocation a, rs_sampler s, float2 location); | एपीआई लेवल 16 में जोड़ा गया |
float4 rsSample(rs_allocation a, rs_sampler s, float2 location, float lod); | एपीआई लेवल 16 में जोड़ा गया |
पैरामीटर
a | सैंपल के लिए ऐलोकेशन. |
---|---|
s | सैंपलर की स्थिति. |
जगह | जिस जगह से सैंपल लेना है. |
lod | सैंपल के लिए एमआईपी लेवल. अगर RS_SAMPLER_LINEAR_MIP_LINEAR का इस्तेमाल किया जाता है, तो फ़्रैक्शनल वैल्यू के लिए एमआईपी लेवल इंटरपोलेशन किए जाएंगे. |
सैंपलर के बताए गए तरीके से, टेक्सचर ऐलोकेशन से वैल्यू फ़ेच करता है.
अगर आपका ऐलोकेशन 1D है, तो जगह के लिए फ़्लोट वाले वैरिएंट का इस्तेमाल करें. 2D के लिए, float2 वैरिएंट का इस्तेमाल करें.
ज़्यादा जानकारी के लिए, android.renderscript.Sampler देखें.
rsSetElementAt : किसी ऐलोकेशन की सेल सेट करें
void rsSetElementAt(rs_allocation a, void* ptr, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt(rs_allocation a, void* ptr, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char(rs_allocation a, char val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char(rs_allocation a, char val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char(rs_allocation a, char val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char2(rs_allocation a, char2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char3(rs_allocation a, char3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char4(rs_allocation a, char4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double(rs_allocation a, double val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double(rs_allocation a, double val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double(rs_allocation a, double val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double2(rs_allocation a, double2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double3(rs_allocation a, double3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double4(rs_allocation a, double4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float(rs_allocation a, float val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float(rs_allocation a, float val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float(rs_allocation a, float val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float2(rs_allocation a, float2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float3(rs_allocation a, float3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float4(rs_allocation a, float4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_half(rs_allocation a, half val, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half(rs_allocation a, half val, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half(rs_allocation a, half val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half2(rs_allocation a, half2 val, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half2(rs_allocation a, half2 val, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half2(rs_allocation a, half2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half3(rs_allocation a, half3 val, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half3(rs_allocation a, half3 val, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half3(rs_allocation a, half3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half4(rs_allocation a, half4 val, uint32_t x); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half4(rs_allocation a, half4 val, uint32_t x, uint32_t y); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_half4(rs_allocation a, half4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 23 में जोड़ा गया |
void rsSetElementAt_int(rs_allocation a, int val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int(rs_allocation a, int val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int(rs_allocation a, int val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int2(rs_allocation a, int2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int3(rs_allocation a, int3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int4(rs_allocation a, int4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long(rs_allocation a, long val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long(rs_allocation a, long val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long(rs_allocation a, long val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long2(rs_allocation a, long2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long3(rs_allocation a, long3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long4(rs_allocation a, long4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short(rs_allocation a, short val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short(rs_allocation a, short val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short(rs_allocation a, short val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short2(rs_allocation a, short2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short3(rs_allocation a, short3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short4(rs_allocation a, short4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar(rs_allocation a, uchar val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar(rs_allocation a, uchar val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar(rs_allocation a, uchar val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar2(rs_allocation a, uchar2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar3(rs_allocation a, uchar3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar4(rs_allocation a, uchar4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint(rs_allocation a, uint val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint(rs_allocation a, uint val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint(rs_allocation a, uint val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint2(rs_allocation a, uint2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint3(rs_allocation a, uint3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint4(rs_allocation a, uint4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong(rs_allocation a, ulong val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong(rs_allocation a, ulong val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong(rs_allocation a, ulong val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong2(rs_allocation a, ulong2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong3(rs_allocation a, ulong3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong4(rs_allocation a, ulong4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort(rs_allocation a, ushort val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort(rs_allocation a, ushort val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort(rs_allocation a, ushort val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort2(rs_allocation a, ushort2 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort3(rs_allocation a, ushort3 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort4(rs_allocation a, ushort4 val, uint32_t x); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y); | एपीआई लेवल 18 में जोड़ा गया |
void rsSetElementAt_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y, uint32_t z); | एपीआई लेवल 18 में जोड़ा गया |
यह फ़ंक्शन, किसी ऐलोकेशन की एक सेल में वैल्यू सेव करता है.
तीन डाइमेंशन वाले ऐलोकेशन में स्टोर करते समय, x, y, z वैरिएंट का इस्तेमाल करें. इसी तरह, दो डाइमेंशन वाले ऐलोकेशन के लिए x, y वैरिएंट और एक डाइमेंशन वाले ऐलोकेशन के लिए x का इस्तेमाल करें.
इस फ़ंक्शन के दो स्टाइल हैं. एक फ़ंक्शन, स्टोर की जाने वाली वैल्यू को void* का इस्तेमाल करके पास करता है, जबकि दूसरे फ़ंक्शन में वैल्यू को आर्ग्युमेंट के तौर पर पास किया जाता है. उदाहरण के लिए, rsSetElementAt() बनाम rsSetElementAt_int4(). प्राइमिटिव टाइप के लिए, हमेशा दूसरे फ़ंक्शन का इस्तेमाल करें, क्योंकि यह ज़्यादा असरदार होता है.
rsGetElementAt() भी देखें.