SEDRIS Reference Manual
APPENDIX B - Transmittal Access Level 1 API Functions SE GetRearrangedImageData |
---|
extern SE_Status_Code | ||||
SE_GetRearrangedImageData | ||||
( | ||||
SE_Object | image, | 1 | ||
const | SE_Image_Texel_Location_3D | * | start_texel, | 2 |
const | SE_Image_Texel_Location_3D | * | stop_texel, | 3 |
SE_Short_Integer_Unsigned | mip_level, | 4 | ||
const | SE_Desired_Image_Parameters | * | desired_image_parameters_ptr, | 5 |
SE_Image_Data | * | data_out_ptr | 6 | |
); |
Copy (rearranging and sampling as necessary) the selected texels from the selected area of interest of the given Image into a space in memory that the user has already allocated to hold this data.
An <Image> is a set of 2- or 3-dimensional collections of texel values. The number of MIP levels for the <Image> defines the number of 2- or 3- dimensional collections in the <Image>. The definition of the <Image> will define the number of texels in each MIP level and the number of bits (not just bytes, but bits) for each texel.
NOTE: The first 8 parameters are identical to those of the Level 0 Read API SE_GetImageData() function.
SE_STATCODE_SUCCESS | and image's texels are retrieved and copied into data_out_ptr in the specified manner, if valid parameters were passed in and all operations succeeded. (The original texels of image itself are unaffected.) |
SE_STATCODE_UNRESOLVED_OUTPUT_OBJECT | and *data_out_ptr is left unaltered, if image is unresolved. |
SE_STATCODE_INACTIONABLE_FAILURE |
*data_out_ptr is not affected, if
|
1 the <Image> instance
2 the starting texel index of the <Image> instance data to be retrieved; must be less than or equal to stop_texel, and must be valid for the specified MIP level of image.
3 the stopping texel index of the <Image> instance data to be retrieved; must be greater than or equal to start_texel, and must be valid for the specified MIP level of image.
4 the MIP level of the <Image> from which the data will be returned. Each <Image> has at least one MIP level. Many <Image>s have multiple MIP levels. Data can only be retrieved from one MIP level at a time (only one MIP level per SE_GetImageData() call).
5 a pointer to a structure containing the "rearranging" parameters that the user must supply to rearrange the data of the <Image> instance which was passed in.
6 a pointer to a structure, already allocated in the user's memory space, which will be filled by this function with the appropriate values. This memory space is entirely under the user's control. The only time the API accesses this memory is when the API copies data into the memory during this function call.
Prev: SE_GetDataTableSubExtent.
Next: SE_GetSizeOfImageData.
Up:Index.
|