decord/source/module_4931.js

38 lines
1.7 KiB
JavaScript
Raw Normal View History

2026-08-04 08:36:32 +00:00
// Module ID: 4931
// Function ID: 4932
2026-08-06 08:05:19 +00:00
// Dependencies: [4917, 4932, 4933, 4912]
2026-08-04 08:36:32 +00:00
// Module 4931
2026-08-06 08:05:19 +00:00
const require = arg1;
2026-08-05 07:35:12 +00:00
const module = arg2;
const dependencyMap = arg6;
2026-08-06 08:05:19 +00:00
let c3 = "Exif IFD Pointer";
let c4 = "GPS Info IFD Pointer";
let c5 = "Interoperability IFD Pointer";
2026-08-04 08:36:32 +00:00
arg5.default = {
2026-08-06 08:05:19 +00:00
read(getUint16, sum) {
const byteOrder = module(4917).getByteOrder(getUint16, sum);
const obj = module(4917);
const obj2 = require(4932) /* readTag */;
const ifd = obj2.readIfd(getUint16, require(4933) /* importDefaultResult1 */.IFD_TYPE_0TH, sum, require(4932) /* readTag */.get0thIfdOffset(getUint16, sum, byteOrder), byteOrder, arg2);
let objectAssignResult = ifd;
if (undefined !== ifd[c3]) {
let tmp3Result = tmp3(4912);
tmp3Result = tmp3(4932);
objectAssignResult = tmp3Result.objectAssign(ifd, tmp3Result.readIfd(getUint16, tmp3(4933).IFD_TYPE_EXIF, sum, sum + ifd[tmp5].value, byteOrder, arg2));
2026-08-04 08:36:32 +00:00
}
2026-08-06 08:05:19 +00:00
if (undefined !== objectAssignResult[c4]) {
const tmp3Result2 = tmp3(4932);
objectAssignResult = tmp3(4912).objectAssign(objectAssignResult, tmp3Result2.readIfd(getUint16, tmp3(4933).IFD_TYPE_GPS, sum, sum + objectAssignResult[tmp12].value, byteOrder, arg2));
const tmp3Result1 = tmp3(4912);
2026-08-05 07:35:12 +00:00
}
2026-08-06 08:05:19 +00:00
let objectAssignResult1 = objectAssignResult;
if (undefined !== objectAssignResult[c5]) {
const tmp3Result4 = tmp3(4932);
objectAssignResult1 = tmp3(4912).objectAssign(objectAssignResult, tmp3Result4.readIfd(getUint16, tmp3(4933).IFD_TYPE_INTEROPERABILITY, sum, sum + objectAssignResult[tmp19].value, byteOrder, arg2));
const tmp3Result3 = tmp3(4912);
2026-08-05 07:35:12 +00:00
}
2026-08-06 08:05:19 +00:00
return { tags: objectAssignResult1, byteOrder };
2026-08-04 08:36:32 +00:00
}
};