CN104023243A - Video preprocessing method and system and video post-processing method and system - Google Patents

Video preprocessing method and system and video post-processing method and system Download PDF

Info

Publication number
CN104023243A
CN104023243A CN201410187179.6A CN201410187179A CN104023243A CN 104023243 A CN104023243 A CN 104023243A CN 201410187179 A CN201410187179 A CN 201410187179A CN 104023243 A CN104023243 A CN 104023243A
Authority
CN
China
Prior art keywords
video
ids
image
unit
image data
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.)
Pending
Application number
CN201410187179.6A
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.)
Beijing Ingenic Semiconductor Co Ltd
Original Assignee
Beijing Ingenic Semiconductor 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 Beijing Ingenic Semiconductor Co Ltd filed Critical Beijing Ingenic Semiconductor Co Ltd
Priority to CN201410187179.6A priority Critical patent/CN104023243A/en
Publication of CN104023243A publication Critical patent/CN104023243A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses video processing methods to solve the problems that the bus resource is occupied and the power consumption of equipment is high in the prior art. A video preprocessing method comprises that an IDMA (Image Direct Memory Access) reads original image data from an external memory device, and the original image data is transmitted to a video preprocessing unit via an IDS (Image Data Selector); and when the video preprocessing unit completes processing, image data after video preprocessing is transmitted to a video coding/decoding engine via the IDS for coding. The invention also discloses video processing systems. According to the methods and systems of the invention, the frequency of reading/writing data from the external memory device is reduced, so that the occupation proportion of bus bandwidth is reduced, and the power consumption of equipment is decreased.

Description

Video pre-treating method and system, video post-process method and system
Technical field
The present invention relates to field of information processing, concrete, relate to video pre-treating method and system, video post-process method and system.
Background technology
Along with the arrival in mobile Internet epoch and the develop rapidly of integrated circuit technique, the upgrading of consumer handheld device is more and more faster, also brings user's experience that people become better and better.
In order to give the better multimedia experiences of user, the application processor of present consumer handheld device (Application Processor, AP) is conventionally all integrated coding and decoding video engine specially.In order further to strengthen experience effect, the forward and backward processing unit of video is also all come in by further integrated simultaneously.
Yet such integration mode has caused the read-write amount of larger exterior storage data.Because the process of coding and decoding video, video pretreatment process and video last handling process are separate.Take decode procedure as example, after coding and decoding video engine has been decoded, image will be stored in External memory equipment, for example, Double Data Rate synchronous DRAM (Double Data Rate Synchronous Dynamic Random Access Memory, DDR).Video post-processing unit needs again from External memory equipment, to read out image like this, just can carry out video reprocessing, then again the image after processing is deposited in External memory equipment.
Reading and writing data from External memory equipment so repeatedly, has taken valuable bus bandwidth resources on the one hand, has also improved on the other hand the power consumption of equipment.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, the invention provides method for processing video frequency and system.
On the one hand, of the present inventionly provide a kind of video pre-treating method, comprising:
Image direct memory access IDMA reading images initial data from External memory equipment;
By view data selector, IDS transfers to video pretreatment unit by original image data;
After video pretreatment unit is handled, the view data through video pre-treatment is transferred to the processing of encoding of coding and decoding video engine by IDS.
On the other hand, the invention provides another video post-process method, comprising:
The processing of decoding of coding and decoding video engine reads image data from External memory equipment;
The image data transmission of process being decoded by view data selector IDS is to video post-processing unit;
After video post-processing unit is handled, the view data through video reprocessing is transferred to image direct memory access IDMA by IDS;
IDMA writes External memory equipment by the view data through video reprocessing.
Another aspect, the invention provides a kind of video preprocessing system, comprising:
Image direct memory access IDMA(501), for from External memory equipment reading images initial data, and by view data selector IDS, original image data is transferred to video pretreatment unit (502);
Video pretreatment unit (502), for original image data is carried out to video pre-treatment, and transfers to coding and decoding video engine (503) by the view data through video pre-treatment by IDS;
Coding and decoding video engine (503), for processing that the view data of process video pre-treatment is encoded.
Another aspect, the invention provides another video after-treatment system, comprising:
Coding and decoding video engine (601), for the processing of decoding from External memory equipment reads image data, and the image data transmission of process being decoded by view data selector IDS is to video post-processing unit (602);
Video post-processing unit (602), for the view data of process decoding is carried out to video reprocessing, and transfers to image direct memory access IDMA(603 by the view data through video reprocessing by IDS);
IDMA(603), for the view data through video reprocessing is write to External memory equipment.
Adopt method for processing video frequency provided by the invention and system, can reduce the frequency reading and writing data from External memory equipment, thereby reduce the occupation proportion of bus bandwidth, alleviate the power consumption of equipment.
 
Accompanying drawing explanation
A kind of video pre-treating method flow chart that Fig. 1 provides for the embodiment of the invention;
A kind of video post-process method flow chart that Fig. 2 provides for the another embodiment of the present invention;
The Echo Port agreement sequential chart that Fig. 3 provides for the embodiment of the invention;
Fig. 4 adopts Echo Port protocol message interaction figure in the embodiment of the invention;
A kind of video preprocessing system structural representation that Fig. 5 provides for the embodiment of the invention;
A kind of video after-treatment system structural representation that Fig. 6 provides for the another embodiment of the present invention.
 
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of video pre-treating method that embodiment of the present invention provides, comprising:
101, image direct memory access (Image Direct Memory Access, IDMA) unit reading images initial data from External memory equipment;
Optionally, said external memory device can be DDR.
Preferably, in the specific embodiment of the present invention, IDMA reads or writes back image pixel data by bus from External memory equipment.
102, by view data selector (Image Data Switch, IDS), original image data is transferred to video pretreatment unit;
Optionally, above-mentionedly by IDS, original image data is transferred to video pretreatment unit and can be: IDMA, by output port, transfers to IDS by original image data; IDS transfers to original image data video pretreatment unit again.
Optionally, above-mentioned video pretreatment unit can be image to be carried out to certain processing before coding to strengthen image effect or to make image meet the unit of coding requirement, for example, can be one or more in the graphics processing units such as image scaling unit, image noise reduction unit and image sharpening unit.
Preferably, in the specific embodiment of the present invention, IDS is data path switch array, and the gating of each data path is realized by one group of configuration register.For example, before encoding and decoding engine and the front/rear processing unit work of video, this group configuration register can be configured according to difference, sets up needed data path, as the output port of unit for scaling is connected to input port of noise reduction unit etc.
Optionally, above-mentioned port can be the port of configuration Echo Port agreement.About Echo Port agreement, after can be described in detail.
103, after video pretreatment unit is handled, the view data through video pre-treatment is transferred to the processing of encoding of coding and decoding video engine by IDS.
The video pre-treating method that adopts embodiment of the present invention to provide, can reduce the frequency reading and writing data from External memory equipment, thereby reduces the occupation proportion of bus bandwidth, alleviates the power consumption of equipment.
As shown in Figure 2, another embodiment of the present invention provides another kind of video post-process method, comprising:
201, the processing of decoding of coding and decoding video engine reads image data from External memory equipment;
Optionally, said external memory device can be DDR.
202, the image data transmission of process being decoded by IDS is to video post-processing unit;
Optionally, above-mentioned image data transmission to video post-processing unit of process being decoded by IDS can be: IDMA is by output port, and the image data transmission that process is decoded is to IDS; The image data transmission that IDS decodes process is again to video post-processing unit.
Optionally, above-mentioned video post-processing unit can be image to be carried out to certain processing after decoding to strengthen image effect or to make image meet the unit of display requirement, for example, can be one or more in the graphics processing units such as image scaling unit, image noise reduction unit and image sharpening unit.
Preferably, in the specific embodiment of the present invention, IDS is data path switch array, and the gating of each data path is realized by one group of configuration register.For example, before encoding and decoding engine and the front/rear processing unit work of video, this group configuration register can be configured according to difference, sets up needed data path, as the output port of unit for scaling is connected to input port of noise reduction unit etc.
Optionally, above-mentioned port can be the port of configuration Echo Port agreement.About Echo Port agreement, after can be described in detail.
203, after video post-processing unit is handled, the view data through video reprocessing is transferred to IDMA by IDS;
204, IDMA writes External memory equipment by the view data through video reprocessing.
The video post-process method that adopts embodiment of the present invention to provide, can reduce the frequency reading and writing data from External memory equipment, thereby reduces the occupation proportion of bus bandwidth, alleviates the power consumption of equipment.
In embodiments of the present invention, Echo Port agreement is a kind of one-way data host-host protocol, and the data that can realize between each units/modules are directly transmitted, simply efficient.Interacting message figure in conjunction with shown in the Echo Port agreement sequential chart shown in Fig. 3 and Fig. 4, describes in detail to the data transmission procedure of Echo Port agreement below.
Prime module (for example, the video pretreatment unit in 103, the video post-processing unit in 203) is if for example wanted, to rear class module (, the coding and decoding video engine in 103, the IDMA in 203) transmission data:
First, prime module need to send inquiry (Query) message to rear class module, when sending Query message, also needs to send for describing the attribute information of the data that will transmit to rear class module; Attribute information is only only effectively when Query message sends, take Fig. 3 as example, and Info is only only effectively during Query is height, and remains unchanged when not receiving Ready;
Rear class module determines whether to receive data, if can receive, to prime module, returns to preparation (Ready) message;
Prime module is received after Ready message, just can start (Data) to rear class module transmission data; Preferably, can also be in transfer of data, to rear class module, send the effective message of identification data (Data_en), this message represents, in the data of present clock bat, is effective.
Certainly, above-mentioned Echo Port agreement is only a kind of exemplary execution mode.In the specific embodiment of the present invention, adopt other protocol configuration port to be also fine, the present invention is not construed as limiting this.
Another embodiment of the invention provides a kind of video preprocessing system, as shown in Figure 5, comprising:
IDMA(501), for from External memory equipment reading images initial data, and by IDS, original image data is transferred to video pretreatment unit (502);
Video pretreatment unit (502), for original image data is carried out to video pre-treatment, and transfers to coding and decoding video engine (503) by the view data through video pre-treatment by IDS;
Coding and decoding video engine (503), for processing that the view data of process video pre-treatment is encoded.
Another embodiment of the invention provides a kind of video after-treatment system, as shown in Figure 6, comprising:
Coding and decoding video engine (601), for the processing of decoding from External memory equipment reads image data, and the image data transmission of process being decoded by IDS is to video post-processing unit (602);
Video post-processing unit (602), for the view data of process decoding is carried out to video reprocessing, and transfers to IDMA(603 by the view data through video reprocessing by IDS);
IDMA(603), for the view data through video reprocessing is write to External memory equipment.
The front/rear treatment system of video that adopts embodiment of the present invention to provide, can reduce the frequency reading and writing data from External memory equipment, thereby reduces the occupation proportion of bus bandwidth, alleviates the power consumption of equipment.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a video pre-treating method, is characterized in that, comprising:
Image direct memory access IDMA reading images initial data from External memory equipment;
By view data selector, IDS transfers to video pretreatment unit by original image data;
After video pretreatment unit is handled, the view data through video pre-treatment is transferred to the processing of encoding of coding and decoding video engine by IDS.
2. method according to claim 1, is characterized in that, describedly by IDS, original image data is transferred to video pretreatment unit, comprising:
Described IDMA, by output port, transfers to described IDS by described original image data;
Described IDS transfers to video pretreatment unit by described original image data again.
3. method according to claim 2, is characterized in that, described video pretreatment unit is image to be carried out to certain processing before coding to strengthen image effect or to make image meet the unit of coding requirement.
4. method according to claim 3, is characterized in that, described video pretreatment unit is one or more in image scaling unit, image noise reduction unit and image sharpening unit.
5. according to the method described in any one in claim 2-4, described port arrangement Echo Port agreement.
6. a video post-process method, is characterized in that, comprising:
The processing of decoding of coding and decoding video engine reads image data from External memory equipment;
The image data transmission of process being decoded by view data selector IDS is to video post-processing unit;
After video post-processing unit is handled, the view data through video reprocessing is transferred to image direct memory access IDMA by IDS;
IDMA writes External memory equipment by the view data through video reprocessing.
7. method according to claim 6, is characterized in that, described image data transmission of process being decoded by IDS, to video post-processing unit, comprising:
IDMA is by output port, and the image data transmission that process is decoded is to IDS;
The image data transmission that IDS decodes process is again to video post-processing unit.
8. method according to claim 7, is characterized in that, described video post-processing unit is image to be carried out to certain processing after decoding to strengthen image effect or to make image meet the unit of display requirement.
9. method according to claim 8, is characterized in that, described video post-processing unit is one or more in image scaling unit, image noise reduction unit and image sharpening unit.
10. according to the method described in any one in claim 6-9, described port arrangement Echo Port agreement.
11. 1 kinds of video preprocessing systems, is characterized in that, comprising:
Image direct memory access IDMA(501), for from External memory equipment reading images initial data, and by view data selector IDS, original image data is transferred to video pretreatment unit (502);
Video pretreatment unit (502), for original image data is carried out to video pre-treatment, and transfers to coding and decoding video engine (503) by the view data through video pre-treatment by IDS;
Coding and decoding video engine (503), for processing that the view data of process video pre-treatment is encoded.
12. 1 kinds of video after-treatment systems, is characterized in that, comprising:
Coding and decoding video engine (601), for the processing of decoding from External memory equipment reads image data, and the image data transmission of process being decoded by view data selector IDS is to video post-processing unit (602);
Video post-processing unit (602), for the view data of process decoding is carried out to video reprocessing, and transfers to image direct memory access IDMA(603 by the view data through video reprocessing by IDS);
IDMA(603), for the view data through video reprocessing is write to External memory equipment.
CN201410187179.6A 2014-05-05 2014-05-05 Video preprocessing method and system and video post-processing method and system Pending CN104023243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410187179.6A CN104023243A (en) 2014-05-05 2014-05-05 Video preprocessing method and system and video post-processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410187179.6A CN104023243A (en) 2014-05-05 2014-05-05 Video preprocessing method and system and video post-processing method and system

Publications (1)

Publication Number Publication Date
CN104023243A true CN104023243A (en) 2014-09-03

Family

ID=51439781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410187179.6A Pending CN104023243A (en) 2014-05-05 2014-05-05 Video preprocessing method and system and video post-processing method and system

Country Status (1)

Country Link
CN (1) CN104023243A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060084949A (en) * 2005-01-21 2006-07-26 엘지전자 주식회사 Direct memory access control method and apparatus thereof
KR20060119372A (en) * 2005-05-20 2006-11-24 경 남 하 Ccd module of camera
CN1981519A (en) * 2004-07-08 2007-06-13 飞思卡尔半导体公司 Method and system for displaying a sequence of image frames
CN101093577A (en) * 2006-06-20 2007-12-26 株式会社瑞萨科技 Picture processing engine and picture processing system
CN101118568A (en) * 2007-09-19 2008-02-06 中国科学院上海技术物理研究所 Device and method for outputting signal of emulation infrared detector
CN101742218A (en) * 2010-01-19 2010-06-16 南京邮电大学 Implementation method of videophone system among IPTV set top boxes
CN102804165A (en) * 2009-02-11 2012-11-28 四次方有限公司 Front end processor with extendable data path
CN202736047U (en) * 2012-08-15 2013-02-13 深圳市宏电技术股份有限公司 File system conversion equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1981519A (en) * 2004-07-08 2007-06-13 飞思卡尔半导体公司 Method and system for displaying a sequence of image frames
KR20060084949A (en) * 2005-01-21 2006-07-26 엘지전자 주식회사 Direct memory access control method and apparatus thereof
KR20060119372A (en) * 2005-05-20 2006-11-24 경 남 하 Ccd module of camera
CN101093577A (en) * 2006-06-20 2007-12-26 株式会社瑞萨科技 Picture processing engine and picture processing system
CN101118568A (en) * 2007-09-19 2008-02-06 中国科学院上海技术物理研究所 Device and method for outputting signal of emulation infrared detector
CN102804165A (en) * 2009-02-11 2012-11-28 四次方有限公司 Front end processor with extendable data path
CN101742218A (en) * 2010-01-19 2010-06-16 南京邮电大学 Implementation method of videophone system among IPTV set top boxes
CN202736047U (en) * 2012-08-15 2013-02-13 深圳市宏电技术股份有限公司 File system conversion equipment

Similar Documents

Publication Publication Date Title
US10627893B2 (en) HSIC communication system and method
US9037761B2 (en) Configurable buffer allocation for multi-format video processing
CN101236601B (en) Image recognition accelerator and MPU chip possessing image recognition accelerator
CN102566958B (en) Image segmentation processing device based on SGDMA (scatter gather direct memory access)
CN109902059B (en) Data transmission method between CPU and GPU
EP3979088A1 (en) Inter-core data processing method and system, system on chip and electronic device
CN104050040A (en) Media playback workload scheduler
CN112817602B (en) JSON format data transmitting and receiving method, device and medium
US20190042177A1 (en) Low latency wireless display
CN102457701B (en) Image display processing method and device for same
CN104185062A (en) Method for processing video streams by terminal and terminal
CN106713805A (en) FPGA-based digital video display interface module and communication method thereof
CN111881104A (en) NFS server, data writing method and device thereof, and storage medium
CN104133607A (en) Handwriting sharing method and handwriting sharing device
CN113286174A (en) Video frame extraction method and device, electronic equipment and computer readable storage medium
CN104780294A (en) FPGA Soc parallel processing-based distributed large-data volume video processing system and method
CN110446046B (en) Batch image fast decoding method based on embedded platform
CN104023243A (en) Video preprocessing method and system and video post-processing method and system
CN109067864B (en) Notification message pushing method and device and electronic equipment
CN103347071A (en) MIPI data transmission control method and electronic device
CN103137092B (en) Arbitration method, arbitration circuit, liquid crystal display (LCD) driving circuit and LCD driving system
CN102497514B (en) Three-channel video forwarding equipment and forwarding method
US20050125733A1 (en) Method and apparatus for multimedia display in a mobile device
CN114168503A (en) Interface IP core control method, interface IP core, device and medium
CN105786409B (en) A kind of electronic equipment and resource share method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140903