Pre-computing size of data file content area and publishing it to

writers as Ecma119Image.filesrc_blocks.
This commit is contained in:
2012-06-05 21:29:52 +02:00
parent a3285f6e5d
commit cb3a6f8bb0
4 changed files with 80 additions and 16 deletions

View File

@@ -835,6 +835,12 @@ struct ecma119_image
*/
uint8_t sys_area_as_written[16 * BLOCK_SIZE];
/* Size of the filesrc_writer area (data file content).
This is available before any IsoImageWriter.compute_data_blocks()
is called.
*/
uint32_t filesrc_blocks;
};
#define BP(a,b) [(b) - (a) + 1]