{"name": "swap_sample_fmts", "code": "__int64 __fastcall swap_sample_fmts ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int @@i@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = @@i@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= @@i@@ ) break ; swap_sample_fmts_on_filter ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]}
{"name": "swap_sample_fmts_on_filter", "code": "__int64 __fastcall swap_sample_fmts_on_filter ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; int @@v3@@ ; unsigned int @@v4@@ ; __int64 @@v5@@ ; int @@v6@@ ; unsigned int @@v7@@ ; int @@v8@@ ; signed int @@v9@@ ; int @@v10@@ ; int @@k@@ ; unsigned int i ; unsigned int j ; __int64 @@v14@@ ; @@v14@@ = Number L ; for ( i = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > i ; ++ i ) { @@v14@@ = * ( _QWORD * ) ( Number L * ( int ) i + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@v14@@ + Number ) == Number && * * ( _DWORD * * ) ( @@v14@@ + Number ) == Number ) break ; } @@result@@ = i ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) != i ) { @@v7@@ = * * ( _DWORD * * ) ( * ( _QWORD * ) ( @@v14@@ + Number ) + Number L ) ; @@v6@@ = av_get_bytes_per_sample ( @@v7@@ ) ; for ( j = Number ; ; ++ j ) { @@result@@ = j ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= j ) break ; @@v5@@ = * ( _QWORD * ) ( Number L * ( int ) j + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v10@@ = Number ; @@v9@@ = Number ; if ( * ( _DWORD * ) ( @@v5@@ + Number ) == Number && * * ( _DWORD * * ) ( @@v5@@ + Number ) > Number ) { for ( @@k@@ = Number ; * * ( _DWORD * * ) ( @@v5@@ + Number ) > ( unsigned int ) @@k@@ ; ++ @@k@@ ) { @@v4@@ = * ( _DWORD * ) ( Number L * @@k@@ + * ( _QWORD * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) ; @@v3@@ = av_get_bytes_per_sample ( @@v4@@ ) ; if ( @@v7@@ == ( unsigned int ) av_get_packed_sample_fmt ( @@v4@@ ) || @@v7@@ == ( unsigned int ) av_get_planar_sample_fmt ( @@v4@@ ) ) { @@v10@@ = @@k@@ ; break ; } if ( @@v6@@ == Number && @@v3@@ == Number ) { @@v10@@ = @@k@@ ; break ; } @@v8@@ = ( ( @@v3@@ - @@v6@@ ) >> Number ) - ( ( ( @@v3@@ - @@v6@@ ) >> Number ) ^ ( @@v3@@ - @@v6@@ ) ) ; if ( @@v3@@ >= @@v6@@ ) @@v8@@ += Number ; if ( @@v8@@ > @@v9@@ ) { @@v9@@ = @@v8@@ ; @@v10@@ = @@k@@ ; } } if ( @@v10@@ < Number ) { av_log ( Number L , Number L , String , String , String , Number L ) ; abort ( ) ; } @@v2@@ = * ( _DWORD * ) ( Number L * @@v10@@ + * ( _QWORD * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) ; * ( _DWORD * ) ( Number L * @@v10@@ + * ( _QWORD * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) = * * ( _DWORD * * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ; * * ( _DWORD * * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) = @@v2@@ ; } } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "k", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v9", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s32"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s40"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s60"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s64"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s68"}]} {"name": "graph_config_formats", "code": "__int64 __fastcall graph_config_formats ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; int v3 ; int v4 ; v3 = query_formats ( @@a1@@ , @@a2@@ ) ; if ( v3 < Number ) return ( unsigned int ) v3 ; reduce_formats ( @@a1@@ ) ; swap_sample_fmts ( @@a1@@ ) ; swap_samplerates ( @@a1@@ ) ; swap_channel_layouts ( @@a1@@ ) ; v4 = pick_formats ( @@a1@@ ) ; if ( v4 >= Number ) @@result@@ = Number L ; else @@result@@ = ( unsigned int ) v4 ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}