Searched refs:oidata (Results 1 – 1 of 1) sorted by relevance
577 unsigned char* oidata; in ptp_pack_OI() local581 oidata=malloc(PTP_oi_MaxLen + params->ocs64*4); in ptp_pack_OI()582 *oidataptr=oidata; in ptp_pack_OI()587 memset (oidata, 0, PTP_oi_MaxLen + params->ocs64*4); in ptp_pack_OI()588 htod32a(&oidata[PTP_oi_StorageID],oi->StorageID); in ptp_pack_OI()589 htod16a(&oidata[PTP_oi_ObjectFormat],oi->ObjectFormat); in ptp_pack_OI()590 htod16a(&oidata[PTP_oi_ProtectionStatus],oi->ProtectionStatus); in ptp_pack_OI()591 htod32a(&oidata[PTP_oi_ObjectCompressedSize],oi->ObjectCompressedSize); in ptp_pack_OI()593 oidata += 4; in ptp_pack_OI()594 htod16a(&oidata[PTP_oi_ThumbFormat],oi->ThumbFormat); in ptp_pack_OI()[all …]