FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | dim3 |
Macros | |
#define | __global__ __attribute__((global)) |
#define | __device__ __attribute__((device)) |
#define | __device_builtin__ __attribute__((device_builtin)) |
#define | __align__(N) __attribute__((aligned(N))) |
#define | __inline__ __inline__ __attribute__((always_inline)) |
#define | max(a, b) ((a) > (b) ? (a) : (b)) |
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
#define | abs(x) ((x) < 0 ? -(x) : (x)) |
#define | atomicAdd(a, b) (__atomic_fetch_add(a, b, __ATOMIC_SEQ_CST)) |
#define | GETCOMP(reg, comp) |
#define | GET(name, reg) |
#define | blockIdx (getBlockIdx()) |
#define | blockDim (getBlockDim()) |
#define | threadIdx (getThreadIdx()) |
#define | make_uchar2(a, b) ((uchar2){.x = a, .y = b}) |
#define | make_ushort2(a, b) ((ushort2){.x = a, .y = b}) |
#define | make_uchar4(a, b, c, d) ((uchar4){.x = a, .y = b, .z = c, .w = d}) |
#define | make_ushort4(a, b, c, d) ((ushort4){.x = a, .y = b, .z = c, .w = d}) |
#define | TEX2D(type, ret) static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} |
Typedefs | |
typedef __device_builtin__ unsigned long long | cudaTextureObject_t |
Functions | |
struct __device_builtin__ | __align__ (2) uchar2 |
struct __device_builtin__ | __align__ (4) ushort2 |
struct __device_builtin__ | __align__ (8) int2 |
struct __device_builtin__ | __align__ (16) int4 |
template<class T > | |
static __device__ T | tex2D (cudaTextureObject_t texObject, float x, float y) |
Variables | |
uchar2 | |
ushort2 | |
int2 | |
uchar4 | |
ushort4 | |
int4 | |
#define __global__ __attribute__((global)) |
Definition at line 27 of file cuda_runtime.h.
#define __device__ __attribute__((device)) |
Definition at line 28 of file cuda_runtime.h.
#define __device_builtin__ __attribute__((device_builtin)) |
Definition at line 29 of file cuda_runtime.h.
Definition at line 30 of file cuda_runtime.h.
#define __inline__ __inline__ __attribute__((always_inline)) |
Definition at line 31 of file cuda_runtime.h.
#define abs | ( | x | ) | ((x) < 0 ? -(x) : (x)) |
Definition at line 35 of file cuda_runtime.h.
Definition at line 37 of file cuda_runtime.h.
#define GETCOMP | ( | reg, | |
comp | |||
) |
Definition at line 80 of file cuda_runtime.h.
#define GET | ( | name, | |
reg | |||
) |
Definition at line 84 of file cuda_runtime.h.
#define blockIdx (getBlockIdx()) |
Definition at line 98 of file cuda_runtime.h.
#define blockDim (getBlockDim()) |
Definition at line 99 of file cuda_runtime.h.
#define threadIdx (getThreadIdx()) |
Definition at line 100 of file cuda_runtime.h.
Definition at line 103 of file cuda_runtime.h.
Definition at line 104 of file cuda_runtime.h.
Definition at line 105 of file cuda_runtime.h.
Definition at line 106 of file cuda_runtime.h.
#define TEX2D | ( | type, | |
ret | |||
) | static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);} |
Definition at line 109 of file cuda_runtime.h.
typedef __device_builtin__ unsigned long long cudaTextureObject_t |
Definition at line 40 of file cuda_runtime.h.
struct __device_builtin__ __align__ | ( | 2 | ) |
Definition at line 42 of file cuda_runtime.h.
struct __device_builtin__ __align__ | ( | 4 | ) |
Definition at line 47 of file cuda_runtime.h.
struct __device_builtin__ __align__ | ( | 8 | ) |
Definition at line 59 of file cuda_runtime.h.
struct __device_builtin__ __align__ | ( | 16 | ) |
Definition at line 74 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 120 of file cuda_runtime.h.
uchar2 |
Definition at line 45 of file cuda_runtime.h.
ushort2 |
Definition at line 50 of file cuda_runtime.h.
int2 |
Definition at line 62 of file cuda_runtime.h.
uchar4 |
Definition at line 67 of file cuda_runtime.h.
ushort4 |
Definition at line 72 of file cuda_runtime.h.
int4 |
Definition at line 77 of file cuda_runtime.h.