FACT++  1.0
void READ_STRUCT::swapData ( )

Definition at line 497 of file EventBuilder.cc.

References i.

Referenced by mainloop().

498 {
499  // swapEventHeaderBytes: End of the header. to channels now
500 
501  int i = 36;
502  for (int ePatchesCount = 0; ePatchesCount<4*9; ePatchesCount++)
503  {
504  S[i+0] = ntohs(S[i+0]);//id
505  S[i+1] = ntohs(S[i+1]);//start_cell
506  S[i+2] = ntohs(S[i+2]);//roi
507  S[i+3] = ntohs(S[i+3]);//filling
508 
509  i += 4+S[i+2];//skip the pixel data
510  }
511 }
int i
Definition: db_dim_client.c:21
uint16_t S[MAX_LEN/2]

+ Here is the caller graph for this function: