FFmpeg
Data Structures | Macros | Functions
asmdefs.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

union  mmi_intfloat64
 

Macros

#define mips_reg   int32_t
 
#define PTRSIZE   " 4 "
 
#define PTRLOG   " 2 "
 
#define PTR_ADDU   "addu "
 
#define PTR_ADDIU   "addiu "
 
#define PTR_ADDI   "addi "
 
#define PTR_SUBU   "subu "
 
#define PTR_L   "lw "
 
#define PTR_S   "sw "
 
#define PTR_SRA   "sra "
 
#define PTR_SRL   "srl "
 
#define PTR_SLL   "sll "
 
#define _IFC_REG(n)
 

Functions

 __asm__ (".macro parse_r var r\n\t" "\\var = -1\n\t" _IFC_REG(0) _IFC_REG(1) _IFC_REG(2) _IFC_REG(3) _IFC_REG(4) _IFC_REG(5) _IFC_REG(6) _IFC_REG(7) _IFC_REG(8) _IFC_REG(9) _IFC_REG(10) _IFC_REG(11) _IFC_REG(12) _IFC_REG(13) _IFC_REG(14) _IFC_REG(15) _IFC_REG(16) _IFC_REG(17) _IFC_REG(18) _IFC_REG(19) _IFC_REG(20) _IFC_REG(21) _IFC_REG(22) _IFC_REG(23) _IFC_REG(24) _IFC_REG(25) _IFC_REG(26) _IFC_REG(27) _IFC_REG(28) _IFC_REG(29) _IFC_REG(30) _IFC_REG(31) ".iflt \\var\n\t" ".error \"Unable to parse register name \\r\"\n\t" ".endif\n\t" ".endm")
 

Detailed Description

MIPS assembly defines from sys/asm.h but rewritten for use with C inline assembly (rather than from within .s files).

Definition in file asmdefs.h.

Macro Definition Documentation

◆ mips_reg

#define mips_reg   int32_t

Definition at line 46 of file asmdefs.h.

◆ PTRSIZE

#define PTRSIZE   " 4 "

Definition at line 47 of file asmdefs.h.

◆ PTRLOG

#define PTRLOG   " 2 "

Definition at line 48 of file asmdefs.h.

◆ PTR_ADDU

#define PTR_ADDU   "addu "

Definition at line 49 of file asmdefs.h.

◆ PTR_ADDIU

#define PTR_ADDIU   "addiu "

Definition at line 50 of file asmdefs.h.

◆ PTR_ADDI

#define PTR_ADDI   "addi "

Definition at line 51 of file asmdefs.h.

◆ PTR_SUBU

#define PTR_SUBU   "subu "

Definition at line 52 of file asmdefs.h.

◆ PTR_L

#define PTR_L   "lw "

Definition at line 53 of file asmdefs.h.

◆ PTR_S

#define PTR_S   "sw "

Definition at line 54 of file asmdefs.h.

◆ PTR_SRA

#define PTR_SRA   "sra "

Definition at line 55 of file asmdefs.h.

◆ PTR_SRL

#define PTR_SRL   "srl "

Definition at line 56 of file asmdefs.h.

◆ PTR_SLL

#define PTR_SLL   "sll "

Definition at line 57 of file asmdefs.h.

◆ _IFC_REG

#define _IFC_REG (   n)
Value:
".ifc \\r, $" #n "\n\t" \
"\\var = " #n "\n\t" \
".endif\n\t"

Definition at line 82 of file asmdefs.h.

Function Documentation

◆ __asm__()

__asm__ ( ".macro parse_r var r\n\t" "\\  var = -1\n\t" _IFC_REG(0) _IFC_REG(1) _IFC_REG(2) _IFC_REG(3) _IFC_REG(4) _IFC_REG(5) _IFC_REG(6) _IFC_REG(7) _IFC_REG(8) _IFC_REG(9) _IFC_REG(10) _IFC_REG(11) _IFC_REG(12) _IFC_REG(13) _IFC_REG(14) _IFC_REG(15) _IFC_REG(16) _IFC_REG(17) _IFC_REG(18) _IFC_REG(19) _IFC_REG(20) _IFC_REG(21) _IFC_REG(22) _IFC_REG(23) _IFC_REG(24) _IFC_REG(25) _IFC_REG(26) _IFC_REG(27) _IFC_REG(28) _IFC_REG(29) _IFC_REG(30) _IFC_REG(31) ".iflt        \\var\n\t" ".error        \"Unable to parse register name \\r\"\n\t" ".endif\n\t" ".endm")

Referenced by add_8x8basis_TMPL(), av_assert0_fpu(), av_bswap16(), av_bswap32(), AV_RB16(), AV_RB24(), AV_RB32(), AV_RL16(), AV_RL24(), AV_RL32(), AV_WB16(), AV_WB32(), AV_WL16(), AV_WL32(), avg_h264_qpel4_h_lowpass_mmi(), avg_h264_qpel4_hv_lowpass_mmi(), avg_h264_qpel4_v_lowpass_mmi(), avg_h264_qpel8_h_lowpass_l2_mmi(), avg_h264_qpel8_h_lowpass_mmi(), avg_h264_qpel8_v_lowpass_mmi(), avg_h264_qpel8or16_hv2_lowpass_mmi(), avg_pixels16_8_lsx(), avg_pixels16_l2_8_lsx(), avg_pixels8_8_lsx(), avg_pixels8_l2_8_lsx(), avg_pixels8_l2_shift5_mmi(), blockCopy_TMPL(), check_dcbzl_effect(), clear_blocks_dcbz128_ppc(), clear_blocks_dcbz32_ppc(), convolve_avg_horiz_mmi(), convolve_avg_mmi(), convolve_avg_vert_mmi(), convolve_horiz_mmi(), convolve_vert_mmi(), copy_block16_mmi(), copy_block4_mmi(), copy_block8_mmi(), copy_width4_lasx(), copy_width8x4_lasx(), copy_width8x8_lasx(), cpu_flags_cpucfg(), dct_quantize_TMPL(), deblock_v8_luma_intra_8_mmi(), decode_significance_8x8_loongarch(), decode_significance_loongarch(), deInterlaceBlendLinear_TMPL(), deInterlaceFF_TMPL(), deInterlaceInterpolateCubic_TMPL(), deInterlaceInterpolateLinear_TMPL(), deInterlaceL5_TMPL(), deInterlaceMedian_TMPL(), dering_TMPL(), dirac_get_arith_bit(), doVertDefFilter_TMPL(), doVertLowPass_TMPL(), duplicate_TMPL(), extract_even2_TMPL(), extract_even2avg_TMPL(), extract_even_TMPL(), extract_odd2_TMPL(), extract_odd2avg_TMPL(), extract_odd_TMPL(), ff_add_pixels_clamped_mmi(), ff_avg_h264_chroma_mc4_mmi(), ff_avg_h264_chroma_mc8_mmi(), ff_avg_no_rnd_vc1_chroma_mc4_mmi(), ff_avg_no_rnd_vc1_chroma_mc8_mmi(), ff_avg_pixels16_8_mmi(), ff_avg_pixels4_8_mmi(), ff_avg_pixels4_l2_8_mmi(), ff_avg_pixels8_8_mmi(), ff_avg_pixels8_l2_8_mmi(), ff_clear_block_mmi(), ff_clear_blocks_mmi(), ff_dct_unquantize_h263_inter_mmi(), ff_dct_unquantize_h263_intra_mmi(), ff_dct_unquantize_mpeg1_inter_mmi(), ff_dct_unquantize_mpeg1_intra_mmi(), ff_dct_unquantize_mpeg2_intra_mmi(), ff_deblock_h_chroma_8_mmi(), ff_deblock_h_chroma_intra_8_mmi(), ff_deblock_h_luma_8_mmi(), ff_deblock_h_luma_intra_8_mmi(), ff_deblock_v8_luma_8_mmi(), ff_deblock_v_chroma_8_mmi(), ff_deblock_v_chroma_intra_8_mmi(), ff_denoise_dct_mmi(), ff_diff_pixels_mmi(), ff_fill_block16_mmi(), ff_fill_block8_mmi(), ff_get_cpu_flags_ppc(), ff_get_pixels_8_mmi(), ff_h264_add_pixels4_8_mmi(), ff_h264_biweight_pixels16_8_mmi(), ff_h264_biweight_pixels4_8_mmi(), ff_h264_biweight_pixels8_8_mmi(), ff_h264_idct8_add_8_mmi(), ff_h264_idct8_dc_add_8_mmi(), ff_h264_idct_add_8_mmi(), ff_h264_idct_dc_add_8_mmi(), ff_h264_luma_dc_dequant_idct_8_mmi(), ff_h264_weight_pixels16_8_mmi(), ff_h264_weight_pixels4_8_mmi(), ff_h264_weight_pixels8_8_mmi(), ff_msmpeg4_pred_dc(), ff_pred16x16_dc_8_mmi(), ff_pred16x16_horizontal_8_mmi(), ff_pred16x16_vertical_8_mmi(), ff_pred4x4_dc_8_mmi(), ff_pred8x16_horizontal_8_mmi(), ff_pred8x16_vertical_8_mmi(), ff_pred8x8_dc_8_mmi(), ff_pred8x8_horizontal_8_mmi(), ff_pred8x8_top_dc_8_mmi(), ff_pred8x8_vertical_8_mmi(), ff_pred8x8l_dc_8_mmi(), ff_pred8x8l_top_dc_8_mmi(), ff_pred8x8l_vertical_8_mmi(), ff_put_h264_chroma_mc4_mmi(), ff_put_h264_chroma_mc8_mmi(), ff_put_no_rnd_pixels8_l2_8_mmi(), ff_put_no_rnd_pixels_l2_mmi(), ff_put_no_rnd_vc1_chroma_mc4_mmi(), ff_put_no_rnd_vc1_chroma_mc8_mmi(), ff_put_pixels16_8_mmi(), ff_put_pixels16_l2_8_mmi(), ff_put_pixels4_8_mmi(), ff_put_pixels4_l2_8_mmi(), ff_put_pixels8_8_mmi(), ff_put_pixels8_l2_8_mmi(), ff_put_pixels8_xy2_8_mmi(), ff_put_pixels_clamped_mmi(), ff_put_signed_pixels_clamped_mmi(), ff_put_vp8_bilinear16_h_mmi(), ff_put_vp8_bilinear16_v_mmi(), ff_put_vp8_bilinear4_h_mmi(), ff_put_vp8_bilinear4_v_mmi(), ff_put_vp8_bilinear8_h_mmi(), ff_put_vp8_bilinear8_v_mmi(), ff_put_vp8_epel16_h4_mmi(), ff_put_vp8_epel16_h6_mmi(), ff_put_vp8_epel16_v4_mmi(), ff_put_vp8_epel16_v6_mmi(), ff_put_vp8_epel4_h4_mmi(), ff_put_vp8_epel4_h6_mmi(), ff_put_vp8_epel4_v4_mmi(), ff_put_vp8_epel4_v6_mmi(), ff_put_vp8_epel8_h4_mmi(), ff_put_vp8_epel8_h6_mmi(), ff_put_vp8_epel8_v4_mmi(), ff_put_vp8_epel8_v6_mmi(), ff_put_vp8_pixels16_mmi(), ff_put_vp8_pixels4_mmi(), ff_put_vp8_pixels8_mmi(), ff_simple_idct_8_mmi(), ff_vc1_inv_trans_4x4_dc_mmi(), ff_vc1_inv_trans_4x4_mmi(), ff_vc1_inv_trans_4x8_dc_mmi(), ff_vc1_inv_trans_8x4_dc_mmi(), ff_vc1_inv_trans_8x8_dc_mmi(), ff_vp3_idct_dc_add_mmi(), ff_vp8_idct_add_mmi(), ff_vp8_idct_dc_add_mmi(), ff_vp8_luma_dc_wht_mmi(), ff_wmv2_idct_add_mmi(), ff_wmv2_idct_put_mmi(), ff_xvid_idct_mmi(), get_cabac_bypass_loongarch(), get_cabac_bypass_mips(), get_cabac_bypass_sign_loongarch(), get_cabac_bypass_sign_mips(), get_cabac_inline_loongarch(), get_cabac_inline_mips(), idct_column_false_mmi(), idct_column_true_mmi(), idct_row_mmi(), interleaveBytes_TMPL(), lrintf_mips(), MAC64(), MLS64(), MULH(), pixels16_x2(), pixels8_x2(), pixels8_xy2(), pixels8_y2(), postProcess_TMPL(), pred16x16_plane_compat_mmi(), prefetch_mips(), prefetch_ppc(), put_h264_qpel4_h_lowpass_mmi(), put_h264_qpel4_hv_lowpass_mmi(), put_h264_qpel4_v_lowpass_mmi(), put_h264_qpel8_h_lowpass_l2_mmi(), put_h264_qpel8_h_lowpass_mmi(), put_h264_qpel8_v_lowpass_mmi(), put_h264_qpel8or16_hv1_lowpass_mmi(), put_h264_qpel8or16_hv2_lowpass_mmi(), put_pixels16_8_lsx(), put_pixels16_l2_8_lsx(), put_pixels8_8_inline_asm(), put_pixels8_l2_8_lsx(), put_pixels8_l2_shift5_mmi(), read_time(), rgb15to16_TMPL(), rgb15to32_TMPL(), rgb15tobgr24_TMPL(), rgb16to15_TMPL(), rgb16to32_TMPL(), rgb16tobgr24_TMPL(), rgb24to15_TMPL(), rgb24to16_TMPL(), rgb24tobgr15_TMPL(), rgb24tobgr16_TMPL(), rgb24tobgr24_TMPL(), rgb24tobgr32_TMPL(), rgb32to15_TMPL(), rgb32to16_TMPL(), rgb32tobgr15_TMPL(), rgb32tobgr16_TMPL(), rgb32tobgr24_TMPL(), swscale(), tempNoiseReducer_TMPL(), try_8x8basis_TMPL(), uyvytoyuv420_TMPL(), uyvytoyuv422_TMPL(), uyvytoyv12_TMPL(), vc1_put_ver_16b_shift2_mmi(), vertX1Filter_TMPL(), vp8_h_loop_filter8_mmi(), vp8_v_loop_filter8_mmi(), vp9_idct16x16_10_colcol_addblk_msa(), vp9_idct32x32_34_colcol_addblk_msa(), vu9_to_vu12_TMPL(), yuv2bgr24_1_TMPL(), yuv2bgr24_2_TMPL(), yuv2rgb32_1_TMPL(), yuv2rgb32_2_TMPL(), yuv2rgb555_1_TMPL(), yuv2rgb555_2_TMPL(), yuv2rgb565_1_TMPL(), yuv2rgb565_2_TMPL(), yuv2yuyv422_1_TMPL(), yuv2yuyv422_2_TMPL(), yuvPlanartouyvy_TMPL(), yuvPlanartoyuy2_TMPL(), yuy2toyv12_TMPL(), yuyvtoyuv420_TMPL(), yuyvtoyuv422_TMPL(), and yvu9_to_yuy2_TMPL().