Lines Matching refs:frame_offsets
1735 u32* frame_offsets = NULL; in THPUtyCopyTHPFile() local
1871 frame_offsets = (u32*)THPMalloc(sizeof(u32) * (num_frames + 1)); in THPUtyCopyTHPFile()
1872 if (frame_offsets == NULL) in THPUtyCopyTHPFile()
1886 rtn = fwrite(frame_offsets, sizeof(u32) * num_frames, 1, op); in THPUtyCopyTHPFile()
1908 frame_offsets[ii] = (u32)ftell(op); in THPUtyCopyTHPFile()
1909 if (frame_offsets[ii] == 0xFFFFFFFF) in THPUtyCopyTHPFile()
1982 rtn = fseek(op, frame_offsets[ii - 1], SEEK_SET); in THPUtyCopyTHPFile()
2032 rtn = fseek(op, frame_offsets[0] + sizeof(u32), SEEK_SET); in THPUtyCopyTHPFile()
2052 rtn = fseek(op, frame_offsets[num_frames - 1], SEEK_SET); in THPUtyCopyTHPFile()
2076 fileHeader->header.movieDataOffsets = frame_offsets[0]; in THPUtyCopyTHPFile()
2077 fileHeader->header.finalFrameDataOffsets = frame_offsets[num_frames -1]; in THPUtyCopyTHPFile()
2098 frame_offsets[ii] in THPUtyCopyTHPFile()
2099 = THPUtyReverseEndianU32(frame_offsets[ii] - frame_offsets[0]); in THPUtyCopyTHPFile()
2101 frame_offsets[num_frames] = THPUtyReverseEndianU32(total_size); in THPUtyCopyTHPFile()
2111 rtn = fwrite(&frame_offsets[1], sizeof(u32) * num_frames, 1, op); in THPUtyCopyTHPFile()
2128 if (frame_offsets) in THPUtyCopyTHPFile()
2130 THPFree(frame_offsets); in THPUtyCopyTHPFile()