Ported bwc_set_tiles function to new coding style
This commit is contained in:
parent
bbbb6117a9
commit
69ea796191
1 changed files with 22 additions and 41 deletions
|
@ -686,48 +686,29 @@ bwc_set_qm(bwc_field *const field,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------------------------------------*\
|
/*------------------------------------------------------------------------------------------------*\
|
||||||
! FUNCTION NAME: void bwc_set_tiles(bwc_field *const field, uint32 tilesX, uint32 tilesY, uint32 tilesZ, !
|
|
||||||
! -------------- uint32 tilesTS, uchar instr) !
|
|
||||||
! !
|
! !
|
||||||
! DESCRIPTION: !
|
! DESCRIPTION: !
|
||||||
! ------------ !
|
! ------------ !
|
||||||
! This function amends the tileSize and num_Tiles values in the bwc_field structure according !
|
|
||||||
! to the specified values. The NUMBEROF and SIZEOF constants can be used to either specify !
|
|
||||||
! the tile sizes or the number of tiles in each spatial and temporal directions. !
|
|
||||||
! !
|
! !
|
||||||
! PARAMETERS: !
|
! This function amends the tileSize and num_Tiles values in the bwc_field struc- !
|
||||||
! ----------- !
|
! ture according to the specified values. The NUMBEROF and SIZEOF constants can be !
|
||||||
! Variable Type Description !
|
! used to either specify the tile sizes or the number of tiles in each spatial and !
|
||||||
! -------- ---- ----------- !
|
! temporal directions. !
|
||||||
! field bwc_field* - Structure defining the compression/ !
|
|
||||||
! decompression stage. !
|
|
||||||
! !
|
! !
|
||||||
! tilesX, tilesY, tilesZ unsigned int(32 bit) - Variables defining the size of !
|
! RETURN: !
|
||||||
! a spatial tile. !
|
! ------- !
|
||||||
! !
|
! !
|
||||||
! tilesTS unsigned int(32 bit) - Variables defining the size of !
|
! - !
|
||||||
! a temporal tile. !
|
|
||||||
! !
|
! !
|
||||||
! instr bwc_tile_instr - Constants used to instruct the !
|
\*------------------------------------------------------------------------------------------------*/
|
||||||
! bwc_set_tiles function. !
|
|
||||||
! !
|
|
||||||
! RETURN VALUE: !
|
|
||||||
! ------------- !
|
|
||||||
! Type Description !
|
|
||||||
! ---- ----------- !
|
|
||||||
! - - !
|
|
||||||
! !
|
|
||||||
! DEVELOPMENT HISTORY: !
|
|
||||||
! -------------------- !
|
|
||||||
! !
|
|
||||||
! Date Author Change Id Release Description Of Change !
|
|
||||||
! ---- ------ --------- ------- --------------------- !
|
|
||||||
! 14.03.2018 Patrick Vogler B87D120 V 0.1.0 function created !
|
|
||||||
! !
|
|
||||||
\*----------------------------------------------------------------------------------------------------------*/
|
|
||||||
void
|
void
|
||||||
bwc_set_tiles(bwc_field *const field, uint64 tilesX, uint64 tilesY, uint64 tilesZ, uint16 tilesTS, bwc_tile_instr instr)
|
bwc_set_tiles(bwc_field *const field,
|
||||||
|
uint64 const *const tilesX,
|
||||||
|
uint64 const *const tilesY,
|
||||||
|
uint64 const *const tilesZ,
|
||||||
|
uint16 const *const tilesTS,
|
||||||
|
bwc_tile_instr const instr)
|
||||||
{
|
{
|
||||||
/*-----------------------*\
|
/*-----------------------*\
|
||||||
! DEFINE INT VARIABLES: !
|
! DEFINE INT VARIABLES: !
|
||||||
|
|
Loading…
Reference in a new issue