Lines Matching refs:frame_offsets
1730 u32* frame_offsets = NULL; in THPUtyCopyTHPFile() local
1866 frame_offsets = (u32*)THPMalloc(sizeof(u32) * (num_frames + 1)); in THPUtyCopyTHPFile()
1867 if (frame_offsets == NULL) in THPUtyCopyTHPFile()
1881 rtn = fwrite(frame_offsets, sizeof(u32) * num_frames, 1, op); in THPUtyCopyTHPFile()
1903 frame_offsets[ii] = (u32)ftell(op); in THPUtyCopyTHPFile()
1904 if (frame_offsets[ii] == 0xFFFFFFFF) in THPUtyCopyTHPFile()
1977 rtn = fseek(op, frame_offsets[ii - 1], SEEK_SET); in THPUtyCopyTHPFile()
2027 rtn = fseek(op, frame_offsets[0] + sizeof(u32), SEEK_SET); in THPUtyCopyTHPFile()
2047 rtn = fseek(op, frame_offsets[num_frames - 1], SEEK_SET); in THPUtyCopyTHPFile()
2071 fileHeader->header.movieDataOffsets = frame_offsets[0]; in THPUtyCopyTHPFile()
2072 fileHeader->header.finalFrameDataOffsets = frame_offsets[num_frames -1]; in THPUtyCopyTHPFile()
2093 frame_offsets[ii] in THPUtyCopyTHPFile()
2094 = THPUtyReverseEndianU32(frame_offsets[ii] - frame_offsets[0]); in THPUtyCopyTHPFile()
2096 frame_offsets[num_frames] = THPUtyReverseEndianU32(total_size); in THPUtyCopyTHPFile()
2106 rtn = fwrite(&frame_offsets[1], sizeof(u32) * num_frames, 1, op); in THPUtyCopyTHPFile()
2123 if (frame_offsets) in THPUtyCopyTHPFile()
2125 THPFree(frame_offsets); in THPUtyCopyTHPFile()