FFmpeg
Loading...
Searching...
No Matches
cuda_runtime.h File Reference

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)
 
#define __inline__   __inline__ __attribute__((always_inline))
 
#define max(a, b)
 
#define min(a, b)
 
#define abs(x)
 
#define atomicAdd(a, b)
 
#define GETCOMP(reg, comp)
 
#define GET(name, reg)
 
#define blockIdx   (getBlockIdx())
 
#define blockDim   (getBlockDim())
 
#define threadIdx   (getThreadIdx())
 
#define make_int2(a, b)
 
#define make_uchar2(a, b)
 
#define make_ushort2(a, b)
 
#define make_float2(a, b)
 
#define make_int4(a, b, c, d)
 
#define make_uchar4(a, b, c, d)
 
#define make_ushort4(a, b, c, d)
 
#define make_float4(a, b, c, d)
 
#define TEX2D(type, 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 sqrtf (float a)
 
static __device__ float rintf (float a)
 
static __device__ float __saturatef (float a)
 
static __device__ float __sinf (float a)
 
static __device__ float __cosf (float a)
 
static __device__ float __expf (float a)
 
static __device__ float __powf (float a, float b)
 
__device__ int printf (const char *,...)
 

Variables

 uchar2
 
 ushort2
 
 float2
 
 int2
 
 uchar4
 
 ushort4
 
 int4
 
 float4
 

Macro Definition Documentation

◆ __global__

#define __global__   __attribute__((global))

Definition at line 27 of file cuda_runtime.h.

◆ __device__

◆ __device_builtin__

#define __device_builtin__   __attribute__((device_builtin))

Definition at line 29 of file cuda_runtime.h.

Referenced by __align__(), __align__(), __align__(), and __align__().

◆ __align__

#define __align__ ( N)
Value:
__attribute__((aligned(N)))
#define N
Definition af_mcompand.c:54
static int aligned(int val)
Definition dashdec.c:178

Definition at line 30 of file cuda_runtime.h.

Referenced by __align__(), __align__(), __align__(), and __align__().

◆ __inline__

#define __inline__   __inline__ __attribute__((always_inline))

Definition at line 31 of file cuda_runtime.h.

◆ max

#define max ( a,
b )
Value:
((a) > (b) ? (a) : (b))
int a
#define b
Definition input.c:43

Definition at line 33 of file cuda_runtime.h.

Referenced by aac_encode_frame(), acb_search(), acolor(), acolor16(), add_level(), add_symbol(), adx_encode(), alloc_lut(), asf_write_index(), av_calloc(), av_d2q(), av_max_alloc(), av_parse_ratio(), av_reduce(), bin_pos(), build_huffman(), build_luma_lut(), build_lut(), cabac_unary_prefix(), calc_channel_uphases(), calc_input_response(), calc_lsq_max_fit_error(), calc_max_draw(), calc_persistent_max(), cas_slice16(), categorize(), categorize_regions(), cbs_vp9_assemble_fragment(), cclm_get_min_max(), cclm_get_params(), check_candidate_ref(), check_postscale_slice(), check_scale(), check_threshold(), checkasm_check_audiodsp(), chroma(), chroma16(), clean_index(), clip_with_log(), codebook_bits(), color_balance16(), color_balance16_p(), color_balance8(), color_balance8_p(), color_graticule16(), colorcontrast_slice16(), colorcontrast_slice16p(), colorcorrect_slice16(), colorcorrect_slice8(), comp_adjust(), comp_harmonic_coeff(), compute_ptp(), config_input(), config_output(), config_output(), config_output(), config_props(), dct_quantize_c(), dct_quantize_trellis_c(), DECL_FUNC(), decode_adaptive45(), decode_entropy_image(), decode_frame_header(), decode_rice(), decode_value3(), decompress_p(), decompress_p3(), deflicker16(), deinterlace_plane_slice(), determine_bits(), dilation(), dilation16(), direct_search(), dlerp(), dnxhd_10bit_dct_quantize_444(), do_backgroundkey16_slice(), do_chromahold16_slice(), do_chromakey_pixel16(), do_colorkey_pixel(), do_hsvkey_pixel(), do_plc(), drand(), drand(), draw_response(), dts_probe(), dv_set_class_number_hd(), dv_set_class_number_sd(), encode_cblk(), envelope_instant16(), envelope_peak16(), eval_expr(), exact_prod(), ff_ac3_bit_alloc_calc_psd(), ff_check_codec_matrices(), ff_convert_matrix(), ff_dcaadpcm_subband_analysis(), ff_g723_1_scale_vector(), ff_generate_wave_table(), ff_h264_parse_ref_count(), ff_hevc_ref_idx_lx_decode(), ff_hscale_16_to_15_lasx(), ff_hscale_16_to_19_lasx(), ff_hscale_8_to_15_lasx(), ff_hscale_8_to_19_lasx(), ff_inlink_consume_samples(), ff_interleave_add_packet(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_limiter_16bit_sse4(), ff_limiter_8bit_sse2(), ff_nelly_get_sample_bits(), ff_postscale_slice_avx2(), ff_postscale_slice_avx512(), ff_postscale_slice_sse(), ff_sbr_hf_apply_noise_0_rvv(), ff_sbr_hf_apply_noise_1_rvv(), ff_sbr_hf_apply_noise_2_rvv(), ff_sbr_hf_apply_noise_3_rvv(), ff_sws_alphablendaway(), ff_sws_op_list_update_comps(), ff_vector_clip_int32_int_sse2(), ff_vector_clip_int32_neon(), ff_vector_clip_int32_rvv(), ff_vector_clip_int32_sse2(), ff_vector_clip_int32_sse4(), ff_vector_clipf_neon(), ff_vector_clipf_rvv(), ff_vector_clipf_sse(), ff_vvc_num_signalled_palette_entries(), ff_vvc_palette_escape_val(), ff_vvc_palette_predictor_run(), ff_vvc_wide_angle_mode_mapping(), ff_w3fdif_scale_sse2(), fget_next_word(), filter16_scale(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_postscale(), filter_scale(), filter_slice(), filter_slice_rgba_packed(), filter_slice_rgba_planar(), find_black_and_white(), find_first_break(), find_min_max(), find_min_max_16(), find_min_max_planar(), find_min_max_planar_16(), find_peak(), find_peak_magnitude(), flat(), flat16(), flerp(), free_lut(), generate_new_codebooks(), get_colors(), get_duration(), get_fcb_param(), get_hz(), get_max_component_diff(), get_metadata_duration(), get_new_centroids(), get_output(), get_pix_fmt_depth(), get_psnr(), green_graticule16(), hdcd_scan(), init(), init(), init(), intra_pred(), inv_log_scale(), invert_graticule16(), irdft_horizontal16(), kth_order_egk_decode(), last_significant_coeff_xy_prefix(), last_significant_coeff_xy_prefix_decode(), lerpi16(), lerpi8(), lmcs_derive_lut(), lmcs_derive_lut_sample(), log_scale(), lowpass(), lowpass16(), lpc2lsp(), lsp_quantize(), magicyuv_median_pred16(), magy_decode_slice10(), makelayers(), match_framerate(), max_component_diff(), mcc_parse_time_code_part(), merge_superframe(), mix_frames(), monochrome_slice16(), monochrome_slice8(), motion_search(), mov_prune_frag_info(), mpeg4_decode_studio_block(), mux_fixup_ts(), negate16(), negate8(), negate_packed16(), negate_packed8(), no_codebook_bits(), no_codebook_bits_offset(), normalize(), normalize(), number_trailing_zeroes(), opt_max_alloc(), optimize_colors(), oscilloscope_filter_frame(), output_frame(), parse_cube(), parse_number(), ph_vb_pos(), pixscope_filter_frame(), postscale_c(), power(), preserve_color(), preservel(), preservel(), print_stats(), process_frame(), pseudocolor_filter(), pseudocolor_filter_10(), pseudocolor_filter_10d(), pseudocolor_filter_11(), pseudocolor_filter_11d(), pseudocolor_filter_16(), pseudocolor_filter_16_10(), pseudocolor_filter_16_10d(), pseudocolor_filter_16_11(), pseudocolor_filter_16_11d(), qdm2_decode_fft_packets(), read_code(), read_uint_max(), reduce64(), ref_pic_lists(), remap_log(), reverse_color16(), rpza_encode_stream(), run_psnr(), s337m_probe(), set_format(), set_metadata(), set_string_fmt(), slice_header(), slice_header(), spectral_crest(), sps(), ssim360_end1x(), ssim360_endn_16bit(), ssim360_plane_16bit(), ssim360_plane_8bit(), ssim_end1x(), ssim_endn_16bit(), ssim_plane_16bit(), stats(), sws_printVec2(), take_samples(), tee_open(), threshold16(), threshold8(), true_peak_limiter(), unpremultiply16(), unpremultiply16offset(), unpremultiply16yuv(), unpremultiply8(), unpremultiply8offset(), unpremultiply8yuv(), unpremultiplyf32(), unpremultiplyf32offset(), unwrap(), update(), update16(), vector_clip_int32_c(), vector_clipf_c(), vectorscope16(), vibrance_slice16(), vibrance_slice16p(), vlc_multi_gen(), vp6_coeff_order_table_init(), x8_loop_filter(), and xcorr_coeff().

◆ min

#define min ( a,
b )
Value:
((a) < (b) ? (a) : (b))

Definition at line 34 of file cuda_runtime.h.

Referenced by adx_encode(), alloc_lut(), aptx_insert_sync(), array_min_int16(), av_opt_set_array(), bin_pos(), calc_channel_uphases(), calc_codebook_idx(), calc_input_response(), calc_lsq_max_fit_error(), categorize(), categorize_regions(), cclm_get_min_max(), cclm_get_params(), check_postscale_slice(), check_threshold(), checkasm_check_audiodsp(), clip_with_log(), codebook_bits(), comp_adjust(), compute_ptp(), config_input(), config_output(), config_props(), DECL_FUNC(), decompress_p(), decompress_p3(), determine_bits(), direct_search(), dlerp(), dnxhd_encode_rdo(), drand(), drand(), draw_response(), dvbsub_probe(), erosion(), erosion16(), eval_expr(), exact_prod(), ff_check_codec_matrices(), ff_generate_wave_table(), ff_inlink_check_available_samples(), ff_inlink_consume_samples(), ff_limiter_16bit_sse4(), ff_limiter_8bit_sse2(), ff_postscale_slice_avx2(), ff_postscale_slice_avx512(), ff_postscale_slice_sse(), ff_sws_op_list_update_comps(), ff_vector_clip_int32_int_sse2(), ff_vector_clip_int32_neon(), ff_vector_clip_int32_rvv(), ff_vector_clip_int32_sse2(), ff_vector_clip_int32_sse4(), ff_vector_clipf_neon(), ff_vector_clipf_rvv(), ff_vector_clipf_sse(), ff_vvc_wide_angle_mode_mapping(), filter_postscale(), filter_slice(), find_min_max(), find_min_max_16(), find_min_max_planar(), find_min_max_planar_16(), flerp(), free_lut(), get_colors(), get_fcb_param(), get_hz(), get_max_component_diff(), get_new_centroids(), get_pix_fmt_depth(), get_timeinfo(), iff_read_header(), initFilter(), inv_log_scale(), log_scale(), lsp_quantize(), magy_huffman_compute_bits(), makelayers(), match_framerate(), minimum_filter(), mjpegenc_huffman_compute_bits(), mp3_parse_info_tag(), mpeg4_decode_studio_block(), no_codebook_bits(), no_codebook_bits_offset(), normalize(), opt_set_elem(), optimize_colors(), oscilloscope_filter_frame(), output_frame(), parse_cube(), parse_dsd_prop(), parse_number(), parse_value(), pixel_color7_slow(), pixscope_filter_frame(), plot_freq(), postscale_c(), pred_intra_mode(), preservel(), print_stats(), process_frame(), qdm2_decode_fft_packets(), read_header(), remap_log(), rpza_encode_stream(), samples_ready(), set_format(), set_metadata(), set_string_bool(), set_string_fmt(), sws_printVec2(), take_samples(), teletext_init_decoder(), threshold16(), threshold8(), ttml_write_time(), unwrap(), update_minmax(), update_stat(), utf8_check(), vector_clip_int32_c(), vector_clipf_c(), webvtt_write_time(), write_number(), x8_loop_filter(), and xma_decode_packet().

◆ abs

#define abs ( x)
Value:
((x) < 0 ? -(x) : (x))
Examples
encode_audio.c.

Definition at line 35 of file cuda_runtime.h.

Referenced by abs_sub_q(), abs_sub_q(), ac3_extract_exponents_c(), adpcm_encode_frame(), adpcm_ima_alp_compress_sample(), adpcm_ima_compress_sample(), adpcm_ima_cunning_expand_nibble(), adpcm_ima_qt_compress_sample(), adpcm_yamaha_compress_sample(), alf_cc(), alf_chroma(), alf_coeff(), alf_luma(), calc_combed_score(), calc_squared_error_and_weight(), calculate_blockiness(), cclm_get_params(), cfhd_decode(), checkmm(), clut_color_distance(), clut_find_nearlest_alpha(), cmp_555_by_n(), cmp_565_by_n(), cmp_off_by_n(), cmp_off_by_n(), compare_fields(), compute_scale_factors(), dct_error(), decode_cce(), dequant_and_decompand(), diff1st(), diff2nd(), draw_mandelbrot(), ff_gradfun_filter_line_c(), ff_hevc_loop_filter_luma_h_8_lsx(), ff_hevc_loop_filter_luma_v_8_lsx(), ff_msmpeg4_pred_dc(), ff_nelly_get_sample_bits(), ff_png_add_paeth_prediction(), ff_vc1_pred_dc(), ff_vp9_fill_mv(), ff_vvc_mv_scale(), filter16_vrep(), filter8_vrep(), filter_frame(), filter_frame(), filter_tout_outlier(), find_peak(), fits_read_header(), g726_decode(), get_badness(), get_bs(), get_rrp(), get_shear_params_valid(), get_wb_bitrate_mode(), hadamard_intra_8x8_msa(), hdcd_analyze_prepare(), hdcd_envelope(), hevc_loop_filter_luma(), hevc_loopfilter_luma_hor_msa(), hevc_loopfilter_luma_ver_msa(), highds(), idct248_error(), image_sad(), imdct_half_32(), imdct_half_64(), import_block(), import_row16(), import_row8(), init_h263_dc_for_msmpeg4(), init_uni_dc_tab(), int16_cmp_off_by_n(), interpolation(), is_image(), log2mono(), log2stereo(), loop_filter_c1(), loop_filter_c2(), loop_filter_l1(), loop_filter_l2(), loop_filter_luma_weak(), luma_abs_diff(), main(), mpeg4_pred_dc(), mpeg4_pred_dc(), mv_pred_median(), mv_scale(), normalize::normalize(), on2avc_scale(), parse_timestamp(), peak_table(), pix_abs16_c(), pix_abs16_x2_c(), pix_abs16_xy2_c(), pix_abs16_y2_c(), pix_abs8_c(), pix_abs8_x2_c(), pix_abs8_xy2_c(), pix_abs8_y2_c(), pix_median_abs16_c(), pix_median_abs8_c(), png_choose_filter(), prepare_intra_edge_params(), push_single_pic(), ratecontrol_1pass(), run_psnr(), select_sample_rate(), spatial_compensation_0(), sub_png_paeth_prediction(), swap_sample_fmts_on_filter(), swap_samplerates_on_filter(), synth_frame(), vc1_i_pred_dc(), vvc_loop_filter_chroma(), and vvc_loop_filter_luma().

◆ atomicAdd

#define atomicAdd ( a,
b )
Value:
(__atomic_fetch_add(a, b, __ATOMIC_SEQ_CST))

Definition at line 37 of file cuda_runtime.h.

◆ GETCOMP

#define GETCOMP ( reg,
comp )
Value:
asm("mov.u32 %0, %%" #reg "." #comp ";" : "=r"(tmp)); \
ret.comp = tmp;
static void comp(unsigned char *dst, ptrdiff_t dst_stride, unsigned char *src, ptrdiff_t src_stride, int add)
Definition eamad.c:79
static uint8_t tmp[40]
Definition aes_ctr.c:52

Definition at line 90 of file cuda_runtime.h.

◆ GET

#define GET ( name,
reg )
Value:
static inline __device__ uint3 name() {\
uint3 ret; \
unsigned tmp; \
GETCOMP(reg, x) \
GETCOMP(reg, y) \
GETCOMP(reg, z) \
return ret; \
}
#define __device__
const char * name
Definition qsvenc.c:142

Definition at line 94 of file cuda_runtime.h.

◆ blockIdx

#define blockIdx   (getBlockIdx())

Definition at line 108 of file cuda_runtime.h.

◆ blockDim

#define blockDim   (getBlockDim())

Definition at line 109 of file cuda_runtime.h.

◆ threadIdx

#define threadIdx   (getThreadIdx())

Definition at line 110 of file cuda_runtime.h.

◆ make_int2

#define make_int2 ( a,
b )
Value:
((int2){.x = a, .y = b})
int2

Definition at line 113 of file cuda_runtime.h.

◆ make_uchar2

#define make_uchar2 ( a,
b )
Value:
((uchar2){.x = a, .y = b})
uchar2

Definition at line 114 of file cuda_runtime.h.

◆ make_ushort2

#define make_ushort2 ( a,
b )
Value:
((ushort2){.x = a, .y = b})
ushort2

Definition at line 115 of file cuda_runtime.h.

◆ make_float2

#define make_float2 ( a,
b )
Value:
((float2){.x = a, .y = b})
float2

Definition at line 116 of file cuda_runtime.h.

Referenced by tex2D< float2 >().

◆ make_int4

#define make_int4 ( a,
b,
c,
d )
Value:
((int4){.x = a, .y = b, .z = c, .w = d})
int4
static double c[64]

Definition at line 117 of file cuda_runtime.h.

◆ make_uchar4

#define make_uchar4 ( a,
b,
c,
d )
Value:
((uchar4){.x = a, .y = b, .z = c, .w = d})
uchar4

Definition at line 118 of file cuda_runtime.h.

◆ make_ushort4

#define make_ushort4 ( a,
b,
c,
d )
Value:
((ushort4){.x = a, .y = b, .z = c, .w = d})
ushort4

Definition at line 119 of file cuda_runtime.h.

◆ make_float4

#define make_float4 ( a,
b,
c,
d )
Value:
((float4){.x = a, .y = b, .z = c, .w = d})
float4

Definition at line 120 of file cuda_runtime.h.

◆ TEX2D

#define TEX2D ( type,
ret )
Value:
static inline __device__ void conv(type* out, unsigned a, unsigned b, unsigned c, unsigned d) {*out = (ret);}
static FILE * out
cl_device_type type

Definition at line 123 of file cuda_runtime.h.

Typedef Documentation

◆ cudaTextureObject_t

typedef __device_builtin__ unsigned long long cudaTextureObject_t

Definition at line 40 of file cuda_runtime.h.

Function Documentation

◆ __align__() [1/4]

struct __device_builtin__ __align__ ( 2 )

Definition at line 42 of file cuda_runtime.h.

◆ __align__() [2/4]

struct __device_builtin__ __align__ ( 4 )

Definition at line 47 of file cuda_runtime.h.

◆ __align__() [3/4]

struct __device_builtin__ __align__ ( 8 )

Definition at line 52 of file cuda_runtime.h.

◆ __align__() [4/4]

struct __device_builtin__ __align__ ( 16 )

Definition at line 79 of file cuda_runtime.h.

◆ tex2D()

template<typename T>
__device__ T tex2D ( cudaTextureObject_t texObject,
float x,
float y )
inline

Definition at line 137 of file cuda_runtime.h.

◆ tex2D< float4 >()

template<>
__device__ float4 tex2D< float4 > ( cudaTextureObject_t texObject,
float x,
float y )
inline

Definition at line 149 of file cuda_runtime.h.

Referenced by tex2D< float >(), and tex2D< float2 >().

◆ tex2D< float >()

template<>
__device__ float tex2D< float > ( cudaTextureObject_t texObject,
float x,
float y )
inline

Definition at line 159 of file cuda_runtime.h.

◆ tex2D< float2 >()

template<>
__device__ float2 tex2D< float2 > ( cudaTextureObject_t texObject,
float x,
float y )
inline

Definition at line 165 of file cuda_runtime.h.

◆ floorf()

◆ floor() [1/2]

◆ floor() [2/2]

static __device__ double floor ( double a)
inlinestatic

Definition at line 174 of file cuda_runtime.h.

◆ ceilf()

◆ ceil() [1/2]

◆ ceil() [2/2]

static __device__ double ceil ( double a)
inlinestatic

Definition at line 177 of file cuda_runtime.h.

◆ truncf()

static __device__ float truncf ( float a)
inlinestatic

Definition at line 178 of file cuda_runtime.h.

Referenced by amrnb_decode_frame(), and amrwb_decode_frame().

◆ trunc() [1/2]

static __device__ float trunc ( float a)
inlinestatic

Definition at line 179 of file cuda_runtime.h.

Referenced by config_props(), eval_expr(), ff_scale_eval_dimensions(), and fwht_1d().

◆ trunc() [2/2]

static __device__ double trunc ( double a)
inlinestatic

Definition at line 180 of file cuda_runtime.h.

◆ fabsf()

◆ fabs() [1/2]

static __device__ float fabs ( float a)
inlinestatic

Definition at line 182 of file cuda_runtime.h.

Referenced by aac_encode_frame(), av_bessel_i0(), av_d2q(), av_guess_frame_rate(), av_ts_make_time_string2(), avformat_find_stream_info(), bitreduction(), build_filter(), build_matrix(), calc_noise_floor(), calc_thr_3gpp(), check_external_clock_speed(), check_values(), checkasm_double_near_abs_eps(), compand_delay(), compand_nodelay(), compare(), compressor(), compute_acc_den(), compute_acc_num(), compute_quant_matrix(), compute_target_delay(), config_filter(), config_input(), config_output(), config_props(), configure_input_video_filter(), configure_output_video_filter(), configure_video_device(), configure_video_filters(), cubic_interpolate_func(), D(), dct_error(), decfloat(), decode_lspf(), decode_vector(), decompose_zp2biquads(), detect_clicks(), detect_clips(), detect_peak(), detect_scene_change(), draw_response(), dump_fir(), encode_block(), evaluate(), evaluate_timeline_at_frame(), evrc_decode_frame(), expand(), factor(), ff_ebur128_find_peak_c(), ff_icc_profile_detect_transfer(), ff_lpc_calc_coefs(), ff_pca(), ff_rfps_calculate(), filter_channels(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_slice(), filter_slice_grey_edge(), find_peak_magnitude(), fir_to_phase(), fixed_gain_smooth(), floor_offset(), frame_erasure(), fuzzy_equal(), gate(), gauss_make_triangular(), generate_kernel(), generate_window_func(), get_coeff(), get_floor_average(), get_rotation(), get_scene_score(), get_scene_score(), get_scene_score(), get_video_frame(), hsl2rgb(), hypot(), init(), init(), init_enc_options(), init_muxer(), init_pass2(), init_video_param(), inv_cdf(), lfo_advance(), lfo_advance(), lup_decompose(), M(), main(), main(), 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(), procamp_vaapi_init(), process_frame(), psy_3gpp_analyze_channel(), quantize_lpc_coefs(), random_ts(), ready_residue(), residue_encode(), run_psnr(), scaler_sample(), set_constqp(), set_metadata(), set_vbr(), ssim_db(), swr_next_pts(), sync_clock_to_slave(), synchronize_audio(), test_dcmul_add(), test_evaluate(), test_fcmul_add(), test_update(), test_vector_dmul(), test_vector_dmul_scalar(), test_vector_fmul(), test_vector_fmul_scalar(), true_peak_limiter(), twinvq_mulawinv(), update_qp(), update_stat(), vaapi_encode_av1_configure(), velvet_filter(), video_thread(), write_hls_media_playlist(), X264_init(), and XAVS_init().

◆ fabs() [2/2]

static __device__ double fabs ( double a)
inlinestatic

Definition at line 183 of file cuda_runtime.h.

◆ sqrtf()

static __device__ float sqrtf ( float a)
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_kernel(), compute_pitch_gain(), compute_rms(), config_input(), config_output(), config_output(), config_params(), config_props(), dct(), decode_spectrum_and_dequant(), do_hsvkey_pixel(), euclidean_kernel(), ff_aac_search_for_tns(), ff_amr_set_fixed_gain(), ff_eac3_apply_spectral_extension(), filter16_prewitt(), filter16_roberts(), filter16_scharr(), filter16_sobel(), filter_channel(), filter_channel(), filter_flt(), filter_frame(), filter_prewitt(), filter_roberts(), filter_scharr(), filter_sobel(), find_form_factor(), find_rms(), finish_block(), fir_to_phase(), frequency_band(), gather_input(), get_factors(), get_qm_factor(), get_scale(), get_zeropadded_input(), hammer_to_xyz(), hue_rotate_matrix(), init(), init(), init_segment(), ipt2ich(), make_lpf(), mark_pns(), multicomb(), nb_decode(), nmr_is_image_masked(), nmr_solve(), nmr_solve_slots(), normalize(), normalize_vector(), on2avc_scale(), pannini_to_xyz(), perspective_to_xyz(), pitch_filter(), pos_pow34(), print_stats(), process_anticollapse(), project(), ps_tableinit(), pvq_band_cost(), quant(), quant_band_template(), r_distance(), remap_log(), rgtc2_block_internal(), run_postproc(), sbr_gain_calc(), search_for_pns(), search_for_quantizers_twoloop(), search_for_tns_short_pooled(), 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().

◆ rintf()

static __device__ float rintf ( float a)
inlinestatic

Definition at line 185 of file cuda_runtime.h.

Referenced by divide_and_round_nearest().

◆ __saturatef()

static __device__ float __saturatef ( float a)
inlinestatic

Definition at line 187 of file cuda_runtime.h.

◆ __sinf()

static __device__ float __sinf ( float a)
inlinestatic

Definition at line 188 of file cuda_runtime.h.

◆ __cosf()

static __device__ float __cosf ( float a)
inlinestatic

Definition at line 189 of file cuda_runtime.h.

◆ __expf()

static __device__ float __expf ( float a)
inlinestatic

Definition at line 190 of file cuda_runtime.h.

◆ __powf()

static __device__ float __powf ( float a,
float b )
inlinestatic

Definition at line 191 of file cuda_runtime.h.

◆ printf()

__device__ int printf ( const char * ,
... )
Examples
avio_http_serve_files.c, avio_read_callback.c, decode_audio.c, decode_video.c, demux_decode.c, encode_video.c, extract_mvs.c, ffhash.c, mux.c, remux.c, resample_audio.c, and show_metadata.c.

Referenced by ARRAY_RENAME(), ARRAY_RENAME(), asmgen(), audio_decode_frame(), cairo_set_dash(), cairo_set_source(), check(), check_asset_locator_attributes(), check_func(), check_image_fill(), check_image_fill_black(), check_script(), check_sorted_cmds_array(), check_yuv2nv12cX(), check_yuv2yuv1(), check_yuv2yuvX(), checkasm_list_cpu_flags(), checkasm_list_tests(), close_out(), compare_crc_in_array(), compute_crc_of_packets(), dct_error(), decode(), decode(), decode_packet(), dict_iterate(), display_integral(), do_exit(), dump_stream_meta(), encode(), failing_deinit(), find_best_wrapper(), finish(), help(), help(), idct248_error(), io_write_data_type(), log_packet(), log_packet(), main(), main(), main(), mock_av_log(), opt_init_hw_device(), opt_sections(), output_audio_frame(), output_video_frame(), print_app5(), print_audio_bytes(), print_bench_footer(), print_bench_header(), print_bench_iter(), print_cie(), print_codec(), print_codecs(), print_codecs_for_id(), print_cpu_flags(), print_data(), print_dict(), print_entries(), print_env(), print_filtergraphs_priv(), print_formats_internal(), print_functions(), print_hdr_plus(), print_help(), print_lookup(), print_matrix(), print_matrix_row(), print_md5(), print_option(), print_parse_result(), print_peak_matrix(), print_pix_fmt_fourccs(), print_results(), print_results(), print_sdp(), print_section(), print_sequence(), print_set(), print_window(), queue_picture(), read_cb(), read_packet(), run_implementation(), run_psnr(), run_single_test(), run_test(), show_bsfs(), show_codec_opts(), show_codecs(), show_colors(), show_dispositions(), show_filters(), show_format_opts(), show_formats_devices(), show_help_bsf(), show_help_children(), show_help_default(), show_help_demuxer(), show_help_muxer(), show_help_options(), show_hwaccels(), show_layouts(), show_license(), show_opts(), show_pix_fmts(), show_protocols(), show_sample_fmts(), stdout_put_str(), stdout_w8(), test(), test(), test(), test(), test2(), test_adjust_ntsc(), test_app5(), test_asset_map_parsing(), test_av_find_info_tag(), test_av_get_known_color_name(), test_av_parse_color(), test_av_parse_time(), test_av_parse_video_rate(), test_av_small_strptime(), test_blowfish(), test_check_frame_rate(), test_cpl_from_doc(), test_cpl_parsing(), test_decompose(), test_dwt(), test_dwtf(), test_encode_decode(), test_encrypt(), test_format(), test_function(), test_get_smpte_roundtrip(), test_hdr_plus(), test_init(), test_init_from_components(), test_init_from_string(), test_make_mpeg_tc_string(), test_make_smpte_tc_string(), test_make_smpte_tc_string2(), test_make_string(), test_motion(), test_random_shared_secret(), test_ref_data(), test_separators(), test_tea(), test_xtea(), update_co64_offsets(), update_moov_atom(), update_stco_offsets(), usage(), usage(), usage(), usage(), usage(), usage(), video_decode_example(), WRITE_1D_FUNC_ARGV(), and write_fileheader().

Variable Documentation

◆ uchar2

uchar2

Definition at line 45 of file cuda_runtime.h.

Referenced by __align__().

◆ ushort2

ushort2

Definition at line 50 of file cuda_runtime.h.

Referenced by __align__().

◆ float2

float2

Definition at line 55 of file cuda_runtime.h.

Referenced by __align__(), and tex2D< float2 >().

◆ int2

int2

Definition at line 60 of file cuda_runtime.h.

◆ uchar4

uchar4

Definition at line 72 of file cuda_runtime.h.

◆ ushort4

ushort4

Definition at line 77 of file cuda_runtime.h.

◆ int4

int4

Definition at line 82 of file cuda_runtime.h.

Referenced by __align__().

◆ float4

float4

Definition at line 87 of file cuda_runtime.h.

Referenced by tex2D< float2 >(), and tex2D< float4 >().