FLA_LQ_UT.c File Reference

(r)


Functions

FLA_Error FLA_LQ_UT (FLA_Obj A, FLA_Obj T)
void FLA_F2C() fla_lq_ut_f (F_INT *A, F_INT *T, F_INT *IERROR)

Variables

fla_lqut_tfla_lqut_cntl_leaf

Function Documentation

FLA_Error FLA_LQ_UT ( FLA_Obj  A,
FLA_Obj  T 
)

References FLA_Blocksize_set(), FLA_Check_error_level(), FLA_LQ_UT_check(), FLA_LQ_UT_internal(), and FLA_Obj_width().

Referenced by fla_lq_ut_f().

00038 {
00039   FLA_Error r_val;
00040   dim_t     nb_alg;
00041 
00042   // Check parameters.
00043   if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
00044     FLA_LQ_UT_check( A, T );
00045 
00046   // Inspect the width of T to get the implied blocksize.
00047   nb_alg = FLA_Obj_width( T );
00048 
00049   // Adjust the top parent control tree node based on the implied blocksize.
00050   FLA_Blocksize_set( FLA_Cntl_blocksize( fla_lqut_cntl_leaf ),
00051                      nb_alg, nb_alg, nb_alg, nb_alg );
00052 
00053   // Invoke FLA_LQ_UT_internal() with the standard control tree.
00054   //r_val = FLA_LQ_UT_blk_var1( A, T, fla_lqut_cntl_leaf );
00055   r_val = FLA_LQ_UT_internal( A, T, fla_lqut_cntl_leaf );
00056 
00057   return r_val;
00058 }

void FLA_F2C() fla_lq_ut_f ( F_INT *  A,
F_INT *  T,
F_INT *  IERROR 
)

References FLA_LQ_UT().

00062 {
00063   *IERROR = FLA_LQ_UT( *( ( FLA_Obj * ) A ),
00064                        *( ( FLA_Obj * ) T ) );
00065 }


Variable Documentation


Generated on Mon Jul 6 05:45:56 2009 for libflame by  doxygen 1.5.9