Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp-pack.c1668 uint32_t focus_points_in_struct = dtoh16a( (*data) + 8); in ptp_unpack_EOS_FocusInfoEx() local
1684 if (size < focus_points_in_struct*8) { in ptp_unpack_EOS_FocusInfoEx()
1685 …ptp_error(params, "focus_points_in_struct %d is too large vs size %d", focus_points_in_struct, siz… in ptp_unpack_EOS_FocusInfoEx()
1688 if (focus_points_in_use > focus_points_in_struct) { in ptp_unpack_EOS_FocusInfoEx()
1689 …_in_use %d is larger than focus_points_in_struct %d", focus_points_in_use, focus_points_in_struct); in ptp_unpack_EOS_FocusInfoEx()
1693 maxlen = focus_points_in_use*32 + 100 + (size - focus_points_in_struct*8)*2; in ptp_unpack_EOS_FocusInfoEx()
1698 if (20 + focus_points_in_struct*8 + (focus_points_in_struct+7)/8 > size) { in ptp_unpack_EOS_FocusInfoEx()
1699 …ams, "size %d is too large for fp in struct %d", focus_points_in_struct*8 + 20 + (focus_points_in_… in ptp_unpack_EOS_FocusInfoEx()
1709 …ptp_debug(params,"d1d3 focus points in struct %d, in use %d", focus_points_in_struct, focus_points… in ptp_unpack_EOS_FocusInfoEx()
1718 int16_t x = dtoh16a((*data) + focus_points_in_struct*4 + 20 + 2*i); in ptp_unpack_EOS_FocusInfoEx()
[all …]