libflame  revision_anchor
Functions | Variables
FLA_Apply_pivots_macro_task.c File Reference

(r)

Functions

FLA_Error FLA_Apply_pivots_macro_task (FLA_Side side, FLA_Trans trans, FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
 

Variables

fla_appiv_tfla_appiv_cntl_leaf
 

Function Documentation

◆ FLA_Apply_pivots_macro_task()

FLA_Error FLA_Apply_pivots_macro_task ( FLA_Side  side,
FLA_Trans  trans,
FLA_Obj  p,
FLA_Obj  A,
fla_appiv_t cntl 
)
16 {
17  FLA_Error r_val;
18 /*
19  FLA_Obj A_flat;
20 
21  FLASH_Obj_create_flat_copy_of_hier( A, &A_flat );
22 
23  r_val = FLA_Apply_pivots_unb_external( side, trans, p, A_flat );
24 
25  FLASH_Copy_flat_to_hier( A_flat, 0, 0, A );
26 
27  FLA_Obj_free( &A_flat );
28 */
29  if ( FLA_Obj_length( A ) > 1 )
30  {
31  r_val = FLA_Apply_pivots_macro_external( side, trans, p, A );
32  }
33  else
34  {
35  //r_val = FLA_Apply_pivots_unb_external( side, trans, p,
36  // *FLASH_OBJ_PTR_AT( A ) );
37  r_val = FLA_Apply_pivots_internal( side, trans, p,
38  *FLASH_OBJ_PTR_AT( A ),
40  }
41 
42  return r_val;
43 }
FLA_Error FLA_Apply_pivots_internal(FLA_Side side, FLA_Trans trans, FLA_Obj p, FLA_Obj A, fla_appiv_t *cntl)
Definition: FLA_Apply_pivots_internal.c:13
fla_appiv_t * fla_appiv_cntl_leaf
Definition: FLA_Apply_pivots_cntl_init.c:13
FLA_Error FLA_Apply_pivots_macro_external(FLA_Side side, FLA_Trans trans, FLA_Obj p, FLA_Obj A)
Definition: FLA_Apply_pivots_macro_external.c:13
dim_t FLA_Obj_length(FLA_Obj obj)
Definition: FLA_Query.c:116
int FLA_Error
Definition: FLA_type_defs.h:47

References fla_appiv_cntl_leaf, FLA_Apply_pivots_internal(), FLA_Apply_pivots_macro_external(), and FLA_Obj_length().

Referenced by FLA_Apply_pivots_internal(), and FLASH_Queue_exec_task().

Variable Documentation

◆ fla_appiv_cntl_leaf

fla_appiv_t* fla_appiv_cntl_leaf
extern