The invention discloses a method for processing caption data, which is characterized in that the process comprises the following steps: a custom data structure, add a member variable for the member variable record number; then call the API function to get the original data; then the raw data into a custom data structure. The invention by a member variable record number, not converted to floating-point data, the graphical information data type does not change, the same precision, it does not appear because numerical distortion caused by rendering errors. Moreover, all data are integer, efficient, and can be directly judged by equality.
【技术实现步骤摘要】
【技术保护点】
一种字幕数据处理的方法,其特征在于,包括以下步骤: 程序自定义一种数据结构,增加一个成员变量,用所述成员变量记录页码; 所述程序调用API函数得到原始数据; 所述程序将原始数据转换成自定义的数据结构。
【技术特征摘要】
【专利技术属性】
技术研发人员:袁慧晶,
申请(专利权)人:新奥特北京视频技术有限公司,
类型:发明
国别省市:11[中国|北京]
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。