Home | History | Annotate | Download | only in reference
      1 page.title=RenderScript Conversion Functions
      2 
      3 @jd:body
      4 
      5 <div class='renderscript'>
      6 <h2>Overview</h2>
      7 <p> The functions below convert from a numerical vector type to another, of from one color
      8 representation to another.
      9 </p>
     10 <h2>Summary</h2>
     11 <table class='jd-sumtable'><tbody>
     12   <tr><th colspan='2'>Functions</th></tr>
     13   <tr class='alt-color api apilevel-1'>
     14     <td class='jd-linkcol'>
     15       <a href='rs_convert.html#android_rs:convert'>convert</a>
     16     </td>
     17     <td class='jd-descrcol' width='100%'>
     18       Convert numerical vectors
     19     </td>
     20   </tr>
     21   <tr class='alt-color api apilevel-1'>
     22     <td class='jd-linkcol'>
     23       <a href='rs_convert.html#android_rs:rsPackColorTo8888'>rsPackColorTo8888</a>
     24     </td>
     25     <td class='jd-descrcol' width='100%'>
     26       Create a uchar4 RGBA from floats
     27     </td>
     28   </tr>
     29   <tr class='alt-color api apilevel-1'>
     30     <td class='jd-linkcol'>
     31       <a href='rs_convert.html#android_rs:rsUnpackColor8888'>rsUnpackColor8888</a>
     32     </td>
     33     <td class='jd-descrcol' width='100%'>
     34       Create a float4 RGBA from uchar4
     35     </td>
     36   </tr>
     37   <tr class='alt-color api apilevel-1'>
     38     <td class='jd-linkcol'>
     39       <a href='rs_convert.html#android_rs:rsYuvToRGBA'>rsYuvToRGBA</a>
     40     </td>
     41     <td class='jd-descrcol' width='100%'>
     42       Convert a YUV value to RGBA
     43     </td>
     44   </tr>
     45 </tbody></table>
     46 <h2>Functions</h2>
     47 <a name='android_rs:convert'></a>
     48 <div class='jd-details'>
     49   <h4 class='jd-details-title'>
     50     <span class='sympad'>convert</span>
     51     <span class='normal'>: Convert numerical vectors</span>
     52   </h4>
     53   <div class='jd-details-descr'>
     54     <table class='jd-tagtable'><tbody>
     55       <tr>
     56         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
     57 </td>
     58         <td>        </td>
     59       </tr>
     60       <tr>
     61         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
     62 </td>
     63         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
     64         </td>
     65       </tr>
     66       <tr>
     67         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
     68 </td>
     69         <td>        </td>
     70       </tr>
     71       <tr>
     72         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
     73 </td>
     74         <td>        </td>
     75       </tr>
     76       <tr>
     77         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
     78 </td>
     79         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
     80         </td>
     81       </tr>
     82       <tr>
     83         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
     84 </td>
     85         <td>        </td>
     86       </tr>
     87       <tr>
     88         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
     89 </td>
     90         <td>        </td>
     91       </tr>
     92       <tr>
     93         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
     94 </td>
     95         <td>        </td>
     96       </tr>
     97       <tr>
     98         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
     99 </td>
    100         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    101         </td>
    102       </tr>
    103       <tr>
    104         <td><a href='rs_value_types.html#android_rs:char2'>char2</a> convert_char2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
    105 </td>
    106         <td>        </td>
    107       </tr>
    108       <tr>
    109         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
    110 </td>
    111         <td>        </td>
    112       </tr>
    113       <tr>
    114         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
    115 </td>
    116         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    117         </td>
    118       </tr>
    119       <tr>
    120         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
    121 </td>
    122         <td>        </td>
    123       </tr>
    124       <tr>
    125         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
    126 </td>
    127         <td>        </td>
    128       </tr>
    129       <tr>
    130         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
    131 </td>
    132         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    133         </td>
    134       </tr>
    135       <tr>
    136         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
    137 </td>
    138         <td>        </td>
    139       </tr>
    140       <tr>
    141         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
    142 </td>
    143         <td>        </td>
    144       </tr>
    145       <tr>
    146         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
    147 </td>
    148         <td>        </td>
    149       </tr>
    150       <tr>
    151         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
    152 </td>
    153         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    154         </td>
    155       </tr>
    156       <tr>
    157         <td><a href='rs_value_types.html#android_rs:char3'>char3</a> convert_char3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
    158 </td>
    159         <td>        </td>
    160       </tr>
    161       <tr>
    162         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
    163 </td>
    164         <td>        </td>
    165       </tr>
    166       <tr>
    167         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
    168 </td>
    169         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    170         </td>
    171       </tr>
    172       <tr>
    173         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
    174 </td>
    175         <td>        </td>
    176       </tr>
    177       <tr>
    178         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
    179 </td>
    180         <td>        </td>
    181       </tr>
    182       <tr>
    183         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
    184 </td>
    185         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    186         </td>
    187       </tr>
    188       <tr>
    189         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
    190 </td>
    191         <td>        </td>
    192       </tr>
    193       <tr>
    194         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
    195 </td>
    196         <td>        </td>
    197       </tr>
    198       <tr>
    199         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
    200 </td>
    201         <td>        </td>
    202       </tr>
    203       <tr>
    204         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
    205 </td>
    206         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    207         </td>
    208       </tr>
    209       <tr>
    210         <td><a href='rs_value_types.html#android_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
    211 </td>
    212         <td>        </td>
    213       </tr>
    214       <tr>
    215         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
    216 </td>
    217         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    218         </td>
    219       </tr>
    220       <tr>
    221         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
    222 </td>
    223         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    224         </td>
    225       </tr>
    226       <tr>
    227         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
    228 </td>
    229         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    230         </td>
    231       </tr>
    232       <tr>
    233         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
    234 </td>
    235         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    236         </td>
    237       </tr>
    238       <tr>
    239         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
    240 </td>
    241         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    242         </td>
    243       </tr>
    244       <tr>
    245         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
    246 </td>
    247         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    248         </td>
    249       </tr>
    250       <tr>
    251         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
    252 </td>
    253         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    254         </td>
    255       </tr>
    256       <tr>
    257         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
    258 </td>
    259         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    260         </td>
    261       </tr>
    262       <tr>
    263         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
    264 </td>
    265         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    266         </td>
    267       </tr>
    268       <tr>
    269         <td><a href='rs_value_types.html#android_rs:double2'>double2</a> convert_double2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
    270 </td>
    271         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    272         </td>
    273       </tr>
    274       <tr>
    275         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
    276 </td>
    277         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    278         </td>
    279       </tr>
    280       <tr>
    281         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
    282 </td>
    283         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    284         </td>
    285       </tr>
    286       <tr>
    287         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
    288 </td>
    289         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    290         </td>
    291       </tr>
    292       <tr>
    293         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
    294 </td>
    295         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    296         </td>
    297       </tr>
    298       <tr>
    299         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
    300 </td>
    301         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    302         </td>
    303       </tr>
    304       <tr>
    305         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
    306 </td>
    307         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    308         </td>
    309       </tr>
    310       <tr>
    311         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
    312 </td>
    313         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    314         </td>
    315       </tr>
    316       <tr>
    317         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
    318 </td>
    319         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    320         </td>
    321       </tr>
    322       <tr>
    323         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
    324 </td>
    325         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    326         </td>
    327       </tr>
    328       <tr>
    329         <td><a href='rs_value_types.html#android_rs:double3'>double3</a> convert_double3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
    330 </td>
    331         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    332         </td>
    333       </tr>
    334       <tr>
    335         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
    336 </td>
    337         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    338         </td>
    339       </tr>
    340       <tr>
    341         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
    342 </td>
    343         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    344         </td>
    345       </tr>
    346       <tr>
    347         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
    348 </td>
    349         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    350         </td>
    351       </tr>
    352       <tr>
    353         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
    354 </td>
    355         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    356         </td>
    357       </tr>
    358       <tr>
    359         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
    360 </td>
    361         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    362         </td>
    363       </tr>
    364       <tr>
    365         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
    366 </td>
    367         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    368         </td>
    369       </tr>
    370       <tr>
    371         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
    372 </td>
    373         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    374         </td>
    375       </tr>
    376       <tr>
    377         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
    378 </td>
    379         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    380         </td>
    381       </tr>
    382       <tr>
    383         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
    384 </td>
    385         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    386         </td>
    387       </tr>
    388       <tr>
    389         <td><a href='rs_value_types.html#android_rs:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
    390 </td>
    391         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    392         </td>
    393       </tr>
    394       <tr>
    395         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
    396 </td>
    397         <td>        </td>
    398       </tr>
    399       <tr>
    400         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
    401 </td>
    402         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    403         </td>
    404       </tr>
    405       <tr>
    406         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
    407 </td>
    408         <td>        </td>
    409       </tr>
    410       <tr>
    411         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
    412 </td>
    413         <td>        </td>
    414       </tr>
    415       <tr>
    416         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
    417 </td>
    418         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    419         </td>
    420       </tr>
    421       <tr>
    422         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
    423 </td>
    424         <td>        </td>
    425       </tr>
    426       <tr>
    427         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
    428 </td>
    429         <td>        </td>
    430       </tr>
    431       <tr>
    432         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
    433 </td>
    434         <td>        </td>
    435       </tr>
    436       <tr>
    437         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
    438 </td>
    439         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    440         </td>
    441       </tr>
    442       <tr>
    443         <td><a href='rs_value_types.html#android_rs:float2'>float2</a> convert_float2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
    444 </td>
    445         <td>        </td>
    446       </tr>
    447       <tr>
    448         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
    449 </td>
    450         <td>        </td>
    451       </tr>
    452       <tr>
    453         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
    454 </td>
    455         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    456         </td>
    457       </tr>
    458       <tr>
    459         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
    460 </td>
    461         <td>        </td>
    462       </tr>
    463       <tr>
    464         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
    465 </td>
    466         <td>        </td>
    467       </tr>
    468       <tr>
    469         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
    470 </td>
    471         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    472         </td>
    473       </tr>
    474       <tr>
    475         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
    476 </td>
    477         <td>        </td>
    478       </tr>
    479       <tr>
    480         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
    481 </td>
    482         <td>        </td>
    483       </tr>
    484       <tr>
    485         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
    486 </td>
    487         <td>        </td>
    488       </tr>
    489       <tr>
    490         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
    491 </td>
    492         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    493         </td>
    494       </tr>
    495       <tr>
    496         <td><a href='rs_value_types.html#android_rs:float3'>float3</a> convert_float3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
    497 </td>
    498         <td>        </td>
    499       </tr>
    500       <tr>
    501         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
    502 </td>
    503         <td>        </td>
    504       </tr>
    505       <tr>
    506         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
    507 </td>
    508         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    509         </td>
    510       </tr>
    511       <tr>
    512         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
    513 </td>
    514         <td>        </td>
    515       </tr>
    516       <tr>
    517         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
    518 </td>
    519         <td>        </td>
    520       </tr>
    521       <tr>
    522         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
    523 </td>
    524         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    525         </td>
    526       </tr>
    527       <tr>
    528         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
    529 </td>
    530         <td>        </td>
    531       </tr>
    532       <tr>
    533         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
    534 </td>
    535         <td>        </td>
    536       </tr>
    537       <tr>
    538         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
    539 </td>
    540         <td>        </td>
    541       </tr>
    542       <tr>
    543         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
    544 </td>
    545         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    546         </td>
    547       </tr>
    548       <tr>
    549         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
    550 </td>
    551         <td>        </td>
    552       </tr>
    553       <tr>
    554         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
    555 </td>
    556         <td>        </td>
    557       </tr>
    558       <tr>
    559         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
    560 </td>
    561         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    562         </td>
    563       </tr>
    564       <tr>
    565         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
    566 </td>
    567         <td>        </td>
    568       </tr>
    569       <tr>
    570         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
    571 </td>
    572         <td>        </td>
    573       </tr>
    574       <tr>
    575         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
    576 </td>
    577         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    578         </td>
    579       </tr>
    580       <tr>
    581         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
    582 </td>
    583         <td>        </td>
    584       </tr>
    585       <tr>
    586         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
    587 </td>
    588         <td>        </td>
    589       </tr>
    590       <tr>
    591         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
    592 </td>
    593         <td>        </td>
    594       </tr>
    595       <tr>
    596         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
    597 </td>
    598         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    599         </td>
    600       </tr>
    601       <tr>
    602         <td><a href='rs_value_types.html#android_rs:int2'>int2</a> convert_int2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
    603 </td>
    604         <td>        </td>
    605       </tr>
    606       <tr>
    607         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
    608 </td>
    609         <td>        </td>
    610       </tr>
    611       <tr>
    612         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
    613 </td>
    614         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    615         </td>
    616       </tr>
    617       <tr>
    618         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
    619 </td>
    620         <td>        </td>
    621       </tr>
    622       <tr>
    623         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
    624 </td>
    625         <td>        </td>
    626       </tr>
    627       <tr>
    628         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
    629 </td>
    630         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    631         </td>
    632       </tr>
    633       <tr>
    634         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
    635 </td>
    636         <td>        </td>
    637       </tr>
    638       <tr>
    639         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
    640 </td>
    641         <td>        </td>
    642       </tr>
    643       <tr>
    644         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
    645 </td>
    646         <td>        </td>
    647       </tr>
    648       <tr>
    649         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
    650 </td>
    651         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    652         </td>
    653       </tr>
    654       <tr>
    655         <td><a href='rs_value_types.html#android_rs:int3'>int3</a> convert_int3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
    656 </td>
    657         <td>        </td>
    658       </tr>
    659       <tr>
    660         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
    661 </td>
    662         <td>        </td>
    663       </tr>
    664       <tr>
    665         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
    666 </td>
    667         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    668         </td>
    669       </tr>
    670       <tr>
    671         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
    672 </td>
    673         <td>        </td>
    674       </tr>
    675       <tr>
    676         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
    677 </td>
    678         <td>        </td>
    679       </tr>
    680       <tr>
    681         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
    682 </td>
    683         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    684         </td>
    685       </tr>
    686       <tr>
    687         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
    688 </td>
    689         <td>        </td>
    690       </tr>
    691       <tr>
    692         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
    693 </td>
    694         <td>        </td>
    695       </tr>
    696       <tr>
    697         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
    698 </td>
    699         <td>        </td>
    700       </tr>
    701       <tr>
    702         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
    703 </td>
    704         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    705         </td>
    706       </tr>
    707       <tr>
    708         <td><a href='rs_value_types.html#android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
    709 </td>
    710         <td>        </td>
    711       </tr>
    712       <tr>
    713         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
    714 </td>
    715         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    716         </td>
    717       </tr>
    718       <tr>
    719         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
    720 </td>
    721         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    722         </td>
    723       </tr>
    724       <tr>
    725         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
    726 </td>
    727         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    728         </td>
    729       </tr>
    730       <tr>
    731         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
    732 </td>
    733         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    734         </td>
    735       </tr>
    736       <tr>
    737         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
    738 </td>
    739         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    740         </td>
    741       </tr>
    742       <tr>
    743         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
    744 </td>
    745         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    746         </td>
    747       </tr>
    748       <tr>
    749         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
    750 </td>
    751         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    752         </td>
    753       </tr>
    754       <tr>
    755         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
    756 </td>
    757         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    758         </td>
    759       </tr>
    760       <tr>
    761         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
    762 </td>
    763         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    764         </td>
    765       </tr>
    766       <tr>
    767         <td><a href='rs_value_types.html#android_rs:long2'>long2</a> convert_long2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
    768 </td>
    769         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    770         </td>
    771       </tr>
    772       <tr>
    773         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
    774 </td>
    775         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    776         </td>
    777       </tr>
    778       <tr>
    779         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
    780 </td>
    781         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    782         </td>
    783       </tr>
    784       <tr>
    785         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
    786 </td>
    787         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    788         </td>
    789       </tr>
    790       <tr>
    791         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
    792 </td>
    793         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    794         </td>
    795       </tr>
    796       <tr>
    797         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
    798 </td>
    799         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    800         </td>
    801       </tr>
    802       <tr>
    803         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
    804 </td>
    805         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    806         </td>
    807       </tr>
    808       <tr>
    809         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
    810 </td>
    811         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    812         </td>
    813       </tr>
    814       <tr>
    815         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
    816 </td>
    817         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    818         </td>
    819       </tr>
    820       <tr>
    821         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
    822 </td>
    823         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    824         </td>
    825       </tr>
    826       <tr>
    827         <td><a href='rs_value_types.html#android_rs:long3'>long3</a> convert_long3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
    828 </td>
    829         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    830         </td>
    831       </tr>
    832       <tr>
    833         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
    834 </td>
    835         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    836         </td>
    837       </tr>
    838       <tr>
    839         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
    840 </td>
    841         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    842         </td>
    843       </tr>
    844       <tr>
    845         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
    846 </td>
    847         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    848         </td>
    849       </tr>
    850       <tr>
    851         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
    852 </td>
    853         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    854         </td>
    855       </tr>
    856       <tr>
    857         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
    858 </td>
    859         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    860         </td>
    861       </tr>
    862       <tr>
    863         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
    864 </td>
    865         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    866         </td>
    867       </tr>
    868       <tr>
    869         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
    870 </td>
    871         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    872         </td>
    873       </tr>
    874       <tr>
    875         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
    876 </td>
    877         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    878         </td>
    879       </tr>
    880       <tr>
    881         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
    882 </td>
    883         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    884         </td>
    885       </tr>
    886       <tr>
    887         <td><a href='rs_value_types.html#android_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
    888 </td>
    889         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    890         </td>
    891       </tr>
    892       <tr>
    893         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
    894 </td>
    895         <td>        </td>
    896       </tr>
    897       <tr>
    898         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
    899 </td>
    900         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    901         </td>
    902       </tr>
    903       <tr>
    904         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
    905 </td>
    906         <td>        </td>
    907       </tr>
    908       <tr>
    909         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
    910 </td>
    911         <td>        </td>
    912       </tr>
    913       <tr>
    914         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
    915 </td>
    916         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    917         </td>
    918       </tr>
    919       <tr>
    920         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
    921 </td>
    922         <td>        </td>
    923       </tr>
    924       <tr>
    925         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
    926 </td>
    927         <td>        </td>
    928       </tr>
    929       <tr>
    930         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
    931 </td>
    932         <td>        </td>
    933       </tr>
    934       <tr>
    935         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
    936 </td>
    937         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    938         </td>
    939       </tr>
    940       <tr>
    941         <td><a href='rs_value_types.html#android_rs:short2'>short2</a> convert_short2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
    942 </td>
    943         <td>        </td>
    944       </tr>
    945       <tr>
    946         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
    947 </td>
    948         <td>        </td>
    949       </tr>
    950       <tr>
    951         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
    952 </td>
    953         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    954         </td>
    955       </tr>
    956       <tr>
    957         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
    958 </td>
    959         <td>        </td>
    960       </tr>
    961       <tr>
    962         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
    963 </td>
    964         <td>        </td>
    965       </tr>
    966       <tr>
    967         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
    968 </td>
    969         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    970         </td>
    971       </tr>
    972       <tr>
    973         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
    974 </td>
    975         <td>        </td>
    976       </tr>
    977       <tr>
    978         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
    979 </td>
    980         <td>        </td>
    981       </tr>
    982       <tr>
    983         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
    984 </td>
    985         <td>        </td>
    986       </tr>
    987       <tr>
    988         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
    989 </td>
    990         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
    991         </td>
    992       </tr>
    993       <tr>
    994         <td><a href='rs_value_types.html#android_rs:short3'>short3</a> convert_short3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
    995 </td>
    996         <td>        </td>
    997       </tr>
    998       <tr>
    999         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
   1000 </td>
   1001         <td>        </td>
   1002       </tr>
   1003       <tr>
   1004         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
   1005 </td>
   1006         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1007         </td>
   1008       </tr>
   1009       <tr>
   1010         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
   1011 </td>
   1012         <td>        </td>
   1013       </tr>
   1014       <tr>
   1015         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
   1016 </td>
   1017         <td>        </td>
   1018       </tr>
   1019       <tr>
   1020         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
   1021 </td>
   1022         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1023         </td>
   1024       </tr>
   1025       <tr>
   1026         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
   1027 </td>
   1028         <td>        </td>
   1029       </tr>
   1030       <tr>
   1031         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
   1032 </td>
   1033         <td>        </td>
   1034       </tr>
   1035       <tr>
   1036         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
   1037 </td>
   1038         <td>        </td>
   1039       </tr>
   1040       <tr>
   1041         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
   1042 </td>
   1043         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1044         </td>
   1045       </tr>
   1046       <tr>
   1047         <td><a href='rs_value_types.html#android_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
   1048 </td>
   1049         <td>        </td>
   1050       </tr>
   1051       <tr>
   1052         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
   1053 </td>
   1054         <td>        </td>
   1055       </tr>
   1056       <tr>
   1057         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
   1058 </td>
   1059         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1060         </td>
   1061       </tr>
   1062       <tr>
   1063         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
   1064 </td>
   1065         <td>        </td>
   1066       </tr>
   1067       <tr>
   1068         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
   1069 </td>
   1070         <td>        </td>
   1071       </tr>
   1072       <tr>
   1073         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
   1074 </td>
   1075         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1076         </td>
   1077       </tr>
   1078       <tr>
   1079         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
   1080 </td>
   1081         <td>        </td>
   1082       </tr>
   1083       <tr>
   1084         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
   1085 </td>
   1086         <td>        </td>
   1087       </tr>
   1088       <tr>
   1089         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
   1090 </td>
   1091         <td>        </td>
   1092       </tr>
   1093       <tr>
   1094         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
   1095 </td>
   1096         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1097         </td>
   1098       </tr>
   1099       <tr>
   1100         <td><a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> convert_uchar2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
   1101 </td>
   1102         <td>        </td>
   1103       </tr>
   1104       <tr>
   1105         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
   1106 </td>
   1107         <td>        </td>
   1108       </tr>
   1109       <tr>
   1110         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
   1111 </td>
   1112         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1113         </td>
   1114       </tr>
   1115       <tr>
   1116         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
   1117 </td>
   1118         <td>        </td>
   1119       </tr>
   1120       <tr>
   1121         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
   1122 </td>
   1123         <td>        </td>
   1124       </tr>
   1125       <tr>
   1126         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
   1127 </td>
   1128         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1129         </td>
   1130       </tr>
   1131       <tr>
   1132         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
   1133 </td>
   1134         <td>        </td>
   1135       </tr>
   1136       <tr>
   1137         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
   1138 </td>
   1139         <td>        </td>
   1140       </tr>
   1141       <tr>
   1142         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
   1143 </td>
   1144         <td>        </td>
   1145       </tr>
   1146       <tr>
   1147         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
   1148 </td>
   1149         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1150         </td>
   1151       </tr>
   1152       <tr>
   1153         <td><a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> convert_uchar3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
   1154 </td>
   1155         <td>        </td>
   1156       </tr>
   1157       <tr>
   1158         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
   1159 </td>
   1160         <td>        </td>
   1161       </tr>
   1162       <tr>
   1163         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
   1164 </td>
   1165         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1166         </td>
   1167       </tr>
   1168       <tr>
   1169         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
   1170 </td>
   1171         <td>        </td>
   1172       </tr>
   1173       <tr>
   1174         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
   1175 </td>
   1176         <td>        </td>
   1177       </tr>
   1178       <tr>
   1179         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
   1180 </td>
   1181         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1182         </td>
   1183       </tr>
   1184       <tr>
   1185         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
   1186 </td>
   1187         <td>        </td>
   1188       </tr>
   1189       <tr>
   1190         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
   1191 </td>
   1192         <td>        </td>
   1193       </tr>
   1194       <tr>
   1195         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
   1196 </td>
   1197         <td>        </td>
   1198       </tr>
   1199       <tr>
   1200         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
   1201 </td>
   1202         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1203         </td>
   1204       </tr>
   1205       <tr>
   1206         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
   1207 </td>
   1208         <td>        </td>
   1209       </tr>
   1210       <tr>
   1211         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
   1212 </td>
   1213         <td>        </td>
   1214       </tr>
   1215       <tr>
   1216         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
   1217 </td>
   1218         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1219         </td>
   1220       </tr>
   1221       <tr>
   1222         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
   1223 </td>
   1224         <td>        </td>
   1225       </tr>
   1226       <tr>
   1227         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
   1228 </td>
   1229         <td>        </td>
   1230       </tr>
   1231       <tr>
   1232         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
   1233 </td>
   1234         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1235         </td>
   1236       </tr>
   1237       <tr>
   1238         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
   1239 </td>
   1240         <td>        </td>
   1241       </tr>
   1242       <tr>
   1243         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
   1244 </td>
   1245         <td>        </td>
   1246       </tr>
   1247       <tr>
   1248         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
   1249 </td>
   1250         <td>        </td>
   1251       </tr>
   1252       <tr>
   1253         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
   1254 </td>
   1255         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1256         </td>
   1257       </tr>
   1258       <tr>
   1259         <td><a href='rs_value_types.html#android_rs:uint2'>uint2</a> convert_uint2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
   1260 </td>
   1261         <td>        </td>
   1262       </tr>
   1263       <tr>
   1264         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
   1265 </td>
   1266         <td>        </td>
   1267       </tr>
   1268       <tr>
   1269         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
   1270 </td>
   1271         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1272         </td>
   1273       </tr>
   1274       <tr>
   1275         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
   1276 </td>
   1277         <td>        </td>
   1278       </tr>
   1279       <tr>
   1280         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
   1281 </td>
   1282         <td>        </td>
   1283       </tr>
   1284       <tr>
   1285         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
   1286 </td>
   1287         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1288         </td>
   1289       </tr>
   1290       <tr>
   1291         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
   1292 </td>
   1293         <td>        </td>
   1294       </tr>
   1295       <tr>
   1296         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
   1297 </td>
   1298         <td>        </td>
   1299       </tr>
   1300       <tr>
   1301         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
   1302 </td>
   1303         <td>        </td>
   1304       </tr>
   1305       <tr>
   1306         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
   1307 </td>
   1308         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1309         </td>
   1310       </tr>
   1311       <tr>
   1312         <td><a href='rs_value_types.html#android_rs:uint3'>uint3</a> convert_uint3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
   1313 </td>
   1314         <td>        </td>
   1315       </tr>
   1316       <tr>
   1317         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
   1318 </td>
   1319         <td>        </td>
   1320       </tr>
   1321       <tr>
   1322         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
   1323 </td>
   1324         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1325         </td>
   1326       </tr>
   1327       <tr>
   1328         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
   1329 </td>
   1330         <td>        </td>
   1331       </tr>
   1332       <tr>
   1333         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
   1334 </td>
   1335         <td>        </td>
   1336       </tr>
   1337       <tr>
   1338         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
   1339 </td>
   1340         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1341         </td>
   1342       </tr>
   1343       <tr>
   1344         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
   1345 </td>
   1346         <td>        </td>
   1347       </tr>
   1348       <tr>
   1349         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
   1350 </td>
   1351         <td>        </td>
   1352       </tr>
   1353       <tr>
   1354         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
   1355 </td>
   1356         <td>        </td>
   1357       </tr>
   1358       <tr>
   1359         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
   1360 </td>
   1361         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1362         </td>
   1363       </tr>
   1364       <tr>
   1365         <td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
   1366 </td>
   1367         <td>        </td>
   1368       </tr>
   1369       <tr>
   1370         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
   1371 </td>
   1372         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1373         </td>
   1374       </tr>
   1375       <tr>
   1376         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
   1377 </td>
   1378         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1379         </td>
   1380       </tr>
   1381       <tr>
   1382         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
   1383 </td>
   1384         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1385         </td>
   1386       </tr>
   1387       <tr>
   1388         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
   1389 </td>
   1390         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1391         </td>
   1392       </tr>
   1393       <tr>
   1394         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
   1395 </td>
   1396         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1397         </td>
   1398       </tr>
   1399       <tr>
   1400         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
   1401 </td>
   1402         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1403         </td>
   1404       </tr>
   1405       <tr>
   1406         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
   1407 </td>
   1408         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1409         </td>
   1410       </tr>
   1411       <tr>
   1412         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
   1413 </td>
   1414         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1415         </td>
   1416       </tr>
   1417       <tr>
   1418         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
   1419 </td>
   1420         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1421         </td>
   1422       </tr>
   1423       <tr>
   1424         <td><a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> convert_ulong2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
   1425 </td>
   1426         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1427         </td>
   1428       </tr>
   1429       <tr>
   1430         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
   1431 </td>
   1432         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1433         </td>
   1434       </tr>
   1435       <tr>
   1436         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
   1437 </td>
   1438         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1439         </td>
   1440       </tr>
   1441       <tr>
   1442         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
   1443 </td>
   1444         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1445         </td>
   1446       </tr>
   1447       <tr>
   1448         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
   1449 </td>
   1450         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1451         </td>
   1452       </tr>
   1453       <tr>
   1454         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
   1455 </td>
   1456         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1457         </td>
   1458       </tr>
   1459       <tr>
   1460         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
   1461 </td>
   1462         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1463         </td>
   1464       </tr>
   1465       <tr>
   1466         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
   1467 </td>
   1468         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1469         </td>
   1470       </tr>
   1471       <tr>
   1472         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
   1473 </td>
   1474         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1475         </td>
   1476       </tr>
   1477       <tr>
   1478         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
   1479 </td>
   1480         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1481         </td>
   1482       </tr>
   1483       <tr>
   1484         <td><a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> convert_ulong3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
   1485 </td>
   1486         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1487         </td>
   1488       </tr>
   1489       <tr>
   1490         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
   1491 </td>
   1492         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1493         </td>
   1494       </tr>
   1495       <tr>
   1496         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
   1497 </td>
   1498         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1499         </td>
   1500       </tr>
   1501       <tr>
   1502         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
   1503 </td>
   1504         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1505         </td>
   1506       </tr>
   1507       <tr>
   1508         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
   1509 </td>
   1510         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1511         </td>
   1512       </tr>
   1513       <tr>
   1514         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
   1515 </td>
   1516         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1517         </td>
   1518       </tr>
   1519       <tr>
   1520         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
   1521 </td>
   1522         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1523         </td>
   1524       </tr>
   1525       <tr>
   1526         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
   1527 </td>
   1528         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1529         </td>
   1530       </tr>
   1531       <tr>
   1532         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
   1533 </td>
   1534         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1535         </td>
   1536       </tr>
   1537       <tr>
   1538         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
   1539 </td>
   1540         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1541         </td>
   1542       </tr>
   1543       <tr>
   1544         <td><a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> convert_ulong4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
   1545 </td>
   1546         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1547         </td>
   1548       </tr>
   1549       <tr>
   1550         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:char2'>char2</a> v);
   1551 </td>
   1552         <td>        </td>
   1553       </tr>
   1554       <tr>
   1555         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:double2'>double2</a> v);
   1556 </td>
   1557         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1558         </td>
   1559       </tr>
   1560       <tr>
   1561         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:float2'>float2</a> v);
   1562 </td>
   1563         <td>        </td>
   1564       </tr>
   1565       <tr>
   1566         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:int2'>int2</a> v);
   1567 </td>
   1568         <td>        </td>
   1569       </tr>
   1570       <tr>
   1571         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:long2'>long2</a> v);
   1572 </td>
   1573         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1574         </td>
   1575       </tr>
   1576       <tr>
   1577         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:short2'>short2</a> v);
   1578 </td>
   1579         <td>        </td>
   1580       </tr>
   1581       <tr>
   1582         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> v);
   1583 </td>
   1584         <td>        </td>
   1585       </tr>
   1586       <tr>
   1587         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:uint2'>uint2</a> v);
   1588 </td>
   1589         <td>        </td>
   1590       </tr>
   1591       <tr>
   1592         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> v);
   1593 </td>
   1594         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1595         </td>
   1596       </tr>
   1597       <tr>
   1598         <td><a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> convert_ushort2(<a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> v);
   1599 </td>
   1600         <td>        </td>
   1601       </tr>
   1602       <tr>
   1603         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:char3'>char3</a> v);
   1604 </td>
   1605         <td>        </td>
   1606       </tr>
   1607       <tr>
   1608         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:double3'>double3</a> v);
   1609 </td>
   1610         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1611         </td>
   1612       </tr>
   1613       <tr>
   1614         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:float3'>float3</a> v);
   1615 </td>
   1616         <td>        </td>
   1617       </tr>
   1618       <tr>
   1619         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:int3'>int3</a> v);
   1620 </td>
   1621         <td>        </td>
   1622       </tr>
   1623       <tr>
   1624         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:long3'>long3</a> v);
   1625 </td>
   1626         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1627         </td>
   1628       </tr>
   1629       <tr>
   1630         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:short3'>short3</a> v);
   1631 </td>
   1632         <td>        </td>
   1633       </tr>
   1634       <tr>
   1635         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> v);
   1636 </td>
   1637         <td>        </td>
   1638       </tr>
   1639       <tr>
   1640         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:uint3'>uint3</a> v);
   1641 </td>
   1642         <td>        </td>
   1643       </tr>
   1644       <tr>
   1645         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> v);
   1646 </td>
   1647         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1648         </td>
   1649       </tr>
   1650       <tr>
   1651         <td><a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> convert_ushort3(<a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> v);
   1652 </td>
   1653         <td>        </td>
   1654       </tr>
   1655       <tr>
   1656         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:char4'>char4</a> v);
   1657 </td>
   1658         <td>        </td>
   1659       </tr>
   1660       <tr>
   1661         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:double4'>double4</a> v);
   1662 </td>
   1663         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1664         </td>
   1665       </tr>
   1666       <tr>
   1667         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:float4'>float4</a> v);
   1668 </td>
   1669         <td>        </td>
   1670       </tr>
   1671       <tr>
   1672         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:int4'>int4</a> v);
   1673 </td>
   1674         <td>        </td>
   1675       </tr>
   1676       <tr>
   1677         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:long4'>long4</a> v);
   1678 </td>
   1679         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1680         </td>
   1681       </tr>
   1682       <tr>
   1683         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:short4'>short4</a> v);
   1684 </td>
   1685         <td>        </td>
   1686       </tr>
   1687       <tr>
   1688         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> v);
   1689 </td>
   1690         <td>        </td>
   1691       </tr>
   1692       <tr>
   1693         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v);
   1694 </td>
   1695         <td>        </td>
   1696       </tr>
   1697       <tr>
   1698         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> v);
   1699 </td>
   1700         <td>    Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
   1701         </td>
   1702       </tr>
   1703       <tr>
   1704         <td><a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> convert_ushort4(<a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> v);
   1705 </td>
   1706         <td>        </td>
   1707       </tr>
   1708     </tbody></table>
   1709   </div>
   1710   <div class='jd-tagdata jd-tagdescr'>
   1711 <p> Converts a vector from one numerical type to another.  The conversion are done entry per entry.
   1712 </p>
   1713 
   1714 <p> E.g calling <code>a = convert_short3(b);</code> is equivalent to doing
   1715 <code>a.x = (short)b.x; a.y = (short)b.y; a.z = (short)b.z;</code>.
   1716 </p>
   1717 
   1718 <p> Converting floating point values to integer types truncates.
   1719 </p>
   1720 
   1721 <p> Converting numbers too large to fit the destination type yields undefined results.
   1722 For example, converting a float that contains 1.0e18 to a short is undefined.
   1723 Use <a href='rs_math.html#android_rs:clamp'>clamp</a>() to avoid this.
   1724 </p>
   1725   </div>
   1726 </div>
   1727 
   1728 <a name='android_rs:rsPackColorTo8888'></a>
   1729 <div class='jd-details'>
   1730   <h4 class='jd-details-title'>
   1731     <span class='sympad'>rsPackColorTo8888</span>
   1732     <span class='normal'>: Create a uchar4 RGBA from floats</span>
   1733   </h4>
   1734   <div class='jd-details-descr'>
   1735     <table class='jd-tagtable'><tbody>
   1736       <tr>
   1737         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> rsPackColorTo8888(float r, float g, float b);
   1738 </td>
   1739         <td>        </td>
   1740       </tr>
   1741       <tr>
   1742         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> rsPackColorTo8888(float r, float g, float b, float a);
   1743 </td>
   1744         <td>        </td>
   1745       </tr>
   1746       <tr>
   1747         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> rsPackColorTo8888(<a href='rs_value_types.html#android_rs:float3'>float3</a> color);
   1748 </td>
   1749         <td>        </td>
   1750       </tr>
   1751       <tr>
   1752         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> rsPackColorTo8888(<a href='rs_value_types.html#android_rs:float4'>float4</a> color);
   1753 </td>
   1754         <td>        </td>
   1755       </tr>
   1756     </tbody></table>
   1757   </div>
   1758   <div class='jd-tagdata'>    <h5 class='jd-tagtitle'>Parameters</h5>
   1759     <table class='jd-tagtable'><tbody>
   1760     <tr><th>r</th><td>Red component.</td></tr>
   1761     <tr><th>g</th><td>Green component.</td></tr>
   1762     <tr><th>b</th><td>Blue component.</td></tr>
   1763     <tr><th>a</th><td>Alpha component.</td></tr>
   1764     <tr><th>color</th><td>Vector of 3 or 4 floats containing the R, G, B, and A values.</td></tr>
   1765     </tbody></table>
   1766   </div>
   1767   <div class='jd-tagdata jd-tagdescr'>
   1768 <p> Packs three or four floating point RGBA values into a uchar4.
   1769 </p>
   1770 
   1771 <p> The input values are typically between 0.0f and 1.0f inclusive.  For input values outside
   1772 of this range, the resulting outputs will be clamped to be between 0 and 255.  As this
   1773 clamping may be done after the input is multiplied by 255.f and converted to an integer,
   1774 input numbers greater than INT_MAX/255.f or less than INT_MIN/255.f result in
   1775 undefined behavior.
   1776 </p>
   1777 
   1778 <p> If the alpha component is not specified, it is assumed to be 1.0, i.e. the result will
   1779 have an alpha set to 255.
   1780 </p>
   1781   </div>
   1782 </div>
   1783 
   1784 <a name='android_rs:rsUnpackColor8888'></a>
   1785 <div class='jd-details'>
   1786   <h4 class='jd-details-title'>
   1787     <span class='sympad'>rsUnpackColor8888</span>
   1788     <span class='normal'>: Create a float4 RGBA from uchar4</span>
   1789   </h4>
   1790   <div class='jd-details-descr'>
   1791     <table class='jd-tagtable'><tbody>
   1792       <tr>
   1793         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsUnpackColor8888(<a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> c);
   1794 </td>
   1795         <td>        </td>
   1796       </tr>
   1797     </tbody></table>
   1798   </div>
   1799   <div class='jd-tagdata jd-tagdescr'>
   1800 <p> Unpacks a uchar4 color to float4.  The resulting floats will be between 0.0 and 1.0 inclusive.
   1801 </p>
   1802   </div>
   1803 </div>
   1804 
   1805 <a name='android_rs:rsYuvToRGBA'></a>
   1806 <div class='jd-details'>
   1807   <h4 class='jd-details-title'>
   1808     <span class='sympad'>rsYuvToRGBA</span>
   1809     <span class='normal'>: Convert a YUV value to RGBA</span>
   1810   </h4>
   1811   <div class='jd-details-descr'>
   1812     <table class='jd-tagtable'><tbody>
   1813       <tr>
   1814         <td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsYuvToRGBA_float4(<a href='rs_value_types.html#android_rs:uchar'>uchar</a> y, <a href='rs_value_types.html#android_rs:uchar'>uchar</a> u, <a href='rs_value_types.html#android_rs:uchar'>uchar</a> v);
   1815 </td>
   1816         <td>        </td>
   1817       </tr>
   1818       <tr>
   1819         <td><a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> rsYuvToRGBA_uchar4(<a href='rs_value_types.html#android_rs:uchar'>uchar</a> y, <a href='rs_value_types.html#android_rs:uchar'>uchar</a> u, <a href='rs_value_types.html#android_rs:uchar'>uchar</a> v);
   1820 </td>
   1821         <td>        </td>
   1822       </tr>
   1823     </tbody></table>
   1824   </div>
   1825   <div class='jd-tagdata'>    <h5 class='jd-tagtitle'>Parameters</h5>
   1826     <table class='jd-tagtable'><tbody>
   1827     <tr><th>y</th><td>Luminance component.</td></tr>
   1828     <tr><th>u</th><td>U chrominance component.</td></tr>
   1829     <tr><th>v</th><td>V chrominance component.</td></tr>
   1830     </tbody></table>
   1831   </div>
   1832   <div class='jd-tagdata jd-tagdescr'>
   1833 <p> Converts a color from a YUV representation to RGBA.
   1834 </p>
   1835 
   1836 <p> We currently don't provide a function to do the reverse conversion.
   1837 </p>
   1838   </div>
   1839 </div>
   1840 
   1841 </div>
   1842