Searched refs:XMP_HEADER_SIZE (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/util/ |
D | XmpUtil.java | 50 private static final int XMP_HEADER_SIZE = 29; field in XmpUtil 114 byte[] buffer = new byte[end - XMP_HEADER_SIZE]; in extractXMPMeta() 116 section.data, XMP_HEADER_SIZE, buffer, 0, buffer.length); in extractXMPMeta() 257 byte[] xmpdata = new byte[buffer.length + XMP_HEADER_SIZE]; in insertXMPSection() 258 System.arraycopy(XMP_HEADER.getBytes(), 0, xmpdata, 0, XMP_HEADER_SIZE); in insertXMPSection() local 259 System.arraycopy(buffer, 0, xmpdata, XMP_HEADER_SIZE, buffer.length); in insertXMPSection() 292 if (data.length < XMP_HEADER_SIZE) { in hasXMPHeader() 296 byte[] header = new byte[XMP_HEADER_SIZE]; in hasXMPHeader() 297 System.arraycopy(data, 0, header, 0, XMP_HEADER_SIZE); in hasXMPHeader()
|