Home
last modified time | relevance | path

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

/external/dynamic_depth/internal/xmpmeta/
Dxmp_parser.cc162 const string& section_name, XmpData* xmp_data) { in ParseExtendedXmpSections() argument
172 *xmp_data->MutableExtendedSection() = xmlReadMemory( in ParseExtendedXmpSections()
175 if (xmp_data->ExtendedSection() == nullptr) { in ParseExtendedXmpSections()
184 XmpData* xmp_data) { in ExtractXmpMeta() argument
186 assert(xmp_data != nullptr); // NOLINT in ExtractXmpMeta()
187 xmp_data->Reset(); in ExtractXmpMeta()
201 if (!ParseFirstValidXMPSection(sections, xmp_data)) { in ExtractXmpMeta()
210 GetFirstDescriptionElement(xmp_data->StandardSection())); in ExtractXmpMeta()
216 if (!ParseExtendedXmpSections(sections, extension_name, xmp_data)) { in ExtractXmpMeta()
304 XmpData* xmp_data) { in ReadXmpHeader() argument
[all …]
Dxmp_writer.cc214 bool XmpSectionsAndSerializedDataValid(const XmpData& xmp_data, in XmpSectionsAndSerializedDataValid() argument
220 ((xmp_data.ExtendedSection() == nullptr) == extended_buffer.empty()); in XmpSectionsAndSerializedDataValid()
221 const bool is_valid = (xmp_data.StandardSection() != nullptr) && in XmpSectionsAndSerializedDataValid()
268 std::unique_ptr<XmpData> xmp_data(new XmpData()); in CreateXmpData() local
269 *xmp_data->MutableStandardSection() = CreateXmpSection(); in CreateXmpData()
271 *xmp_data->MutableExtendedSection() = CreateXmpSection(); in CreateXmpData()
273 return xmp_data; in CreateXmpData()
277 const XmpData& xmp_data) { in WriteLeftEyeAndXmpMeta() argument
282 WriteLeftEyeAndXmpMeta(xmp_data, &input_jpeg_stream, &output_jpeg_stream); in WriteLeftEyeAndXmpMeta()
287 bool WriteLeftEyeAndXmpMeta(const XmpData& xmp_data, in WriteLeftEyeAndXmpMeta() argument
[all …]
/external/dynamic_depth/includes/xmpmeta/
Dxmp_parser.h15 XmpData* xmp_data);
20 XmpData* xmp_data);
25 XmpData* xmp_data);
Dxmp_writer.h25 const XmpData& xmp_data);
33 bool WriteLeftEyeAndXmpMeta(const XmpData& xmp_data,
/external/dynamic_depth/internal/dynamic_depth/
Ddepth_jpeg.cc21 XmpData xmp_data; in ValidateAndroidDynamicDepthBuffer() local
23 ReadXmpFromMemory(image_data, /*XmpSkipExtended*/ false, &xmp_data); in ValidateAndroidDynamicDepthBuffer()
26 std::unique_ptr<Device> device = Device::FromXmp(xmp_data); in ValidateAndroidDynamicDepthBuffer()
Ddynamic_depth.cc34 const std::unique_ptr<XmpData> xmp_data = CreateXmpData(true); in WriteImageAndMetadataAndContainer() local
35 device->SerializeToXmp(xmp_data.get()); in WriteImageAndMetadataAndContainer()
37 WriteLeftEyeAndXmpMeta(*xmp_data, input_jpeg_stream, output_jpeg_stream); in WriteImageAndMetadataAndContainer()
Ddevice.cc169 std::unique_ptr<XmpData> xmp_data = CreateXmpData(true); in SerializeToXmlFile() local
170 if (!Serialize(xmp_data->MutableExtendedSection())) { in SerializeToXmlFile()
173 return xmlSaveFile(filename, xmp_data->ExtendedSection()) != -1; in SerializeToXmlFile()