Commit feb30a0b authored by vaclav's avatar vaclav
Browse files

clang-format; MSVC filters update

parent 21a7d0bf
Loading
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -472,7 +472,12 @@
    <ClCompile Include="..\lib_com\ivas_osba_com.c">
      <Filter>common_ivas_c</Filter>
    </ClCompile>
    <ClCompile Include="..\lib_com\ivas_rotation_com.c" />
    <ClCompile Include="..\lib_com\ivas_limiter.c">
      <Filter>common_ivas_c</Filter>
    </ClCompile>
    <ClCompile Include="..\lib_com\ivas_rotation_com.c">
      <Filter>common_ivas_c</Filter>
    </ClCompile>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\lib_com\basop_proto_func.h">
+1 −1
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ ivas_error ivas_limiter_open(
    {
        return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Limiter handle\n" ) );
    }

    hLimiter->sampling_rate = sampling_rate;
    hLimiter->gain = 1.f;
    hLimiter->release_heuristic = 0.f;
@@ -337,7 +338,6 @@ void limiter_process(

    if ( apply_limiting )
    {

        /* 99% time constants of the gain curve
         *
         * The denominator of the second argument determines after how many
+2 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ void Euler2Quat(
    float sp = sinf( pitch * 0.5f );
    float cy = cosf( yaw * 0.5f );
    float sy = sinf( yaw * 0.5f );

    quat->w = cr * cp * cy + sr * sp * sy;
    quat->x = sr * cp * cy - cr * sp * sy;
    quat->y = sr * cp * sy + cr * sp * cy;
@@ -88,6 +89,7 @@ void Quat2EulerDegree(
    if ( quat.w != -3.0 )
    {
        float p;

        *yaw = atan2f( 2 * ( quat.w * quat.x + quat.y * quat.z ), 1 - 2 * ( quat.x * quat.x + quat.y * quat.y ) );
        p = 2 * ( quat.w * quat.y - quat.z * quat.x );
        p = max( -1.0f, min( 1.0f, p ) );
+17 −17
Original line number Diff line number Diff line
@@ -1307,7 +1307,6 @@ ivas_error ivas_external_orientation_open(
void ivas_external_orientation_close(
    EXTERNAL_ORIENTATION_HANDLE *hExtOrientationData            /* i/o: external orientation handle                     */
);

ivas_error ivas_combined_orientation_open(
    COMBINED_ORIENTATION_HANDLE *hCombinedOrientationData,      /* o  : combined orientation handle                     */
    const int32_t fs,                                           /* i  : sampling rate                                   */
@@ -1330,6 +1329,7 @@ ivas_error combine_external_and_head_orientations_rend(
    COMBINED_ORIENTATION_HANDLE hCombinedOrientationData        /* i/o: combined orientation handle                     */
);


/*----------------------------------------------------------------------------------*
 * Renderer configuration
 *----------------------------------------------------------------------------------*/
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading