Bug 1106 - Bitstream: Simplify 'msbFirst' case for bulk operations / Add setting of stream position (optional)
Summary: Bitstream: Simplify 'msbFirst' case for bulk operations / Add setting of stre...
Status: RESOLVED FIXED
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2.3.0
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-12-03 20:30 CET by Sven Gothel
Modified: 2019-03-29 17:54 CET (History)
0 users

See Also:
Type: ---
SCM Refs:
gluegen 9e13e8c78ed69bb7afcd49abe8bf69340dc06223 jogl 241d505749b7d2bd383673a378fdca268989d2fd
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2014-12-03 20:30:18 CET
- Add setting position entry, optionally supported, 
  e.g. ByteBufferStream and ByteArrayStream

- Remove 'msbFirst' parameter on all 'bulk' read/write
  operations.

  These methods use LSB-first always, allowing proper 
  stream access of data w/ different bit-sizes.
  
  Data is now read/write as little-endian
  and swapped accordingly.

  Optimizations are adopted for LSB-first operations.

  Proposed changes removes API confusion/bugs:
    - removes one decision (parameter)
    - removes the data reversion case
    - removes bugs w/ different bit-sizes
Comment 1 Sven Gothel 2014-12-03 20:31:13 CET
Fixed as described
Comment 2 Sven Gothel 2014-12-06 20:30:40 CET
JOGL: JPEGDecoder adopt to GlueGen Bitstream change commit 9e13e8c78ed69bb7afcd49abe8bf69340dc06223