Home
last modified time | relevance | path

Searched refs:sampledata (Results 1 – 1 of 1) sorted by relevance

/external/libmtp/src/
Dlibmtp.c8829 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);
[all …]