Searched refs:xmp_data (Results 1 – 7 of 7) sorted by relevance
/external/dynamic_depth/internal/xmpmeta/ |
D | xmp_parser.cc | 162 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 …]
|
D | xmp_writer.cc | 214 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/ |
D | xmp_parser.h | 15 XmpData* xmp_data); 20 XmpData* xmp_data); 25 XmpData* xmp_data);
|
D | xmp_writer.h | 25 const XmpData& xmp_data); 33 bool WriteLeftEyeAndXmpMeta(const XmpData& xmp_data,
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | depth_jpeg.cc | 21 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()
|
D | dynamic_depth.cc | 34 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()
|
D | device.cc | 169 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()
|