Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for intelligent updated playing of image-text animation

A graphic animation, intelligent technology, applied in the recording of information on the disk, instruments, magnetic recording and other directions, can solve the problem of long picture decoding and reading time, affecting the broadcast efficiency, affecting the machine performance, etc., to ensure the broadcast. quality effect

Inactive Publication Date: 2012-10-10
CHINA DIGITAL VIDEO BEIJING
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, using this method of reading while playing, when the corresponding physical file in the TGA sequence is too large (such as playing a large-size TGA image in high-definition mode), it will cause too long time to decode and read the image, thus affecting The playback efficiency cannot meet the real-time requirements of the system. At this time, the playback animation will be stuck, which will reduce the user's visual experience; if the method of reading all the contents of the TGA sequence into the memory before playback is used, it will take up Huge memory resources will affect the performance of the machine. When the TGA sequence content is too large, it may even cause system errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for intelligent updated playing of image-text animation
  • Method for intelligent updated playing of image-text animation
  • Method for intelligent updated playing of image-text animation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] According to data such as system scanning frequency, estimated reading time and playback time, and animation length, the conventional logic method is used to calculate the size and number of memory blocks that need to be requested in advance, and the number of decoding threads. The specific method is as follows:

[0020] With high-definition HD1080i as the operating environment of the system, the graphic system is interlaced scanning, the resolution is 1920x1080 pixels, the scanning frequency is 25 frames per second, and the time of each frame is 1 / 25 second, that is, 40 milliseconds. This time is called the system The scanning time is recorded as tSysFrame.

[0021] The animation sequence to be played includes 200 frames, that is, 200 images, and the size of each frame is the same, and the size is not limited. The number of frames is called the length of the animation, which is recorded as nMovFrames.

[0022] Due to computer configuration and other reasons, the time f...

Embodiment 2

[0035] After calculation, the following estimated results are obtained: the number of memory blocks that need to be requested in advance is N, the size of each memory block is taken as the size M of the full-screen picture under the standard, and one decoding thread is started.

[0036] Before broadcasting, apply for N consecutive memory blocks of size M, mark and arrange them in a circular queue to form a memory ring. Start a decoding thread and start reading work: sequentially read the TGA images in the TGA sequence from the hard disk, store the decoded content in the memory ring in sequence, and store only one TGA image in each memory block, and the filled memory The block is marked as non-empty, all memory blocks are marked as non-empty or the reading of the entire TGA sequence is stopped, and the position of the next TGA map to be read is recorded. This position may be empty, indicating that all reading has been completed .

[0037] Start the playback thread, broadcast t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiments of the invention disclose a method for intelligent updated playing of an image-text animation. According to the method, the size and the number of memory blocks are calculated, wherein the size and the number are needed to be requested in advance; application for continuous memory blocks are made; the applied memory blocks that are successively arranged in order form a memory ring by end-to-end linkage; a decoding thread is read in real time and a TGA sequence is decoded; empty memory blocks are filled in with decoded contents successively, wherein only one TGA graph is stored into one memory block, and the reading is not stopped until the memory blocks are filled up; and when the TGA sequence is completely read, the reading is ended. A playing thread is started, the contents in the memory blocks are successively played; when the content in one memory block is played completely, the memory block is emptied and is replaced at the tail of the memory ring. After the playing is completed, the decoding thread and the playing thread are destroyed and all applied memories are released. With utilization of the provided method, a suitable balance between efficiency and resources is found out, thereby meeting the requirement of real-time playing of an image-text animation and ensuring the playing quality.

Description

technical field [0001] The invention relates to the fields of picture-text animation, memory management, video playback, etc., and in particular to a method for updating and playing an intelligent picture-text animation sequence. Background technique [0002] In the graphic-text production and broadcasting system, graphic-text animation is often played. Graphic-text animation is actually a dynamic broadcast effect of a set of TGA sequences. The so-called TGA sequence is a sequence of TGA diagrams, that is, one or a group of physical files in which graphic animation is stored in the hard disk in the form of TGA diagrams. When broadcasting animation, while reading the graphic content from the physical file into the memory of the computer, the content of the series of images is broadcast in order according to the corresponding frequency of the graphic system system. However, using this method of reading while playing, when the corresponding physical file in the TGA sequence is...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G11B19/02
Inventor 吕精华郭红艳廖健饶文辉
Owner CHINA DIGITAL VIDEO BEIJING