Lines Matching refs:dtoh32a
122 #define dtoh32a(a) dtoh32ap(params,a) macro
281 n=dtoh32a(&data[offset]); in ptp_unpack_uint32_t_array()
296 (*array)[i]=dtoh32a(&data[offset+(sizeof(uint32_t)*(i+1))]); in ptp_unpack_uint32_t_array()
322 n=dtoh32a(&data[offset]); in ptp_unpack_uint16_t_array()
361 dtoh32a(&data[PTP_di_VendorExtensionID]); in ptp_unpack_DI()
536 si->FreeSpaceInImages=dtoh32a(&data[PTP_si_FreeSpaceInImages]); in ptp_unpack_SI()
694 oi->StorageID=dtoh32a(&data[PTP_oi_StorageID]); in ptp_unpack_OI()
697 oi->ObjectCompressedSize=dtoh32a(&data[PTP_oi_ObjectCompressedSize]); in ptp_unpack_OI()
705 oi->ThumbCompressedSize=dtoh32a(&data[PTP_oi_ThumbCompressedSize]); in ptp_unpack_OI()
706 oi->ThumbPixWidth=dtoh32a(&data[PTP_oi_ThumbPixWidth]); in ptp_unpack_OI()
707 oi->ThumbPixHeight=dtoh32a(&data[PTP_oi_ThumbPixHeight]); in ptp_unpack_OI()
708 oi->ImagePixWidth=dtoh32a(&data[PTP_oi_ImagePixWidth]); in ptp_unpack_OI()
709 oi->ImagePixHeight=dtoh32a(&data[PTP_oi_ImagePixHeight]); in ptp_unpack_OI()
710 oi->ImageBitDepth=dtoh32a(&data[PTP_oi_ImageBitDepth]); in ptp_unpack_OI()
711 oi->ParentObject=dtoh32a(&data[PTP_oi_ParentObject]); in ptp_unpack_OI()
713 oi->AssociationDesc=dtoh32a(&data[PTP_oi_AssociationDesc]); in ptp_unpack_OI()
714 oi->SequenceNumber=dtoh32a(&data[PTP_oi_SequenceNumber]); in ptp_unpack_OI()
746 n = dtoh32a (&data[*offset]); \
782 CTVAL(value->i32,dtoh32a); in ptp_unpack_DPV()
785 CTVAL(value->u32,dtoh32a); in ptp_unpack_DPV()
818 RARR(value,u32,dtoh32a); in ptp_unpack_DPV()
821 RARR(value,i32,dtoh32a); in ptp_unpack_DPV()
1107 opd->GroupCode=dtoh32a(&data[offset]); in ptp_unpack_OPD()
1341 uint32_t prop_count = dtoh32a(data); in ptp_unpack_OPL()
1366 props[i].ObjectHandle = dtoh32a(data); in ptp_unpack_OPL()
1416 length=dtoh32a(&data[PTP_ec_Length]); in ptp_unpack_EC()
1424 ec->Transaction_ID=dtoh32a(&data[PTP_ec_TransId]); in ptp_unpack_EC()
1431 ec->Param1=dtoh32a(&data[PTP_ec_Param1]); in ptp_unpack_EC()
1435 ec->Param2=dtoh32a(&data[PTP_ec_Param2]); in ptp_unpack_EC()
1439 ec->Param3=dtoh32a(&data[PTP_ec_Param3]); in ptp_unpack_EC()
1461 fe->ObjectHandle=dtoh32a(&data[PTP_cfe_ObjectHandle]); in ptp_unpack_Canon_FE()
1464 fe->ObjectSize=dtoh32a((unsigned char*)&data[PTP_cfe_ObjectSize]); in ptp_unpack_Canon_FE()
1465 fe->Time=(time_t)dtoh32a(&data[PTP_cfe_Time]); in ptp_unpack_Canon_FE()
1535 fe->ObjectHandle=dtoh32a(&data[PTP_cefe_ObjectHandle]); in ptp_unpack_Canon_EOS_FE()
1538 fe->ObjectSize=dtoh32a((unsigned char*)&data[PTP_cefe_ObjectSize]); in ptp_unpack_Canon_EOS_FE()
1539 fe->Time=(time_t)dtoh32a(&data[PTP_cefe_Time]); in ptp_unpack_Canon_EOS_FE()
1575 uint32_t n = dtoh32a( d ); in ptp_unpack_EOS_ImageFormat()
1583 l = dtoh32a( d+=4 ); in ptp_unpack_EOS_ImageFormat()
1590 s1 = dtoh32a( d+=4 ); in ptp_unpack_EOS_ImageFormat()
1591 c1 = dtoh32a( d+=4 ); in ptp_unpack_EOS_ImageFormat()
1594 l = dtoh32a( d+=4 ); in ptp_unpack_EOS_ImageFormat()
1600 s2 = dtoh32a( d+=4 ); in ptp_unpack_EOS_ImageFormat()
1601 c2 = dtoh32a( d+=4 ); in ptp_unpack_EOS_ImageFormat()
1665 uint32_t size = dtoh32a( *data ); in ptp_unpack_EOS_FocusInfoEx()
1748 uint32_t s = dtoh32a( *data ); in ptp_unpack_EOS_CustomFuncEx()
1762 p += sprintf(p, "%x,", dtoh32a( *data + 4*i )); in ptp_unpack_EOS_CustomFuncEx()
1859 uint32_t size = dtoh32a(&curdata[PTP_ece_Size]); in ptp_unpack_CANON_changes()
1860 uint32_t type = dtoh32a(&curdata[PTP_ece_Type]); in ptp_unpack_CANON_changes()
1894 uint32_t size = dtoh32a(&curdata[PTP_ece_Size]); in ptp_unpack_CANON_changes()
1895 uint32_t type = dtoh32a(&curdata[PTP_ece_Type]); in ptp_unpack_CANON_changes()
1923 ce[i].u.object.oid = dtoh32a(&curdata[PTP_ece_OA_ObjectID]); in ptp_unpack_CANON_changes()
1924 ce[i].u.object.oi.StorageID = dtoh32a(&curdata[PTP_ece_OA_StorageID]); in ptp_unpack_CANON_changes()
1925 ce[i].u.object.oi.ParentObject = dtoh32a(&curdata[PTP_ece_OA_Parent]); in ptp_unpack_CANON_changes()
1927 ce[i].u.object.oi.ObjectCompressedSize= dtoh32a(&curdata[PTP_ece_OA_Size]); in ptp_unpack_CANON_changes()
1937 ce[i].u.object.oid = dtoh32a(&curdata[PTP_ece2_OA_ObjectID]); in ptp_unpack_CANON_changes()
1938 ce[i].u.object.oi.StorageID = dtoh32a(&curdata[PTP_ece2_OA_StorageID]); in ptp_unpack_CANON_changes()
1939 ce[i].u.object.oi.ParentObject = dtoh32a(&curdata[PTP_ece2_OA_Parent]); in ptp_unpack_CANON_changes()
1941 …ce[i].u.object.oi.ObjectCompressedSize= dtoh32a(&curdata[PTP_ece2_OA_Size]); /* FIXME: might be 64… in ptp_unpack_CANON_changes()
1952 ce[i].u.object.oid = dtoh32a(&curdata[PTP_ece_OI_ObjectID]); in ptp_unpack_CANON_changes()
1956 ce[i].u.object.oi.ObjectCompressedSize = dtoh32a(&curdata[PTP_ece_OI_Size]); in ptp_unpack_CANON_changes()
1962 uint32_t proptype = dtoh32a(&curdata[PTP_ece_Prop_Subtype]); in ptp_unpack_CANON_changes()
1963 uint32_t propxtype = dtoh32a(&curdata[PTP_ece_Prop_Desc_Type]); in ptp_unpack_CANON_changes()
1964 uint32_t propxcnt = dtoh32a(&curdata[PTP_ece_Prop_Desc_Count]); in ptp_unpack_CANON_changes()
2033 case PTP_DTC_UINT32: XX( u32, dtoh32a ); in ptp_unpack_CANON_changes()
2041 …e 0x%04x of %x unhandled, size %d, raw values:", i, dpd->DataType, proptype, dtoh32a(xdata), size); in ptp_unpack_CANON_changes()
2043 ptp_debug (params, " %3d: 0x%8x", j, dtoh32a(xdata)); in ptp_unpack_CANON_changes()
2052 uint32_t proptype = dtoh32a(&curdata[PTP_ece_Prop_Subtype]); in ptp_unpack_CANON_changes()
2236 ptp_debug (params, " %d: 0x%8x", j, dtoh32a(xdata+j*4)); in ptp_unpack_CANON_changes()
2254 dpd->FactoryDefaultValue.u32 = dtoh32a(xdata); in ptp_unpack_CANON_changes()
2255 dpd->CurrentValue.u32 = dtoh32a(xdata); in ptp_unpack_CANON_changes()
2342 len = dtoh32a(curdata+8); in ptp_unpack_CANON_changes()
2543 ce[i].u.status = dtoh32a(curdata+8); in ptp_unpack_CANON_changes()
2544 …ptp_debug (params, "event %d: EOS event CameraStatusChanged (size %d) = %d", i, size, dtoh32a(curd… in ptp_unpack_CANON_changes()
2545 params->eos_camerastatus = dtoh32a(curdata+8); in ptp_unpack_CANON_changes()
2555 sprintf (ce[i].u.info, "BulbExposureTime %d", dtoh32a(curdata+8)); in ptp_unpack_CANON_changes()
2559 ce[i].u.object.oid = dtoh32a(curdata+8); in ptp_unpack_CANON_changes()
2643 (*ec)[i].Param1 = dtoh32a(&data[PTP_nikon_ec_Param1+PTP_nikon_ec_Size*i]); in ptp_unpack_Nikon_EC()
2725 #define ISOBJECT(ptr) (dtoh32a((ptr)+ptp_canon_dir_storageid) == 0xffffffff) in ptp_unpack_canon_directory()
2747 handles->Handler[curob] = dtoh32a(cur + ptp_canon_dir_objectid); in ptp_unpack_canon_directory()
2750 oi->ParentObject = dtoh32a(cur + ptp_canon_dir_parentid); in ptp_unpack_canon_directory()
2752 oi->ObjectCompressedSize= dtoh32a(cur + ptp_canon_dir_size); in ptp_unpack_canon_directory()
2753 oi->ThumbCompressedSize = dtoh32a(cur + ptp_canon_dir_thumbsize); in ptp_unpack_canon_directory()
2754 oi->ImagePixWidth = dtoh32a(cur + ptp_canon_dir_width); in ptp_unpack_canon_directory()
2755 oi->ImagePixHeight = dtoh32a(cur + ptp_canon_dir_height); in ptp_unpack_canon_directory()
2756 oi->CaptureDate = oi->ModificationDate = dtoh32a(cur + ptp_canon_dir_unixtime); in ptp_unpack_canon_directory()
2757 (*flags)[curob] = dtoh32a(cur + ptp_canon_dir_flags); in ptp_unpack_canon_directory()
2764 uint32_t nextchild = dtoh32a(cur + ptp_canon_dir_nextchild); in ptp_unpack_canon_directory()
2770 (*oinfos)[j].StorageID = dtoh32a(cur + ptp_canon_dir_storageid); in ptp_unpack_canon_directory()
2777 uint32_t oid = dtoh32a(cur + ptp_canon_dir_objectid); in ptp_unpack_canon_directory()
2778 uint32_t nextoid = dtoh32a(cur + ptp_canon_dir_nextid); in ptp_unpack_canon_directory()
2779 uint32_t nextchild = dtoh32a(cur + ptp_canon_dir_nextchild); in ptp_unpack_canon_directory()