Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/05/04 11:13
Read: times


 
#64049 - RE: Another question?
Responding to: ???'s previous message
That's RLL (Run Length Limited) encoding.

The compression factor is highly dependent on the repetitivity of your data. If there is no repetition, your data will actually grow..

How to decode?
while (data)
{
   read odd byte, 
   save as data_char
   read even byte
   save as counter
   until counter=0
   {
      send data_char
      decrement counter
   }
}


How much IRAM does it need? Depends on how you program it...

regards

Patrick


List of 42 messages in thread
TopicAuthorDate
String Compression Algorthim...            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
      A more excellent way            01/01/70 00:00      
      creativity or...rehashing an old idea            01/01/70 00:00      
   Alternative approach with Keil            01/01/70 00:00      
      RE: Alternative approach with Keil            01/01/70 00:00      
         RE: Clarification - Alternative approach            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      ROM/RAM; CODE/XDATA            01/01/70 00:00      
         RE: ROM/RAM; CODE/XDATA            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
         What MCU?            01/01/70 00:00      
            RE: What MCU?            01/01/70 00:00      
               RE: What MCU?            01/01/70 00:00      
               RE: What MCU?            01/01/70 00:00      
                  RE: What MCU?            01/01/70 00:00      
                     RE: What MCU?            01/01/70 00:00      
               Completely the Wrong MCU!            01/01/70 00:00      
                  RE: Completely the Wrong MCU!            01/01/70 00:00      
                     RE: Completely the Wrong MCU!            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
         RE: String Compression Algorthim...            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
         RE: String Compression Algorthim...            01/01/70 00:00      
   Radix-50?            01/01/70 00:00      
      RE: Radix-50?            01/01/70 00:00      
         RE: Radix-50?            01/01/70 00:00      
            Animations...            01/01/70 00:00      
            RE: Radix-50?            01/01/70 00:00      
      RE: Radix-50?            01/01/70 00:00      
         RE: Radix-50?            01/01/70 00:00      
            Another question?            01/01/70 00:00      
               RE: Another question?            01/01/70 00:00      
                  RE: Another question?            01/01/70 00:00      
                     RE: Another question?            01/01/70 00:00      
                        RE: Another question?            01/01/70 00:00      
               RE: Another question?            01/01/70 00:00      
                  interesting for other, but not for Azhar            01/01/70 00:00      
               RE: Another question?            01/01/70 00:00      

Back to Subject List