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_int2(a, b) ((int2){.x = a, .y = b}) |
#define | make_uchar2(a, b) ((uchar2){.x = a, .y = b}) |
#define | make_ushort2(a, b) ((ushort2){.x = a, .y = b}) |
#define | make_float2(a, b) ((float2){.x = a, .y = b}) |
#define | make_int4(a, b, c, d) ((int4){.x = a, .y = b, .z = c, .w = d}) |
#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 | make_float4(a, b, c, d) ((float4){.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) float2 |
struct __device_builtin__ | __align__ (16) int4 |
template<typename T > | |
__device__ T | tex2D (cudaTextureObject_t texObject, float x, float y) |
template<> | |
__device__ float4 | tex2D< float4 > (cudaTextureObject_t texObject, float x, float y) |
template<> | |
__device__ float | tex2D< float > (cudaTextureObject_t texObject, float x, float y) |
template<> | |
__device__ float2 | tex2D< float2 > (cudaTextureObject_t texObject, float x, float y) |
static __device__ float | floorf (float a) |
static __device__ float | floor (float a) |
static __device__ double | floor (double a) |
static __device__ float | ceilf (float a) |
static __device__ float | ceil (float a) |
static __device__ double | ceil (double a) |
static __device__ float | truncf (float a) |
static __device__ float | trunc (float a) |
static __device__ double | trunc (double a) |
static __device__ float | fabsf (float a) |
static __device__ float | fabs (float a) |
static __device__ double | fabs (double a) |
static __device__ float | __sinf (float a) |
static __device__ float | __cosf (float a) |
Variables | |
uchar2 | |
ushort2 | |
float2 | |
int2 | |
uchar4 | |
ushort4 | |
int4 | |
float4 | |
#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 90 of file cuda_runtime.h.
#define GET | ( | name, | |
reg | |||
) |
Definition at line 94 of file cuda_runtime.h.
#define blockIdx (getBlockIdx()) |
Definition at line 108 of file cuda_runtime.h.
#define blockDim (getBlockDim()) |
Definition at line 109 of file cuda_runtime.h.
#define threadIdx (getThreadIdx()) |
Definition at line 110 of file cuda_runtime.h.
Definition at line 114 of file cuda_runtime.h.
Definition at line 115 of file cuda_runtime.h.
Definition at line 116 of file cuda_runtime.h.
Definition at line 117 of file cuda_runtime.h.
Definition at line 118 of file cuda_runtime.h.
Definition at line 119 of file cuda_runtime.h.
Definition at line 120 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 123 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 52 of file cuda_runtime.h.
struct __device_builtin__ __align__ | ( | 16 | ) |
Definition at line 79 of file cuda_runtime.h.
|
inline |
Definition at line 137 of file cuda_runtime.h.
|
inline |
Definition at line 149 of file cuda_runtime.h.
Referenced by tex2D< float >(), and tex2D< float2 >().
|
inline |
Definition at line 159 of file cuda_runtime.h.
|
inline |
Definition at line 165 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 172 of file cuda_runtime.h.
Referenced by barrelsplit_to_xyz(), cube1x6_to_xyz(), cube3x2_to_xyz(), cube6x1_to_xyz(), eac_to_xyz(), fract(), frand(), lerp_colors(), lerp_colors16(), xyz_to_ball(), xyz_to_barrel(), xyz_to_barrelsplit(), xyz_to_cube1x6(), xyz_to_cube3x2(), xyz_to_cube6x1(), xyz_to_cylindrical(), xyz_to_dfisheye(), xyz_to_eac(), xyz_to_equirect(), xyz_to_equisolid(), xyz_to_fisheye(), xyz_to_flat(), xyz_to_hammer(), xyz_to_hequirect(), xyz_to_mercator(), xyz_to_octahedron(), xyz_to_orthographic(), xyz_to_pannini(), xyz_to_sinusoidal(), xyz_to_stereographic(), xyz_to_tetrahedron(), and xyz_to_tspyramid().
|
inlinestatic |
Definition at line 173 of file cuda_runtime.h.
Referenced by ac3_bit_alloc_calc_bap_c(), analyze_mono(), analyze_stereo(), av_d2q(), calc_lsq_max_fit_error(), celt_quant_fine(), cng_encode_frame(), compute_sat_hue_metrics16(), compute_sat_hue_metrics8(), config_props(), create_map(), draw_mandelbrot(), eval_expr(), ff_dnn_execute_layer_math_unary(), ff_kbd_window_init_fixed(), ff_ref_fdct(), ff_ref_idct(), ff_rint(), filter_frame(), floor_encode(), get_expected(), get_rotation(), init_cqt(), libdav1d_init(), MPA_encode_init(), printval(), qdmc_decode_init(), rint(), round(), roundf(), sox_read_header(), tansig_approx(), trunc(), truncf(), vorbis_parse_audio_packet(), and wavesynth_init().
|
inlinestatic |
Definition at line 174 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 175 of file cuda_runtime.h.
Referenced by config_input(), cube1x6_to_xyz(), cube3x2_to_xyz(), cube6x1_to_xyz(), ff_opus_psy_init(), kaiser_params(), opus_encode_init(), select_frame(), set_special_band_scalefactors(), xyz_to_cube1x6(), xyz_to_cube3x2(), xyz_to_cube6x1(), and xyz_to_dfisheye().
|
inlinestatic |
Definition at line 176 of file cuda_runtime.h.
Referenced by avi_write_header(), config_output(), draw_legend(), draw_response(), eval_expr(), ff_audio_resample_init(), ff_dnn_execute_layer_avg_pool(), ff_dnn_execute_layer_math_unary(), ff_rint(), ff_vbv_update(), get_expected(), init_cqt(), initFilter(), libdav1d_init(), makelayers(), on2avc_decode_init(), printval(), request_frame(), resample_init(), rint(), round(), roundf(), segment_list_open(), set_params(), trunc(), truncf(), and unsharp_opencl_make_filter_params().
|
inlinestatic |
Definition at line 177 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 178 of file cuda_runtime.h.
Referenced by amrnb_decode_frame(), and amrwb_decode_frame().
|
inlinestatic |
Definition at line 179 of file cuda_runtime.h.
Referenced by eval_expr(), and fwht_1d().
|
inlinestatic |
Definition at line 180 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 181 of file cuda_runtime.h.
Referenced by aac_encode_frame(), abs_pow34_v(), adaptive_gain_control(), amplify_frame(), calculate_cubic_bc_coeffs(), checkasm_check_synth_filter(), decode_spectrum_and_dequant(), elliott(), envelope(), equal(), ff_pnm_decode_header(), filter_2_1(), filter_5_0_side(), filter_5_1_back(), filter_5_1_side(), filter_frame(), filter_stereo(), filter_surround(), find_form_factor(), fir_to_phase(), float_near_abs_eps(), headphone_convolute(), headphone_fast_convolute(), IsAlmostEqual(), main(), octahedron_to_xyz(), quantize_and_encode_band_cost_template(), search_for_quantizers_anmr(), search_for_quantizers_twoloop(), set_params(), smooth(), sofalizer_convolute(), sofalizer_fast_convolute(), stereo_transform(), synthesis(), tetrahedron_to_xyz(), thresholding(), to_linear(), upmix_1_0(), upmix_3_0(), upmix_3_1(), upmix_4_0(), upmix_4_1(), upmix_5_0_back(), upmix_5_1_back(), upmix_5_1_back_2_1(), upmix_6_0(), upmix_6_1(), upmix_7_0(), upmix_7_1(), upmix_7_1_5_0_side(), upmix_7_1_5_1(), xyz_to_dfisheye(), xyz_to_flat(), and xyz_to_octahedron().
|
inlinestatic |
Definition at line 182 of file cuda_runtime.h.
Referenced by aac_encode_frame(), av_d2q(), av_guess_frame_rate(), avformat_find_stream_info(), avresample_build_matrix(), bessel(), bitreduction(), build_filter(), butter_filter_stereo_samples(), calc_thr_3gpp(), check_diff(), check_external_clock_speed(), check_values(), compand_delay(), compand_nodelay(), compare(), compressor(), compute_acc_den(), compute_acc_num(), compute_peak(), compute_quant_matrix(), compute_target_delay(), config_filter(), config_input(), config_output(), config_props(), configure_input_video_filter(), configure_video_device(), cubic_interpolate_func(), D(), dct_error(), decfloat(), decode_lspf(), decompose_zp2biquads(), detect_clicks(), detect_clips(), detect_peak(), detect_scene_change(), double_near_abs_eps(), draw_response(), dump_fir(), encode_block(), evrc_decode_frame(), expand(), factor(), ff_inlink_evaluate_timeline_at_frame(), ff_lpc_calc_coefs(), ff_mdct15_init(), ff_mdct_init(), ff_pca(), ff_rfps_calculate(), filter_frame(), filter_slice(), filter_slice_grey_edge(), find_peak_magnitude(), fir_to_phase(), fixed_gain_smooth(), frame_erasure(), gate(), gen_mdct_exptab(), generate_kernel(), generate_window_func(), get_coeff(), get_floor_average(), get_rotation(), get_scene_score(), get_video_frame(), hypot(), init(), init_muxer(), init_pass2(), init_video_param(), inv_cdf(), lfo_advance(), M(), main(), mcompand_channel(), mov_read_tkhd(), optimize_colors(), parse_points(), parse_primary(), perform_compression(), points_not_collinear(), precalc_coefs(), print_stats(), quantize_lpc_coefs(), random_ts(), ready_residue(), residue_encode(), run_psnr(), set_constqp(), set_metadata(), set_vbr(), ssim_db(), swr_build_matrix(), swr_next_pts(), sync_clock_to_slave(), synchronize_audio(), test(), test_broadcast_input0(), test_broadcast_input1(), test_fcmul_add(), test_no_broadcast(), test_vector_dmul(), test_vector_dmul_scalar(), test_vector_fmul(), test_vector_fmul_scalar(), test_with_mode_constant(), test_with_mode_reflect(), test_with_mode_symmetric(), test_with_same(), test_with_same_dilate(), test_with_valid(), true_peak_limiter(), twinvq_mulawinv(), update_peak(), update_stat(), video_thread(), X264_init(), XAVS_init(), and yule_filter_stereo_samples().
|
inlinestatic |
Definition at line 183 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 185 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 186 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.
float2 |
Definition at line 55 of file cuda_runtime.h.
int2 |
Definition at line 60 of file cuda_runtime.h.
uchar4 |
Definition at line 72 of file cuda_runtime.h.
ushort4 |
Definition at line 77 of file cuda_runtime.h.
int4 |
Definition at line 82 of file cuda_runtime.h.
float4 |
Definition at line 87 of file cuda_runtime.h.
Referenced by tex2D< float2 >(), and tex2D< float4 >().