Lines Matching refs:sampledata
8829 LIBMTP_filesampledata_t *sampledata) argument
8869 propval.a.count = sampledata->size;
8870 propval.a.v = malloc(sizeof(PTPPropertyValue) * sampledata->size);
8871 for (i = 0; i < sampledata->size; i++) {
8872 propval.a.v[i].u8 = sampledata->data[i];
8886 switch(sampledata->filetype) {
8896 set_object_u32(device, id, PTP_OPC_RepresentativeSampleHeight, sampledata->height);
8897 set_object_u32(device, id, PTP_OPC_RepresentativeSampleWidth, sampledata->width);
8902 set_object_u32(device, id, PTP_OPC_RepresentativeSampleDuration, sampledata->duration);
8903 set_object_u32(device, id, PTP_OPC_RepresentativeSampleSize, sampledata->size);
8924 LIBMTP_filesampledata_t *sampledata) argument
8971 sampledata->size = propval.a.count;
8972 sampledata->data = malloc(sizeof(PTPPropertyValue) * propval.a.count);
8974 sampledata->data[i] = propval.a.v[i].u8;
8979 sampledata->width = get_u32_from_object(device, id, PTP_OPC_RepresentativeSampleWidth, 0);
8980 sampledata->height = get_u32_from_object(device, id, PTP_OPC_RepresentativeSampleHeight, 0);
8981 sampledata->duration = get_u32_from_object(device, id, PTP_OPC_RepresentativeSampleDuration, 0);
8982 sampledata->filetype = map_ptp_type_to_libmtp_type(