<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>980</bug_id>
          
          <creation_ts>2014-02-20 17:39:07 +0100</creation_ts>
          <short_desc>Add versatile Bitstream implementation</short_desc>
          <delta_ts>2014-02-21 12:31:47 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>gluegen d4d337be925a28b8701ac335c2b5cc6e390cabc9
gluegen 8022ae51a072f5198409d3c81d9979456676d0cf
jogl ef2a1bf80f8afe9d9249a196d1842de0b74251a5
gluegen 4447232af0d95a4348d09d4ed03fbef48394ca3a
jogl dc67f891de5ef31ed8e0e83e7a53e4bdcd881d29</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3752</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-02-20 17:39:07 +0100</bug_when>
    <thetext>We already have several locations where bitstream operations are required and 
partially implemented (JPEG decoder, media parsing, ..)
as well as endian related conversion (elf parser, ..).

Create a versatile Bitstream class allowing:
  - Utilize I/O operations on I/O streams, buffers and arrays
  - Consider MSBfirst / LSBfirst mode
  - Linear bit R/W operations
  - Bulk R/W operations w/ endian related type conversion
  - Allow mark/reset and switching streams and input/output mode
  - Optimized operations</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3753</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-02-20 17:46:31 +0100</bug_when>
    <thetext>gluegen d4d337be925a28b8701ac335c2b5cc6e390cabc9
    Bug 890: Adding versatile Bitstream implementation
    
    We already have several locations where bitstream operations are required and
    partially implemented (JPEG decoder, media parsing, ..)
    as well as endian related conversion (elf parser, ..).
    
    Create a versatile Bitstream class allowing:
      - Utilize I/O operations on I/O streams, buffers and arrays
      - Consider MSBfirst / LSBfirst mode
      - Linear bit R/W operations
      - Bulk R/W operations w/ endian related type conversion
      - Allow mark/reset and switching streams and input/output mode
      - Optimized operations
    
    Complete set of unit tests included, covering hopefully all cases.

gluegen 8022ae51a072f5198409d3c81d9979456676d0cf
   Use Bitsream class for jogamp.common.os.elf.**</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3754</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-02-20 17:49:23 +0100</bug_when>
    <thetext>jogl ef2a1bf80f8afe9d9249a196d1842de0b74251a5
  Use Bitsream class for JPEGDecoder</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3763</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-02-21 12:31:47 +0100</bug_when>
    <thetext>4447232af0d95a4348d09d4ed03fbef48394ca3a
  Refine Bitstream API &apos;signed&apos; and &apos;unsigned&apos; semantics - readUInt32(..) must return long due to EOF

Adapt:
   jogl dc67f891de5ef31ed8e0e83e7a53e4bdcd881d29</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>