Commit a049ffd9 authored by vaclav's avatar vaclav
Browse files

improve comments

parent 82b2790f
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ int main(

#ifdef NONBE_FIX_1100_OUTPUT_ORIENT
    /*------------------------------------------------------------------------------------------*
     * Open main orientation file
     * Open main orientation output file for writing
     *------------------------------------------------------------------------------------------*/

    if ( arg.mainOrientationWriterEnabled )
@@ -383,7 +383,7 @@ int main(
    }

    /*------------------------------------------------------------------------------------------*
     * Open tracked rotation file
     * Open tracked rotation output file for writing
     *------------------------------------------------------------------------------------------*/

    if ( arg.trackedRotationWriterEnabled )
@@ -396,7 +396,7 @@ int main(
    }

    /*------------------------------------------------------------------------------------------*
     * Open combined orientation file
     * Open combined orientation output file for writing
     *------------------------------------------------------------------------------------------*/

    if ( arg.combinedOrientationWriterEnabled )
+12 −6
Original line number Diff line number Diff line
@@ -2500,15 +2500,17 @@ static void bsCompactToSerial( const uint8_t *compact, uint16_t *serial, uint16_
#undef WMC_TOOL_SKIP
}


#ifdef NONBE_FIX_1100_OUTPUT_ORIENT
/*-------------------------------------------------------------------*
 * IVAS_DEC_GetMainOrientation()
 *
 * Get main orientation
 *-------------------------------------------------------------------*/

ivas_error IVAS_DEC_GetMainOrientation(
    IVAS_DEC_HANDLE hIvasDec,     /* i/o: IVAS decoder handle                       */
    IVAS_QUATERNION *pOrientation /* i/o: Quaternion pointer for main orientation   */
    IVAS_DEC_HANDLE hIvasDec,     /* i  : IVAS decoder handle                       */
    IVAS_QUATERNION *pOrientation /* o  : Quaternion pointer for main orientation   */
)
{
    ivas_error error;
@@ -2532,9 +2534,10 @@ ivas_error IVAS_DEC_GetMainOrientation(
 *
 * Get tracked rotation
 *-------------------------------------------------------------------*/

ivas_error IVAS_DEC_GetTrackedRotation(
    IVAS_DEC_HANDLE hIvasDec,  /* i/o: IVAS decoder handle                         */
    IVAS_QUATERNION *pRotation /* i/o: Quaternion pointer processed rotation       */
    IVAS_DEC_HANDLE hIvasDec,  /* i  : IVAS decoder handle                         */
    IVAS_QUATERNION *pRotation /* o  : Quaternion pointer processed rotation       */
)
{
    ivas_error error;
@@ -2552,14 +2555,16 @@ ivas_error IVAS_DEC_GetTrackedRotation(
    return IVAS_ERR_OK;
}


/*---------------------------------------------------------------------*
 * IVAS_DEC_GetCombinedOrientation()
 *
 * Get combined orientation
 *---------------------------------------------------------------------*/

ivas_error IVAS_DEC_GetCombinedOrientation(
    IVAS_DEC_HANDLE hIvasDec,     /* i/o: IVAS decoder handle                            */
    IVAS_QUATERNION *pOrientation /* i/o: Quaternion pointer processed orientation       */
    IVAS_DEC_HANDLE hIvasDec,     /* i  : IVAS decoder handle                            */
    IVAS_QUATERNION *pOrientation /*   o: Quaternion pointer processed orientation       */
)
{
    int16_t i;
@@ -2581,6 +2586,7 @@ ivas_error IVAS_DEC_GetCombinedOrientation(
}
#endif


/*---------------------------------------------------------------------*
 * IVAS_DEC_VoIP_FeedFrame( )
 *
+6 −6
Original line number Diff line number Diff line
@@ -485,20 +485,20 @@ ivas_error IVAS_DEC_GetPcmFrameSize(
#ifdef NONBE_FIX_1100_OUTPUT_ORIENT
/*! r: error code */
ivas_error IVAS_DEC_GetMainOrientation(
    IVAS_DEC_HANDLE hIvasDec,                   /* i/o: IVAS decoder handle                            */
    IVAS_QUATERNION *pOrientation               /* i/o: Quaternion pointer for main orientation   */
    IVAS_DEC_HANDLE hIvasDec,                   /* i  : IVAS decoder handle                                                     */
    IVAS_QUATERNION *pOrientation               /* o  : Quaternion pointer for main orientation                                 */
);

/*! r: error code */
ivas_error IVAS_DEC_GetTrackedRotation(
    IVAS_DEC_HANDLE hIvasDec,                   /* i/o: IVAS decoder handle                          */
    IVAS_QUATERNION *pRotation                  /* i/o: Quaternion pointer processed rotation       */
    IVAS_DEC_HANDLE hIvasDec,                   /* i  : IVAS decoder handle                                                     */
    IVAS_QUATERNION *pRotation                  /* o  : Quaternion pointer processed rotation                                   */
);

/*! r: error code */
ivas_error IVAS_DEC_GetCombinedOrientation(
    IVAS_DEC_HANDLE hIvasDec,                   /* i/o: IVAS decoder handle                               */
    IVAS_QUATERNION *pOrientation               /* i/o: Quaternion pointer processed orientation       */
    IVAS_DEC_HANDLE hIvasDec,                   /* i  : IVAS decoder handle                                                     */
    IVAS_QUATERNION *pOrientation               /* o  : Quaternion pointer processed orientation                                */
);
#endif