Lines Matching refs:focus_points_in_struct
1668 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()
1719 int16_t y = dtoh16a((*data) + focus_points_in_struct*6 + 20 + 2*i); in ptp_unpack_EOS_FocusInfoEx()
1720 int16_t w = dtoh16a((*data) + focus_points_in_struct*2 + 20 + 2*i); in ptp_unpack_EOS_FocusInfoEx()
1721 int16_t h = dtoh16a((*data) + focus_points_in_struct*0 + 20 + 2*i); in ptp_unpack_EOS_FocusInfoEx()
1730 if ((1<<(i%8)) & ((*data)[focus_points_in_struct*8+20+i/8])) in ptp_unpack_EOS_FocusInfoEx()
1735 for (i=focus_points_in_struct*8+(focus_points_in_struct+7)/8+20;i<size;i++) { in ptp_unpack_EOS_FocusInfoEx()