Gammu internals
1.38.0
|
Go to the source code of this file.
Functions | |
void | GSM_GetMaxBitmapWidthHeight (GSM_Bitmap_Types Type, size_t *width, size_t *height) |
void | GSM_ResizeBitmap (GSM_Bitmap *dest, GSM_Bitmap *src, size_t width, size_t height) |
void | GSM_ReverseBitmap (GSM_Bitmap *Bitmap) |
size_t | GSM_GetBitmapSize (GSM_Bitmap *bmp) |
GSM_Error | BMP2Bitmap (unsigned char *buffer, FILE *file, GSM_Bitmap *bitmap) |
GSM_Error | Bitmap2BMP (unsigned char *buffer, FILE *file, GSM_Bitmap *bitmap) |
void | PHONE_GetBitmapWidthHeight (GSM_Phone_Bitmap_Types Type, size_t *width, size_t *height) |
size_t | PHONE_GetBitmapSize (GSM_Phone_Bitmap_Types Type, size_t width, size_t height) |
void | PHONE_ClearBitmap (GSM_Phone_Bitmap_Types Type, char *buffer, size_t width, size_t height) |
void | PHONE_DecodeBitmap (GSM_Phone_Bitmap_Types Type, char *buffer, GSM_Bitmap *Bitmap) |
void | PHONE_EncodeBitmap (GSM_Phone_Bitmap_Types Type, char *buffer, GSM_Bitmap *Bitmap) |
void | NOKIA_CopyBitmap (GSM_Phone_Bitmap_Types Type, GSM_Bitmap *Bitmap, char *Buffer, size_t *Length) |
Definition at line 9 of file gsmlogo.h.
GSM_Error Bitmap2BMP | ( | unsigned char * | buffer, |
FILE * | file, | ||
GSM_Bitmap * | bitmap | ||
) |
Definition at line 321 of file gsmlogo.c.
References GSM_Bitmap::BitmapHeight, GSM_Bitmap::BitmapWidth, chk_fwrite, dbgprintf, ERR_NONE, ERR_WRITING_FILE, FALSE, GSM_IsPointBitmap(), and TRUE.
Referenced by savebmp().
GSM_Error BMP2Bitmap | ( | unsigned char * | buffer, |
FILE * | file, | ||
GSM_Bitmap * | bitmap | ||
) |
Definition at line 705 of file gsmlogo.c.
References GSM_Bitmap::BitmapHeight, GSM_Bitmap::BitmapWidth, dbgprintf, ERR_FILENOTSUPPORTED, ERR_NONE, FALSE, GSM_ClearBitmap(), GSM_GetMaxBitmapWidthHeight(), GSM_None, GSM_SetPointBitmap(), GSM_StartupLogo, TRUE, and GSM_Bitmap::Type.
Referenced by loadbmp().
size_t GSM_GetBitmapSize | ( | GSM_Bitmap * | bmp | ) |
Definition at line 252 of file gsmlogo.c.
References GSM_Bitmap::BitmapHeight, and GSM_Bitmap::BitmapWidth.
Referenced by GSM_ClearBitmap().
void GSM_GetMaxBitmapWidthHeight | ( | GSM_Bitmap_Types | Type, |
size_t * | width, | ||
size_t * | height | ||
) |
Definition at line 217 of file gsmlogo.c.
References GSM_CallerGroupLogo, GSM_OperatorLogo, GSM_PictureImage, and GSM_StartupLogo.
Referenced by BMP2Bitmap(), loadnlm(), and loadnolngg().
void GSM_ResizeBitmap | ( | GSM_Bitmap * | dest, |
GSM_Bitmap * | src, | ||
size_t | width, | ||
size_t | height | ||
) |
Definition at line 288 of file gsmlogo.c.
References GSM_Bitmap::BitmapHeight, GSM_Bitmap::BitmapWidth, GSM_ClearBitmap(), GSM_IsPointBitmap(), and GSM_SetPointBitmap().
Referenced by GSM_EncodeEMSMultiPartSMS(), and PHONE_EncodeBitmap().
void GSM_ReverseBitmap | ( | GSM_Bitmap * | Bitmap | ) |
Definition at line 273 of file gsmlogo.c.
References GSM_Bitmap::BitmapHeight, GSM_Bitmap::BitmapWidth, GSM_ClearPointBitmap(), GSM_IsPointBitmap(), and GSM_SetPointBitmap().
Referenced by loadwbmp().
void NOKIA_CopyBitmap | ( | GSM_Phone_Bitmap_Types | Type, |
GSM_Bitmap * | Bitmap, | ||
char * | Buffer, | ||
size_t * | Length | ||
) |
Definition at line 1132 of file gsmlogo.c.
References PHONE_EncodeBitmap(), PHONE_GetBitmapSize(), and PHONE_GetBitmapWidthHeight().
Referenced by GSM_EncodeMultiPartSMS(), and GSM_EncodeSMS30MultiPartSMS().
void PHONE_ClearBitmap | ( | GSM_Phone_Bitmap_Types | Type, |
char * | buffer, | ||
size_t | width, | ||
size_t | height | ||
) |
Definition at line 192 of file gsmlogo.c.
References PHONE_GetBitmapSize().
Referenced by PHONE_EncodeBitmap().
void PHONE_DecodeBitmap | ( | GSM_Phone_Bitmap_Types | Type, |
char * | buffer, | ||
GSM_Bitmap * | Bitmap | ||
) |
Definition at line 141 of file gsmlogo.c.
References GSM_Bitmap::BitmapEnabled, GSM_Bitmap::BitmapHeight, GSM_Bitmap::BitmapWidth, GSM_Bitmap::DefaultBitmap, GSM_Bitmap::DefaultName, GSM_Bitmap::DefaultRingtone, FALSE, GSM_Bitmap::FileSystemPicture, GSM_AlcatelBMMIPicture, GSM_CallerGroupLogo, GSM_ClearBitmap(), GSM_EMSBigPicture, GSM_EMSMediumPicture, GSM_EMSSmallPicture, GSM_EMSVariablePicture, GSM_Nokia6210StartupLogo, GSM_Nokia6510OperatorLogo, GSM_Nokia7110OperatorLogo, GSM_Nokia7110StartupLogo, GSM_NokiaCallerLogo, GSM_NokiaOperatorLogo, GSM_NokiaPictureImage, GSM_NokiaStartupLogo, GSM_OperatorLogo, GSM_PictureImage, GSM_SetPointBitmap(), GSM_StartupLogo, GSM_Bitmap::ID, GSM_Bitmap::Location, GSM_Bitmap::Name, GSM_Bitmap::NetworkCode, PHONE_GetBitmapWidthHeight(), PHONE_IsPointBitmap(), GSM_Bitmap::RingtoneID, GSM_Bitmap::Sender, GSM_Bitmap::Text, and GSM_Bitmap::Type.
Referenced by GSM_DecodeEMSMultiPartSMS(), GSM_DecodeMultiPartSMS(), GSM_DecodeNokiaProfile(), loadnsl(), loadwbmp(), and N71_65_DecodePhonebook().
void PHONE_EncodeBitmap | ( | GSM_Phone_Bitmap_Types | Type, |
char * | buffer, | ||
GSM_Bitmap * | Bitmap | ||
) |
Definition at line 197 of file gsmlogo.c.
References GSM_Bitmap::BitmapHeight, GSM_Bitmap::BitmapWidth, GSM_IsPointBitmap(), GSM_ResizeBitmap(), PHONE_ClearBitmap(), PHONE_GetBitmapWidthHeight(), and PHONE_SetPointBitmap().
Referenced by GSM_EncodeEMSMultiPartSMS(), GSM_EncodeMultiPartSMS(), NOKIA_CopyBitmap(), and savensl().
size_t PHONE_GetBitmapSize | ( | GSM_Phone_Bitmap_Types | Type, |
size_t | width, | ||
size_t | height | ||
) |
Definition at line 44 of file gsmlogo.c.
References GSM_AlcatelBMMIPicture, GSM_EMSBigPicture, GSM_EMSMediumPicture, GSM_EMSSmallPicture, GSM_EMSVariablePicture, GSM_Nokia6210StartupLogo, GSM_Nokia6510OperatorLogo, GSM_Nokia7110OperatorLogo, GSM_Nokia7110StartupLogo, GSM_NokiaCallerLogo, GSM_NokiaOperatorLogo, GSM_NokiaPictureImage, GSM_NokiaStartupLogo, and PHONE_GetBitmapWidthHeight().
Referenced by GSM_DecodeEMSMultiPartSMS(), GSM_EncodeEMSMultiPartSMS(), GSM_EncodeMultiPartSMS(), NOKIA_CopyBitmap(), PHONE_ClearBitmap(), and savensl().
void PHONE_GetBitmapWidthHeight | ( | GSM_Phone_Bitmap_Types | Type, |
size_t * | width, | ||
size_t * | height | ||
) |
Definition at line 23 of file gsmlogo.c.
References GSM_AlcatelBMMIPicture, GSM_EMSBigPicture, GSM_EMSMediumPicture, GSM_EMSSmallPicture, GSM_EMSVariablePicture, GSM_Nokia6210StartupLogo, GSM_Nokia6510OperatorLogo, GSM_Nokia7110OperatorLogo, GSM_Nokia7110StartupLogo, GSM_NokiaCallerLogo, GSM_NokiaOperatorLogo, GSM_NokiaPictureImage, and GSM_NokiaStartupLogo.
Referenced by GSM_EncodeEMSMultiPartSMS(), NOKIA_CopyBitmap(), PHONE_DecodeBitmap(), PHONE_EncodeBitmap(), and PHONE_GetBitmapSize().