CN201629822U - Graphic format interchange file area decoding optimizing device - Google Patents

Graphic format interchange file area decoding optimizing device Download PDF

Info

Publication number
CN201629822U
CN201629822U CN 201020117456 CN201020117456U CN201629822U CN 201629822 U CN201629822 U CN 201629822U CN 201020117456 CN201020117456 CN 201020117456 CN 201020117456 U CN201020117456 U CN 201020117456U CN 201629822 U CN201629822 U CN 201629822U
Authority
CN
China
Prior art keywords
frame data
data
decoding
module
current frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201020117456
Other languages
Chinese (zh)
Inventor
刘永霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN 201020117456 priority Critical patent/CN201629822U/en
Application granted granted Critical
Publication of CN201629822U publication Critical patent/CN201629822U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The utility model discloses a graphic format interchange file area decoding optimizing device, which comprises an area specifying module, a decoding module, a current frame data storage module, a frame data preservation module and a frame display data storage module. The area specifying module is used for specifying a current frame decoding area of a graphic format interchange file; the decoding module is used for decoding the current frame specifying decoding area of the graphic format interchange file; the current frame data storage module is used for storing decoded current frame data of the current frame specifying decoding area of the graphic format interchange file; the frame data preservation module is used for preserving the decoded current frame data when the current frame data of the graphic format interchange file is decoded and the decoded current frame data needs to be preserved; and the frame display data storage module is used for storing frames needing to display frame data. When the graphic format interchange file is decoded, decoding of the graphic format interchange file can be finished by smaller storage space, simultaneously use of memory when the graphic format interchange file is decoded is reduced by decoding areas used to the frame data.

Description

A kind of device of graphic interchange format file area decoding optimization
Technical field
The utility model relates to electronic communication field, relates in particular to a kind of device of graphic interchange format file area decoding optimization.
Background technology
Continuous development along with network technology, people's daily life and work all be unable to do without network, and along with the continuous increase of Internet resources, give network load also increasing, (the GraphicsInterchange Format of gif in the prior art, graphic interchange format) file extensive use in webpage comprises Web page picture, background picture, advertisement picture, e-book etc.Along with embedded degree of support to webpage continues to increase, also there is a very big problem in support for gif picture in the webpage, be exactly in the webpage a large amount of gif files to the contradiction of memory requirements and actual memory anxiety, the use of multiframe gif file and overlength gif file simultaneously, can take a large amount of memory headrooms after the decoding, bring bigger memory pressure to network, prior art is to the gif file decoding time, generally be that every frame data of described gif file are all decoded, metadata cache after will decoding then, in the process that shows, reading of data from buffer memory, and show, the gif file of corresponding overlength also is to be saved in the middle of the buffer memory after the data complete decoding with a whole frame, in the process that shows, reading of data from buffer memory, and show, for example, is example for multiframe gif picture with the 100 frame gif pictures of a 300*200, gif figure agreement that contracts a film or TV play to an actor or actress 22M after the decoding, gif picture for overlength, gif e-book as 10 pages, if the size of every page of electronics is 720*576, so all after the decoding, memory consumption is about 15M, this coding/decoding method of prior art can occupy a large amount of memory headrooms, so multidata of decoding simultaneously, handling when showing the gif data can be slow, and having relatively high expectations to processor.
The utility model content
In order to solve the problems of the technologies described above, the utility model provides a kind of device of graphic interchange format file area decoding optimization, when described graphic interchange format file is decoded, just can finish the decoding of described graphic interchange format file by less memory space, the regional decoding mode of using during simultaneously to described frame data, when having reduced the graphic interchange format file decoding to the use of internal memory.
In order to reach above-mentioned technique effect, this utility model has proposed a kind of device of graphic interchange format file area decoding optimization, comprising:
Be used to specify the regional designated module in graphic interchange format file present frame decoding zone;
Being used for of being connected with described regional designated module specifies the decoding zone to carry out decoding module to described graphic interchange format file present frame;
The current frame data memory module that is used to store the regional decoded current frame data of described graphic interchange format file present frame appointment decoding that is connected with described decoder module;
Respectively with being used for after described graphic interchange format file present frame has been decoded that described decoder module is connected with the current frame data memory module, and when need preserving this and decode afterwards current frame data, the frame data preservation module of preserving this decoded current frame data;
The frame video data memory module of storing the frame data of needs demonstration with described current frame data memory module and frame data being used to of preserving that module is connected respectively.
Preferably, described decoder module comprises:
Be used for described graphic interchange format file present frame is specified the regional decoding subelement of decoding of decoding;
Being used to of being connected with described decoding subelement judged described present frame first judging unit completely of whether decoding.
Preferably, described frame data preservation module comprises:
Be used to judge whether the current frame data of described graphic interchange format file present frame after having decoded needs second judging unit of preserving;
Being used to of being connected with described second judging unit preserves the frame data of the current frame data that described needs preserve and preserves subelement.
Preferably, described frame video data memory module comprises:
Be used to call the first data call unit of the regional decoded current frame data of described graphic interchange format file present frame appointment decoding of described current frame data memory module storage as the frame data of needs demonstration;
The data that being used for of being connected with the described first data call unit called according to the described first data call unit judge whether to call simultaneously the described second data call unit that described frame data are preserved the frame data that the current frame data in the module shows as needs that is kept at;
Store the frame video data storing sub-units of the frame data that the needs that the described first data call unit and the second data call unit called show respectively with the described first data call unit being used to of being connected with the second data call unit.
Preferably, the described second data call unit comprises:
Be used for judging whether to call simultaneously described the 3rd judging unit that described frame data are preserved the current frame data of module that is kept at;
Be connected with described the 3rd judging unit and be used for calling the described data call subelement that is kept at the frame data that current frame data that described frame data preserve module shows as needs.
The utility model is by being used to specify the regional designated module in graphic interchange format file present frame decoding zone, be used for specifying the decoding zone to carry out decoding module to described graphic interchange format file present frame, be used to store the current frame data memory module that described graphic interchange format file present frame is specified the regional decoded current frame data of decoding, be used for after described graphic interchange format file present frame has been decoded, and when need preserving this and decode afterwards current frame data, preserve the frame data of this decoded current frame data and preserve module, be used to store the frame video data memory module of the frame data of needs demonstration.When described graphic interchange format file is decoded, just can finish the decoding of described graphic interchange format file by less memory space, the regional decoding mode of using during simultaneously to described frame data, when having reduced the graphic interchange format file decoding to the use of internal memory.
Description of drawings
In order to be illustrated more clearly in the utility model or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is embodiment more of the present utility model, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of the device of the utility model embodiment graphic interchange format file area decoding optimization;
Fig. 2 is the structural representation of decoder module of the device of the utility model embodiment graphic interchange format file area decoding optimization;
Fig. 3 is that the frame data of the device of the utility model embodiment graphic interchange format file area decoding optimization are preserved the structural representation of module;
Fig. 4 is the structural representation of frame video data memory module of the device of the utility model embodiment graphic interchange format file area decoding optimization;
Fig. 5 is the structural representation of the second data call unit of frame video data memory module of the device of the utility model embodiment graphic interchange format file area decoding optimization.
Specific implementation method
Below in conjunction with the accompanying drawing among the utility model embodiment, the technical scheme among the utility model embodiment is clearly and completely described, obviously, described embodiment only is the utility model part embodiment, rather than whole embodiment.Based on embodiment of the present utility model, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the utility model protection.
In order to make the technical solution of the utility model and advantage clearer, the utility model embodiment is further elaborated below in conjunction with the accompanying drawing embodiment that develops simultaneously.
With reference to figure 1, it is the structural representation of the device of the utility model embodiment graphic interchange format file area decoding optimization, as shown in Figure 1, comprise regional designated module 1, decoder module 2, current frame data memory module 3, frame data are preserved module 4 and frame video data memory module 5, described decoder module 2 respectively with described regional designated module 1, current frame data memory module 3 and frame data are preserved module 4 and are connected, described current frame data memory module 3 respectively with described decoder module 2, frame data are preserved module 4 and frame video data memory module 5 is connected, described frame data preserve module 4 respectively with described decoder module 2, current frame data memory module 3 and frame video data memory module 5 are connected, described frame video data memory module 5 is preserved module 4 with described current frame data memory module 3 and frame data respectively and is connected, wherein:
Zone designated module 1 is used to specify graphic interchange format file present frame decoding zone, it is described when the graphic interchange format file is decoded, at first specify the decoding zone of the present frame of described graphic interchange format file by regional designated module 1, decoded in the decoding zone of the present frame of the described graphic interchange format file of described appointment then, described regional decoding is bigger at a frame file of described graphic interchange format file, and do not need the data of a whole frame when showing, the decoding zone by regional designated module 1 appointment present frame so just at every turn;
Decoder module 2 is used for specifying the decoding zone to decode to described graphic interchange format file present frame, described decoder module 2 receives the decoding zone of the present frame of described regional designated module 1 appointment, and the decoding zone of described appointment decoded, also need whether decode simultaneously and finish according to described decoding region decision present frame, after described present frame decoding is finished, information such as decoded image length of described present frame and time of delay are set;
Current frame data memory module 3 is used to store described graphic interchange format file present frame and specifies the regional decoded current frame data of decoding, the decoded storage in decoding zone of described each present frame appointment just will be stored in the data deletion of current frame data memory module 3 after the former frame decoding when resolving next frame in current frame data memory module 3;
Frame data are preserved module 4 and are used for after described graphic interchange format file present frame has been decoded, and when need preserving this and decode afterwards current frame data, preserve this decoded current frame data, whether the current frame data after described graphic interchange format file present frame has been decoded needs to preserve is the attribute of judging present frame according to the DisposalMethod method, judge whether described current frame data attribute is the needs preservation, just preserve described decoded current frame data when needing to preserve when being judged as, otherwise just do not preserve;
Frame video data memory module 5 is used to store the frame data that needs show, the described frame data that need to show are used for showing for the regional decoded current frame data of described graphic interchange format file present frame appointment decoding that calls from described current frame data memory module 3, also need to judge whether to call described frame data simultaneously and preserve the frame data of preserving in the module 4, when being judged as when being, calling described frame data and preserve data that the frame data preserved in the module 4 preserve frame data in described current frame data memory module 3 as demonstration.
With reference to figure 2, it is the structural representation of decoder module of the device of the utility model embodiment graphic interchange format file area decoding optimization, described decoder module 2 comprises: the decoding subelement 21 and first judging unit 22, described decoding subelement 21 is connected with described first judging unit 22, wherein:
Decoding subelement 21 is used for specifying the decoding zone to decode to described graphic interchange format file present frame;
First judging unit 22 is used to judge whether described present frame decodes fully.
With reference to figure 3, the frame data that are the device of the utility model embodiment graphic interchange format file area decoding optimization are preserved the structural representation of module, described frame data are preserved module 4 and comprised: second judging unit 41 and frame data are preserved subelement 42, described second judging unit 41 is preserved subelement 42 with described frame data and is connected, wherein:
Second judging unit 41 is used to judge whether the current frame data of described graphic interchange format file present frame after having decoded needs to preserve, whether the current frame data after described graphic interchange format file present frame has been decoded needs to preserve is the attribute of judging present frame according to Disposal Method method, judges whether described current frame data attribute is the needs preservation;
Frame data are preserved subelement 42 and are used to preserve the current frame data that described needs are preserved.
With reference to figure 4, it is the structural representation of frame video data memory module of the device of the utility model embodiment graphic interchange format file area decoding optimization, described frame video data memory module 5 comprises: the first data call unit 51, the second data call unit 52 and frame video data storing sub-units 53, the described first data call unit 51 is connected with the described second data call unit 52, described frame video data storing sub-units 53 is connected with the second data call unit 52 with the described first data call unit 51 respectively, wherein:
The first data call unit 51 is used to call the frame data of the regional decoded current frame data of described graphic interchange format file present frame appointment decoding of described current frame data memory module storage as the needs demonstration;
The second data call unit 52 is used for the data called according to the described first data call unit 51, judges whether to call simultaneously describedly to be kept at described frame data and to preserve the frame data that the current frame data in the module shows as needs;
Frame video data storing sub-units 53 is used to store the frame data that the needs that the described first data call unit 51 and the second data call unit 52 called show, will the described first data call unit 51 during follow-up demonstration and the frame data that show of the needs that called of the second data call unit 52 carry out married operation and be used for demonstration.
With reference to figure 5, it is the structural representation of the second data call unit of frame video data memory module of the device of the utility model embodiment graphic interchange format file area decoding optimization, the described second data call unit 52 comprises: the 3rd judging unit 521 and data call subelement 522, described the 3rd judging unit 521 is connected with described data call subelement 522, wherein:
The 3rd judging unit 521 is used for judging whether to call simultaneously the described current frame data that described frame data are preserved module 4 that is kept at;
Data call subelement 522 is used for calling the frame data that the described current frame data that is kept at described frame data preservation module 4 shows as needs.
The utility model is by being used to specify the regional designated module in graphic interchange format file present frame decoding zone, be used for specifying the decoding zone to carry out decoding module to described graphic interchange format file present frame, be used to store the current frame data memory module that described graphic interchange format file present frame is specified the regional decoded current frame data of decoding, be used for after described graphic interchange format file present frame has been decoded, and when need preserving this and decode afterwards current frame data, preserve the frame data of this decoded current frame data and preserve module, be used to store the frame video data memory module of the frame data of needs demonstration.When described graphic interchange format file is decoded, just can finish the decoding of described graphic interchange format file by less memory space, the regional decoding mode of using during simultaneously to described frame data, when having reduced the graphic interchange format file decoding to the use of internal memory.
Above disclosed only is preferred embodiment of the present utility model, can not limit the interest field of the utility model certainly with this, and therefore the equivalent variations of being done according to the utility model claim still belongs to the scope that the utility model is contained.

Claims (5)

1. the device of a graphic interchange format file area decoding optimization is characterized in that, comprising:
Be used to specify the regional designated module in graphic interchange format file present frame decoding zone;
Being used for of being connected with described regional designated module specifies the decoding zone to carry out decoding module to described graphic interchange format file present frame;
The current frame data memory module that is used to store the regional decoded current frame data of described graphic interchange format file present frame appointment decoding that is connected with described decoder module;
Respectively with being used for after described graphic interchange format file present frame has been decoded that described decoder module is connected with the current frame data memory module, and when need preserving this and decode afterwards current frame data, the frame data preservation module of preserving this decoded current frame data;
The frame video data memory module of storing the frame data of needs demonstration with described current frame data memory module and frame data being used to of preserving that module is connected respectively.
2. device as claimed in claim 1 is characterized in that, described decoder module comprises:
Be used for described graphic interchange format file present frame is specified the regional decoding subelement of decoding of decoding;
Being used to of being connected with described decoding subelement judged described present frame first judging unit completely of whether decoding.
3. device as claimed in claim 2 is characterized in that, described frame data are preserved module and comprised:
Be used to judge whether the current frame data of described graphic interchange format file present frame after having decoded needs second judging unit of preserving;
Being used to of being connected with described second judging unit preserves the frame data of the current frame data that described needs preserve and preserves subelement.
4. device as claimed in claim 3 is characterized in that, described frame video data memory module comprises:
Be used to call the first data call unit of the regional decoded current frame data of described graphic interchange format file present frame appointment decoding of described current frame data memory module storage as the frame data of needs demonstration;
The data that being used for of being connected with the described first data call unit called according to the described first data call unit judge whether to call simultaneously the described second data call unit that described frame data are preserved the frame data that the current frame data in the module shows as needs that is kept at;
Store the frame video data storing sub-units of the frame data that the needs that the described first data call unit and the second data call unit called show respectively with the described first data call unit being used to of being connected with the second data call unit.
5. as any described device of claim 1 to 4, it is characterized in that the described second data call unit comprises:
Be used for judging whether to call simultaneously described the 3rd judging unit that described frame data are preserved the current frame data of module that is kept at;
Be connected with described the 3rd judging unit and be used for calling the described data call subelement that is kept at the frame data that current frame data that described frame data preserve module shows as needs.
CN 201020117456 2010-02-10 2010-02-10 Graphic format interchange file area decoding optimizing device Expired - Fee Related CN201629822U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201020117456 CN201629822U (en) 2010-02-10 2010-02-10 Graphic format interchange file area decoding optimizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201020117456 CN201629822U (en) 2010-02-10 2010-02-10 Graphic format interchange file area decoding optimizing device

Publications (1)

Publication Number Publication Date
CN201629822U true CN201629822U (en) 2010-11-10

Family

ID=43061220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201020117456 Expired - Fee Related CN201629822U (en) 2010-02-10 2010-02-10 Graphic format interchange file area decoding optimizing device

Country Status (1)

Country Link
CN (1) CN201629822U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390260A (en) * 2012-05-09 2013-11-13 腾讯科技(深圳)有限公司 Method and device for image processing
CN103986933A (en) * 2014-04-24 2014-08-13 小米科技有限责任公司 Dynamic picture displaying method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390260A (en) * 2012-05-09 2013-11-13 腾讯科技(深圳)有限公司 Method and device for image processing
CN103390260B (en) * 2012-05-09 2017-11-10 腾讯科技(深圳)有限公司 A kind of method and image processing apparatus for handling image
CN103986933A (en) * 2014-04-24 2014-08-13 小米科技有限责任公司 Dynamic picture displaying method and device
CN103986933B (en) * 2014-04-24 2017-12-12 小米科技有限责任公司 Dynamic picture display methods and device

Similar Documents

Publication Publication Date Title
CN101465953A (en) Method for displaying picture and system for browsing digital television picture as well as television set-top box
CN109064399B (en) Image super-resolution reconstruction method and system, computer device and storage medium thereof
CN111639289A (en) Webpage loading method and device
CN101714161A (en) Cache device and method for embedded browser
CN105678680A (en) Image processing method and device
CN107767431B (en) Web animation production method and computing device
CN101404080A (en) Advertisement imbedding and indication method and apparatus
US9727293B1 (en) Method and apparatus for paginating electronic documents
CN201629822U (en) Graphic format interchange file area decoding optimizing device
CN111859210B (en) Image processing method, device, equipment and storage medium
CN103136208A (en) Method for displaying images and device for displaying images
WO2017092455A1 (en) Method for web browsing in mobile terminal, and mobile terminal
CN108243355B (en) Set top box user interface loading method and system
US9208250B2 (en) System and method for dynamic modification of web page content to ensure consistent response time
CN103067774A (en) Method and system capable of enabling set top box to display add-on subtitles
CN102572207A (en) Color space transformation method suitable for joint photographic experts group (JPEG) image
CN106557529B (en) Display method and device for jump page in page jump
CN103744867A (en) Method and device for setting Web page backgrounds and browser
CN106991162B (en) Method for realizing animation effect on webpage for saving network resources
CN102768755A (en) Method and device for obtaining thumbnails of images
CN112559922B (en) Page rendering method, terminal device and storage medium
CN106682009B (en) Method and device for generating EPUB browser page and mobile phone
US11070867B2 (en) Method, device, and computing apparatus for acquiring broadcasting content
CN105657540A (en) Video decoding method adapted to Android system and device thereof
CN112118473A (en) Video bullet screen display method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101110

Termination date: 20150210

EXPY Termination of patent right or utility model