This site is no longer active and is available for archival purposes only. Registration and login is disabled.

15bit to 16 bit


15bit to 16 bit

Postby R0B » Jun 18, 2002 @ 9:59pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby Kzinti » Jun 18, 2002 @ 10:23pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby R0B » Jun 18, 2002 @ 10:52pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby Kzinti » Jun 18, 2002 @ 11:20pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Dave » Jun 19, 2002 @ 1:44am

Dave
 


Postby Kzinti » Jun 19, 2002 @ 3:31am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Dan East » Jun 19, 2002 @ 3:40am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby refractor » Jun 19, 2002 @ 9:24am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Dave » Jun 19, 2002 @ 12:19pm

Dave
 


Postby refractor » Jun 19, 2002 @ 1:17pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Dan East » Jun 19, 2002 @ 3:27pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby refractor » Jun 19, 2002 @ 4:47pm

Ummm... I really do doubt it, on a PPC processor. On a "real" PC with a much larger cache, it might work out alright.

You could do the mask and shifts in very few cycles (circa 4 or 5 per pair of pixels).

As I said earlier, the StrongARM will fill a cache-line for every load. So, in this case, you'll be doing:

LDR value,[base,pixel]

The moment that hits the processor, a cache-line is requested. Until that cache line is fully loaded into the cache, any subsequent loads will *stall*.

So:

LDR value,[base,pixel1]
(Big stall)
LDR value,[base,pixel2]

In this case, the (Big stall) is going to be larger than the 4 or 5 cycles for the shifting method.
On an area of memory that large, you've got to assume that a large majority of the lookups will miss the cache.

Of course, if you can fill the (Big stall) with useful operations that don't use the memory or loading registers (data processing) then you're ok... but for something to process a screenfull of 555 to 565 the shifting method will walk all over a LUT (on a PPC).

Cheers,

Refractor
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby R0B » Jun 19, 2002 @ 6:47pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby refractor » Jun 20, 2002 @ 8:46am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby R0B » Jun 20, 2002 @ 3:53pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum