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 |
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(), compute_sat_hue_metrics16(), compute_sat_hue_metrics8(), cube1x6_to_xyz(), cube3x2_to_xyz(), cube6x1_to_xyz(), eac_to_xyz(), fract(), frand(), lerp_colors(), lerp_colors16(), lerp_colors32(), plot_channel_log(), xyz_to_ball(), xyz_to_barrel(), xyz_to_barrelsplit(), xyz_to_cube1x6(), xyz_to_cube3x2(), xyz_to_cube6x1(), xyz_to_cylindrical(), xyz_to_cylindricalea(), 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(), ambisonic_order(), analyze_mono(), analyze_stereo(), av_d2q(), calc_lsq_max_fit_error(), celt_quant_fine(), cng_encode_frame(), 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(), spectral_flatness(), 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(), unwrap(), 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(), calculate_blur(), config_output(), draw_response(), eval_expr(), 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(), angle_transform(), build_map(), butter_filter_stereo_samples(), calc_channel_uphases(), calculate_cubic_bc_coeffs(), calculate_factors(), checkasm_check_synth_filter(), compute_kernel(), compute_peak_float(), compute_peak_floatp(), decode_spectrum_and_dequant(), do_hsvkey_pixel(), 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(), find_peak(), fir_to_phase(), float_near_abs_eps(), get_lin_bin_abs(), get_log_bin_abs(), get_log_bin_sign(), headphone_convolute(), headphone_fast_convolute(), IsAlmostEqual(), main(), octahedron_to_xyz(), quantize_and_encode_band_cost_template(), sanitize_values(), search_for_quantizers_anmr(), search_for_quantizers_twoloop(), set_params(), smooth(), sofalizer_convolute(), sofalizer_fast_convolute(), spectral_slope(), synthesis(), tetrahedron_to_xyz(), thresholding(), to_linear(), unwrap(), update_peak_float(), update_peak_floatp(), upmix_7_1_5_0_side(), upmix_7_1_5_1(), xyz_to_dfisheye(), xyz_to_flat(), xyz_to_octahedron(), and yule_filter_stereo_samples().
|
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(), bessel(), bitreduction(), build_filter(), calc_thr_3gpp(), calculate_factors(), check_diff(), check_external_clock_speed(), check_values(), compand_delay(), compand_nodelay(), compare(), compressor(), compute_acc_den(), compute_acc_num(), compute_peak_double(), compute_peak_doublep(), 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(), decode_vector(), 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_icc_profile_detect_transfer(), ff_inlink_evaluate_timeline_at_frame(), ff_lpc_calc_coefs(), ff_mdct_init(), ff_pca(), ff_rfps_calculate(), filter_channels(), filter_frame(), filter_slice(), filter_slice_grey_edge(), find_peak_magnitude(), fir_to_phase(), fixed_gain_smooth(), floor_offset(), frame_erasure(), gate(), gauss_make_triangular(), generate_kernel(), generate_window_func(), get_coeff(), get_floor_average(), get_i0(), 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(), measure_absmean(), mov_read_tkhd(), noise_filter(), optimize_colors(), parse_points(), parse_primary(), pchip_edge_case(), perform_compression(), points_not_collinear(), precalc_coefs(), print_stats(), process_frame(), quantize_lpc_coefs(), random_ts(), ready_residue(), residue_encode(), run_psnr(), set_constqp(), set_metadata(), set_vbr(), ssim_db(), swr_build_matrix2(), 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_double(), update_peak_doublep(), update_qp(), update_stat(), video_thread(), write_hls_media_playlist(), X264_init(), and XAVS_init().
|
inlinestatic |
Definition at line 183 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 184 of file cuda_runtime.h.
Referenced by aac_encode_frame(), abs_pow34_v(), ball_to_xyz(), basic_block_filtering(), bayes_threshold(), bessel_reinit(), calc_cpl_coord(), calc_input_response(), calc_reduced_thr_3gpp(), calc_thr_3gpp(), calculate_gamma(), cas_slice16(), cas_slice8(), celt_alg_quant(), celt_alg_unquant(), celt_calc_theta(), celt_frame_mdct(), celt_renormalize_vector(), celt_stereo_is_decouple(), celt_stereo_merge(), compute_frame_features(), compute_pitch_gain(), compute_rms(), compute_rms_float(), compute_rms_floatp(), config_input(), config_output(), config_params(), config_props(), dct(), decode_spectrum_and_dequant(), do_hsvkey_pixel(), euclidean_kernel(), ff_amr_set_fixed_gain(), ff_eac3_apply_spectral_extension(), filter16_prewitt(), filter16_roberts(), filter16_scharr(), filter16_sobel(), filter_channel(), filter_flt(), filter_frame(), filter_prewitt(), filter_roberts(), filter_scharr(), filter_sobel(), find_form_factor(), find_rms(), fir_to_phase(), frequency_band(), gather_input(), get_centere(), get_factors(), get_qm_factor(), get_scale(), get_zeropadded_input(), hammer_to_xyz(), hue_rotate_matrix(), init(), init_segment(), make_lpf(), mark_pns(), multicomb(), nb_decode(), normalize(), normalize_vector(), on2avc_scale(), pannini_to_xyz(), perspective_to_xyz(), pitch_filter(), pos_pow34(), process_anticollapse(), project(), ps_tableinit(), pvq_band_cost(), quant(), quant_band_template(), r_distance(), rgtc2_block_internal(), run_postproc(), sbr_gain_calc(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_twoloop(), set_params(), shue_rotate_matrix(), siren_init(), spectral_flux(), spectral_spread(), speex_decode_stereo(), spx_coordinates(), stddevf(), step_collect_psy_metrics(), weuclidean_kernel(), win(), xyz_to_ball(), and xyz_to_hammer().
|
inlinestatic |
Definition at line 186 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 187 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 188 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 189 of file cuda_runtime.h.
|
inlinestatic |
Definition at line 190 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 >().