Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 12:12, 24 August 2007.

KIS000575 - Documentation change and binary incompatibility issue with TAcceleratedBitmapInfo.iPixelShift

From Forum Nokia Wiki


Documentation change and binary incompatibility issue with TAcceleratedBitmapInfo.iPixelShift
KIS000575
Overview
-
Category
Symbian C++
Subcategory
Graphics
Reported against
S60 3rd Edition, MR
S60 3rd Edition, FP1
Date identified
February 8, 2007
Symptoms
-
Detailed description
TAcceleratedBitmapInfo.iPixelShift has been incorrectly documented in S60 3rd Edition MR and FP1 SDKs as:
"The number of bits needed to represent one pixel in the bitmap."
However, the correct definition of TAcceleratedBitmapInfo.iPixelShift should be:
"The shift required to obtain the number of bits needed to represent one pixel in the bitmap. The number of bits per pixel is calculated as 1 << iPixelShift"
Some S60 3rd Edition devices have been noticed to be using components which still conform to the erroneous definition mentioned above.
The erroneous implementation returns 32 as TAcceleratedBitmapInfo.iPixelShift, whereas the correct value should be 5.
Applications relying on the incorrect return value may not work correctly with the new implementation existing in some S60 3rd Edition devices.
At least the following devices are affected by the incorrect scheme (TAcceleratedBitmapInfo.iPixelShift returns 32):
- Nokia 3250
- Nokia E60
- Nokia E70
- Nokia N80
- Nokia N75
Whereas these devices have been confirmed to use the correct scheme (TAcceleratedBitmapInfo.iPixelShift returns 5):
- Nokia N95
Note: This behaviour may change when a device is updated with a new software version. Applications using TAcceleratedBitmapInfo.iPixelShift value should accommodate to both situations.
How to reproduce
-
Solution
-
Related Discussions
Thread Thread Starter Forum Replies Last Post
OMA Client Provisioning for Nokia 5200 samir01m11 OMA DM/DS/CP 2 2007-11-21 09:58
Sending ringtones to CDMA phones via US operators ? Chr13 Smart Messaging 0 2002-08-07 04:48
help! sending ringtone using SMS sumanta679 Smart Messaging 3 2004-04-14 16:52
Sending Binary Sms tonino12345 Python 4 2005-10-25 19:32
Can i decompile a RSC file ?! IMPACT General Symbian C++ 5 2008-02-29 17:19
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX