#include <endian.h>
Go to the source code of this file.
Classes | |
struct | CameraParameters |
class | Data |
Defines | |
#define | __Swap2Bytes(val) ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ) |
#define | __Swap2Bytes(val) ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ) |
#define | __Swap2BytesD(val) (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )) |
#define | __Swap2BytesD(val) (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )) |
#define | __Swap4Bytes(dword) ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) ) |
#define | __Swap4Bytes(dword) ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) ) |
#define | __Swap8Bytes(val) (swapLong(val)) |
#define | __Swap8Bytes(val) (swapLong(val)) |
Functions | |
uint64_t | swapLong (uint64_t x) |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file data.h.
#define __Swap2Bytes | ( | val | ) | ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ) |
#define __Swap2Bytes | ( | val | ) | ( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) ) |
#define __Swap2BytesD | ( | val | ) | (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )) |
#define __Swap2BytesD | ( | val | ) | (val>7490?0:( (((val) >> 8) & 0x00FF) | (((val) << 8) & 0xFF00) )) |
#define __Swap4Bytes | ( | dword | ) | ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) ) |
#define __Swap4Bytes | ( | dword | ) | ( ((dword>>24)&0x000000FF) | ((dword>>8)&0x0000FF00) | ((dword<<8)&0x00FF0000) | ((dword<<24)&0xFF000000) ) |
#define __Swap8Bytes | ( | val | ) | (swapLong(val)) |
#define __Swap8Bytes | ( | val | ) | (swapLong(val)) |