Searched refs:canon_props (Results 1 – 3 of 3) sorted by relevance
1829 if (params->canon_props[j].proptype == proptype) in _lookup_or_allocate_canon_prop()1832 return ¶ms->canon_props[j].dpd; in _lookup_or_allocate_canon_prop()1835 params->canon_props = realloc(params->canon_props, sizeof(params->canon_props[0])*(j+1)); in _lookup_or_allocate_canon_prop()1837 params->canon_props = malloc(sizeof(params->canon_props[0])); in _lookup_or_allocate_canon_prop()1838 params->canon_props[j].proptype = proptype; in _lookup_or_allocate_canon_prop()1839 params->canon_props[j].size = 0; in _lookup_or_allocate_canon_prop()1840 params->canon_props[j].data = NULL; in _lookup_or_allocate_canon_prop()1841 memset (¶ms->canon_props[j].dpd,0,sizeof(params->canon_props[j].dpd)); in _lookup_or_allocate_canon_prop()1842 params->canon_props[j].dpd.GetSet = 1; in _lookup_or_allocate_canon_prop()1843 params->canon_props[j].dpd.FormFlag = PTP_DPFF_None; in _lookup_or_allocate_canon_prop()[all …]
1134 free (params->canon_props[i].data); in ptp_free_params()1135 ptp_free_devicepropdesc (¶ms->canon_props[i].dpd); in ptp_free_params()1137 free (params->canon_props); in ptp_free_params()2397 if (params->canon_props[i].proptype == propcode) in ptp_canon_eos_getdevicepropdesc()2401 memcpy (dpd, ¶ms->canon_props[i].dpd, sizeof (*dpd)); in ptp_canon_eos_getdevicepropdesc()2406 params->canon_props[i].dpd.FORM.Enum.SupportedValue, in ptp_canon_eos_getdevicepropdesc()2411 dpd->FactoryDefaultValue.str = strdup( params->canon_props[i].dpd.FactoryDefaultValue.str ); in ptp_canon_eos_getdevicepropdesc()2412 dpd->CurrentValue.str = strdup( params->canon_props[i].dpd.CurrentValue.str ); in ptp_canon_eos_getdevicepropdesc()2541 if (params->canon_props[i].proptype == propcode) in ptp_canon_eos_setdevicepropvalue()2555 params->canon_props[i].dpd.CurrentValue.u16 = value->u16; in ptp_canon_eos_setdevicepropvalue()[all …]
2506 PTPCanon_Property *canon_props; member