Changeset 2168 for trunk


Ignore:
Timestamp:
May 28, 2012, 12:41:45 PM (7 years ago)
Author:
ksherdy
Message:

Removed buffer constantsfrom header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/buffer.hpp

    r2165 r2168  
    22#define BUFFER_HPP
    33#include "bitblock.hpp"
    4 
    5 ///////////////////////////////////////////////////////////////////////////
    6 // Buffer Constants
    7 ///////////////////////////////////////////////////////////////////////////
    8 //
    9 // NOTE:    Buffer segments are defined as multiples of BLOCK_SIZE.
    10 //              BLOCK_SIZE defined as a number of bytes.
    11 //
    12 #define PADDING_BLOCKS 1
    13 #define PADDING_SIZE (BLOCK_SIZE * PADDING_BLOCKS)
    14 #define COPYBACK_BLOCKS 2
    15 #define COPYBACK_SIZE (BLOCK_SIZE * COPYBACK_BLOCKS)
    16 #define SEGMENT_BLOCKS  12
    17 #define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
    18 #define BUFFER_SIZE (COPYBACK_SIZE + SEGMENT_SIZE + PADDING_SIZE)
    194
    205///////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.