CN101389030A - Encoding method, system and video encoder - Google Patents
Encoding method, system and video encoder Download PDFInfo
- Publication number
- CN101389030A CN101389030A CN 200810224691 CN200810224691A CN101389030A CN 101389030 A CN101389030 A CN 101389030A CN 200810224691 CN200810224691 CN 200810224691 CN 200810224691 A CN200810224691 A CN 200810224691A CN 101389030 A CN101389030 A CN 101389030A
- Authority
- CN
- China
- Prior art keywords
- image
- width
- encoded
- cloth
- row
- 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.)
- Granted
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
The embodiment of this invention discloses a coding method, system and video coder, belonging to the communication field. The method comprises: obtaining N pre-coding images, wherein N is the natural number and not smaller than 2; coding the pre-coding images in turn based on the column number proportion of macro-block column between the pre-coding images. The system comprises a code controller and a video coder. The video coder comprises an obtaining unit and a coding unit. The embodiment of this invention codes the pre-coding images in turn based on the column number proportion of macro-block column between the pre-coding images, which effectively eases the spare problem of the operation and improves the processing efficiency of the video coder.
Description
Technical field
The present invention relates to the communications field, particularly a kind of coding method, system and video encoder.
Background technology
In field of video monitoring, often adopt many code streams coding techniques.So-called many code streams codings are meant same width of cloth image zoom is become different size, and a plurality of code streams with original image and scaled images are encoded respectively and produced are called many code streams.Generally the code stream that original image is produced is called main bit stream, and the code stream that zoomed image is produced is called subcode stream, and the device that generates code stream is called video encoder.
Video encoder comprises several arithmetic elements of carrying out data processing, data conversion.Be to improve code efficiency, each arithmetic element starts by " flowing water ", and the coding of image is finished in concurrent working.During coding, video encoder is divided into several macro blocks with image, and for example: the image block of 16 * 16 pixels is a macro block.Arithmetic element is that unit handles with the macro block.Since the correlation between the macro block, the information of the adjacent macroblocks that need encode during a macroblock coding, as: left adjacent macroblocks is or/and go up the coded message of adjacent macroblocks.Referring to Fig. 1, the first row macro block comprises 1,2,3 three macro block, and the second row macro block comprises 4,5,6 three macro blocks, and the third line macro block comprises 7,8,9 three macro blocks.During macro block 2 codings, need the coded message of its left adjacent macroblocks 1; During macro block 4 codings, need the coded message of adjacent macroblocks 1 on it; During macro block 5 coding, need the coded message of adjacent macroblocks 2 and left adjacent macroblocks 4 on it, other macro block is identical with the principle of macro block 2,4 and 5, gives an example no longer one by one here.
Referring to Fig. 2, the flowing structure of video encoder has n level flowing water, every grade of respectively corresponding arithmetic element of flowing water, for example, the 1st grade of flowing water is for preparing the arithmetic element of coded data, and the 2nd grade of flowing water is arithmetic element A ... n-1 level flowing water is arithmetic element B, the arithmetic element of n level flowing water memory encoding information and relevant information.The coded message of afterbody flowing water storage can be used when the 1st grade of flowing water of next line macroblock coding is prepared coding.In this case, inevitable requirement, when preparing next line macroblock coding data, its needed lastrow macroblock encoding result and relevant information must be stored and be finished.For example: macro block 4 in the second row macro block shown in Figure 1 when its 1st grade of flowing water starts, just needs the afterbody flowing water coded message of macro block 1 in the first row macro block and relevant information storage to finish.
According to above-mentioned " flowing water " principle, for " little image ", its picture traverse is less than flowing water length, referring to Fig. 2, first order flowing water will occur and handle last macro block of delegation, the situation that afterbody flowing water does not finish the required last adjacent macroblocks information stores of next line macro block as yet.It still is example with Fig. 1, the 1st grade of flowing water has been handled macro block 3 in the first row macro block, and n level flowing water does not finish the relevant information storage of macro block 1 in the first row macro block as yet, at this moment, can not start the second row macroblock encoding immediately, because the storage of the relevant information of macro blocks 1 such as macro block 4 needs finishes, the 1st grade of flowing water could be handled macro block 4, just can carry out the coding of second row.Like this, the idle situation of arithmetic element can occur, the disposal ability of video encoder reduces.Certainly, if picture traverse greater than flowing water length, promptly when the intact delegation of the 1st grade of stream treatment macro block, afterbody flowing water also finishes required last adjacent macroblocks information stores, just can directly start next line and encode.Like this, can start continuously between the row of image and the row, be called " back-to-back " startup, at this moment, the disposal ability of each arithmetic element of video encoder is not fully exerted.
Many code streams coding techniques need be handled original image and zoomed image respectively, when the width of zoomed image during less than flowing structure, the idle situation of arithmetic element will occur.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
The idle situation of arithmetic element may appear in many code streams coding techniques of the prior art, has reduced the treatment effeciency of video encoder.
Summary of the invention
The embodiment of the invention provides a kind of coding method, system and video encoder, can improve the utilance to arithmetic element, thereby improves the treatment effeciency of video encoder.
Described technical scheme is as follows:
A kind of coding method is characterized in that, comprising:
Obtain N width of cloth pre-encoded video, N is natural number and N 〉=2;
According to the column number proportion of macro-block line between the described pre-encoded video, in turn described pre-encoded video is encoded.
A kind of coded system is characterized in that, described system comprises: coding controller and video encoder;
Described coding controller is used to indicate described video encoder to read pre-encoded video;
Described video encoder is used for the indication according to described coding controller, obtains N width of cloth pre-encoded video, and N is natural number and N 〉=2, according to the column number proportion of macro-block line between the described pre-encoded video, in turn described pre-encoded video is encoded.
A kind of video encoder is characterized in that, comprising:
Acquiring unit is used to obtain N width of cloth pre-encoded video, and N is natural number and N 〉=2;
Coding unit, the column number proportion of macro-block line between the pre-encoded video that is used for obtaining according to described acquiring unit is encoded to described pre-encoded video in turn.
The embodiment of the invention is encoded to pre-encoded video in turn by the column number proportion according to macro-block line between the pre-encoded video, has effectively alleviated the idle problem of arithmetic element, has improved the treatment effeciency of video encoder.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention 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 some embodiments of the present invention, 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 macroblock structure schematic diagram that prior art provides;
Fig. 2 is the little image stream water-bound schematic diagram that prior art provides;
Fig. 3 is the coding method flow chart that the embodiment of the invention one provides;
Fig. 4 is the coded system structural representation that the embodiment of the invention one provides;
Fig. 5 is the coded system structural representation that the prior art that provides of the embodiment of the invention one adopts;
Fig. 6 is the coded system structural representation that the embodiment of the invention two provides;
Fig. 7 is the coded system workflow interaction figure that the embodiment of the invention two provides;
Fig. 8 is the video encoder structural representation that the embodiment of the invention three provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one
Referring to Fig. 3, present embodiment provides a kind of coding method, comprising:
101: video encoder obtains N width of cloth pre-encoded video, and N is natural number and N 〉=2;
Further, pre-encoded video can be a N width of cloth image arbitrarily, also can be original image and zoomed image thereof, and wherein, original image can be that for example: time-domain filtering etc. also can be not pass through pre-treatment through pre-treatment.
Particularly, when pre-encoded video was original image and zoomed image thereof, video encoder obtained original image, specifically can read original image from image sealer; Perhaps in image sealer when external memory reads original image, read original image from external memory simultaneously; Perhaps external memory is with the metadata cache of raw image storage in the coded system, and video encoder reads original image from metadata cache.Original image generates zoomed image through the image sealer convergent-divergent, and stores zoomed image in the coded system another metadata cache, and video encoder obtains zoomed image from this another metadata cache.
Further, video encoder, image sealer and metadata cache (metadata cache of storage zoomed image) co-ordination under the control of coding controller referring to Fig. 4, comprising:
Coding controller indicating image scaler reads original image by system bus from external memory; And the instruction video encoder reads original image, and original image is encoded; Image sealer is carried out convergent-divergent to original image, and stores zoomed image into metadata cache; Finish the delegation or the multirow macro block of original image when the first order stream treatment of video encoder, and the zoomed image of storing in the metadata cache is during more than or equal to delegation's macro block, coding controller instruction video encoder reads zoomed image from metadata cache, and the delegation or the multirow macro block of zoomed image are encoded; If the zoomed image of storing in the metadata cache is during less than delegation's macro block, coding controller instruction video encoder is only encoded to original image.After video encoder was finished coding to original image and zoomed image, the code stream that the coding back is generated stored external memory into.
Further, coding controller, also be used for CPU (Central Processing Unit, central processing unit) mutual, for example: receive the coding enabled instruction of central processing unit, return end-of-encode interruption etc. to central processing unit.
102:, in turn pre-encoded video is encoded according to the column number proportion of macro-block line between the pre-encoded video.
Particularly, if the column number proportion of macro-block line is H between the N width of cloth pre-encoded video
1: H
2: ...: H
N, according to specified order in advance, as: from order or other order of first width of cloth to the N width of cloth, the H of every pair first width of cloth image
1The row macro block is encoded, just to the H of second width of cloth image
2The row macro block is encoded, and the rest may be inferred, to the H of N width of cloth image
NThe row macro block is encoded, wherein H
1, H
2H
NBe natural number.Wherein, can once finish H to first width of cloth image
1Row macroblock encoding or finish H several times to first width of cloth image
1The row macroblock encoding; The rest may be inferred, can once finish the H to N width of cloth image
NRow macroblock encoding or finish H several times to N width of cloth image
NThe row macroblock encoding.Particularly, once finish H to first width of cloth image
1The row macroblock encoding; Perhaps finish H to first width of cloth image
1Behind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes first width of cloth image
1The row macroblock encoding; The rest may be inferred, once finishes the H to N width of cloth image
NThe row macroblock encoding; Perhaps finish H to N width of cloth image
NBehind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes N width of cloth image
NThe row macroblock encoding.At last, the code stream that will generate after will encoding to this N width of cloth pre-encoded video stores external memory into, during specific implementation, can encode simultaneously and storing process, and when promptly encoding, the code stream that the coding back is generated stores external memory into.Below in conjunction with concrete example above-mentioned cataloged procedure is described.
Be provided with three width of cloth pre-encoded videos, image 1, image 2 are 6:3:2 with the column number proportion of the macro-block line of image 3.If adopt the H that once finishes N width of cloth image
NRow macroblock encoding method, wherein, N=1,2,3, H
1=6, H
2=3, H
3=2, then cataloged procedure is: to six row macroblock codings of image 1, to the triplex row macroblock coding of image 2, to two row macroblock codings of image 3, repeat said process, until the coding of finishing three width of cloth images more then earlier.
If adopt the H that repeatedly finishes N width of cloth image
NRow macroblock encoding method, wherein, N=1,2,3, H
1=6, H
2=3, H
3=2, then cataloged procedure is:
At first to two row macroblock codings of image 1, again to delegation's macroblock coding of image 2;
Then to delegation's macroblock coding of image 1, again to delegation's macroblock coding of image 3;
Then to delegation's macroblock coding of image 1, again to delegation's macroblock coding of image 2;
Then to image 1 two the row macroblock codings, to delegation's macroblock coding of image 2, to delegation's macroblock coding of image 3; So far, six row macroblock encoding of image 1 have been finished, finished the triplex row macroblock encoding of image 2, two row macroblock encoding of image 3 have been finished, still meet this ratio of 6:3:2, only six of image 1 row macroblock encoding are divided and are finished for four times, and the triplex row macroblock encoding of image 2 is divided and finished for three times, and two row macroblock encoding of image 3 make two bites at a cherry;
Repeat said process, all finish coding up to three images.
Above-mentioned cataloged procedure, just repeatedly finish a kind of special case of coding method, other mode of repeatedly finishing coding is suitable equally, for example: six row macroblock encoding of image 1 are divided and are finished for three times, the triplex row macroblock encoding of image 2 makes two bites at a cherry, two row macroblock encoding of image 3 make two bites at a cherry etc., give unnecessary details no longer one by one here.
In the above-mentioned example, if in three width of cloth images little image of a width of cloth is arranged, promptly picture traverse supposes here that less than flowing structure little image is an image 3, if once finish the special case that coding method adopts example to provide, has then alleviated the idle problem of video encoder arithmetic element; If repeatedly finish the special case that coding method adopts example to provide, then can solve the idle problem of arithmetic element fully; No matter but which kind of coding form, with respect to prior art, the idle problem of video encoder arithmetic element has all been alleviated in the coding method that present embodiment provides at least.
In addition, referring to the structural representation of existing coded system shown in Figure 5, in the prior art, image sealer and video encoder need be visited external memory respectively.Image sealer reads original image by system bus from external memory, behind the convergent-divergent, stores zoomed image into external memory by system bus again; Owing to adopt the mode of coding respectively, video encoder need read original image from external memory by system bus, behind the coding, store coding result into external memory, then, video encoder reads zoomed image by system bus from external memory, behind the coding, store coding result into external memory, if a plurality of zoomed images are arranged, then video encoder need carry out repeatedly read, storage operation, repeatedly take the external memory bus bandwidth.
Present embodiment is by introducing metadata cache, video encoder reads each zoomed image from metadata cache, read original image from another metadata cache of image sealer or coded system, perhaps read original image from external memory simultaneously with image sealer, in turn each image is encoded then, store last coding result into external memory again, significantly reduced the number of times of visit external memory, effectively reduce the access bandwidth of external memory.
In the prior art, CPU is directly controlling image sealer and video encoder, and image sealer reads original image and convergent-divergent, stores zoomed image into external memory, and this process need and CPU mutual (as: interruption) are once; Video encoder is handled original image, need with CPU alternately once; When handling zoomed image, if zoomed image has N, need with mutual N time of CPU, the frequent disposal ability that can consume CPU alternately.
Present embodiment is by introducing coding controller, mutual by coding controller and central processing unit, again by coding controller control image sealer and video encoder, when finishing aforesaid operations equally, only need with central processing unit alternately once, significantly reduced the number of times mutual with central processing unit.
In sum, the coding method that present embodiment provides by the column number proportion according to macro-block line between the pre-encoded video, is encoded to pre-encoded video in turn, can effectively alleviate the idle problem of arithmetic element, improves the treatment effeciency of video encoder; In addition, by introducing coding controller, significantly reduced the number of times mutual with central processing unit; By introducing metadata cache, effectively reduce the access bandwidth of external memory.
Embodiment two
Referring to Fig. 6, present embodiment provides a kind of coded system, comprising:
Further, pre-encoded video can be a N width of cloth image arbitrarily, also can be original image and zoomed image thereof, and wherein, original image can be that for example: time-domain filtering etc. also can be not pass through pre-treatment through pre-treatment.
Particularly,
This video encoder 202 specifically is used for if the column number proportion of macro-block line is H between this N width of cloth pre-encoded video
1: H
2: ...: H
N, according to specified order in advance, the H of every pair first width of cloth image
1The row macro block is encoded, to the H of second width of cloth image
2The row macro block is encoded, and the rest may be inferred, to the H of N width of cloth image
NThe row macro block is encoded, wherein H
1, H
2H
NBe natural number.
This video encoder 202 specifically also is used for once finishing the H to this first width of cloth image
1The row macroblock encoding; Perhaps
Finish H to this first width of cloth image
1Behind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes this first width of cloth image
1The row macroblock encoding;
The rest may be inferred, once finishes the H to this N width of cloth image
NThe row macroblock encoding; Perhaps
Finish H to this N width of cloth image
NBehind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes this N width of cloth image
NThe row macroblock encoding.
Further, referring to Fig. 4, this system also comprises:
Further,
Below in conjunction with Fig. 7, describe the course of work of coded system in detail.
S301: central processing unit 203 sends the coding enabled instruction to coding controller 201, starts coding controller 201;
S302: coding controller 201 indicating image scaler 204 read raw image data by system bus from external memory 206;
Further, video encoder 202 can also read raw image data when image sealer 204 reads; Also can after reading, image sealer 204 read original image from image sealer 204 again; Also can read original image from external memory 206 by another metadata cache of coded system, video encoder 202 reads original image from this another metadata cache more then.Fig. 7 has only indicated wherein a kind of situation for clear.
S303: coding controller 201 instruction video encoders 202 read original image from image sealer 204, and original image is encoded;
S304: 204 pairs of original images of image sealer carry out convergent-divergent, and store zoomed image into metadata cache 205;
Further, step S303 and step S304 carry out simultaneously.
S305: the delegation or the multirow macro block that finish original image when the first order stream treatment of video encoder 202, and when the zoomed image of storage is more than or equal to delegation's macro block in the metadata cache 205, coding controller 201 instruction video encoders 202 read zoomed image from metadata cache 205, and the delegation or the multirow macro block of zoomed image are encoded; If when the zoomed image of storage was less than delegation's macro block in the metadata cache 205,202 of coding controller 201 instruction video encoders were encoded to original image.The coding method that concrete coding method can adopt embodiment one to provide repeats no more here.
S306: after video encoder 202 was finished coding to original image and zoomed image, a plurality of code streams that the coding back is generated stored external memory 206 into;
S307: coding controller 201 returns end-of-encode to central processing unit 203 and interrupts.
The coded system that present embodiment provides by the column number proportion according to macro-block line between the pre-encoded video, is encoded to pre-encoded video in turn, can effectively alleviate the idle problem of arithmetic element, improves the treatment effeciency of video encoder; In addition, by introducing coding controller, significantly reduced the number of times mutual with central processing unit; By introducing metadata cache, effectively reduce the access bandwidth of external memory.
Embodiment three
Referring to Fig. 8, present embodiment provides a kind of video encoder, comprising:
Acquiring unit 401 is used to obtain N width of cloth pre-encoded video, and N is natural number and N 〉=2;
Further, pre-encoded video can be a N width of cloth image arbitrarily, also can be original image and zoomed image thereof, and wherein, original image can be that for example: time-domain filtering etc. also can be not pass through pre-treatment through pre-treatment.
Particularly,
Acquiring unit 401 specifically is used to obtain original image, and this original image is carried out convergent-divergent, obtains zoomed image.
Particularly,
Finish H to described first width of cloth image
1Behind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described first width of cloth image
1The row macroblock encoding;
The rest may be inferred, described H to N width of cloth image
NThe row macro block is encoded and is comprised:
Once finish H to described N width of cloth image
NThe row macroblock encoding; Perhaps
Finish H to described N width of cloth image
NBehind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described N width of cloth image
NThe row macroblock encoding.
Present embodiment and embodiment one belong to same inventive concept, can not repeat them here referring to embodiment one about the detailed description of video encoder.
The coded system that present embodiment provides by the column number proportion according to macro-block line between the pre-encoded video, is encoded to pre-encoded video in turn, can effectively alleviate the idle problem of arithmetic element, improves the treatment effeciency of video encoder; In addition, by introducing coding controller, significantly reduced the number of times mutual with central processing unit; By introducing metadata cache, effectively reduce the access bandwidth of external memory.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (14)
1, a kind of coding method is characterized in that, comprising:
Obtain N width of cloth pre-encoded video, N is natural number and N 〉=2;
According to the column number proportion of macro-block line between the described pre-encoded video, in turn described pre-encoded video is encoded.
2, coding method as claimed in claim 1 is characterized in that, described pre-encoded video comprises the zoomed image of original image and described original image;
The described N of obtaining width of cloth pre-encoded video comprises:
Obtain described original image, described original image is carried out convergent-divergent, obtain described zoomed image.
3, coding method as claimed in claim 1 is characterized in that, described column number proportion according to macro-block line between the described pre-encoded video, and described pre-encoded video is encoded comprises in turn:
If the column number proportion of macro-block line is H between the described N width of cloth pre-encoded video
1: H
2: ...: H
N, according to specified order in advance, the H of every pair first width of cloth image
1The row macro block is encoded, to the H of second width of cloth image
2The row macro block is encoded, and the rest may be inferred, to the H of N width of cloth image
NThe row macro block is encoded, wherein H
1, H
2H
NBe natural number.
4, coding method as claimed in claim 3 is characterized in that, the capable macro block of the H1 of described every pair first width of cloth image is encoded and comprised:
Once finish H to described first width of cloth image
1The row macroblock encoding; Perhaps
Finish H to described first width of cloth image
1Behind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described first width of cloth image
1The row macroblock encoding;
The rest may be inferred, described H to N width of cloth image
NThe row macro block is encoded and is comprised:
Once finish H to described N width of cloth image
NThe row macroblock encoding; Perhaps
Finish H to described N width of cloth image
NBehind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described N width of cloth image
NThe row macroblock encoding.
5, a kind of coded system is characterized in that, described system comprises: coding controller and video encoder;
Described coding controller is used to indicate described video encoder to read pre-encoded video;
Described video encoder is used for the indication according to described coding controller, obtains N width of cloth pre-encoded video, and N is natural number and N 〉=2, according to the column number proportion of macro-block line between the described pre-encoded video, in turn described pre-encoded video is encoded.
6, coded system as claimed in claim 5 is characterized in that, described video encoder specifically is used for if the column number proportion of macro-block line is H between the described N width of cloth pre-encoded video
1: H
2: ...: H
N, according to specified order in advance, the H of every pair first width of cloth image
1The row macro block is encoded, to the H of second width of cloth image
2The row macro block is encoded, and the rest may be inferred, to the H of N width of cloth image
NThe row macro block is encoded, wherein H
1, H
2H
NBe natural number.
7, coded system as claimed in claim 6 is characterized in that, described video encoder is used for once finishing the H to described first width of cloth image
1The row macroblock encoding; Perhaps
Finish H to described first width of cloth image
1Behind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described first width of cloth image
1The row macroblock encoding;
The rest may be inferred,
Once finish H to described N width of cloth image
NThe row macroblock encoding; Perhaps
Finish H to described N width of cloth image
NBehind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described N width of cloth image
NThe row macroblock encoding.
8, as each described coded system of claim 5 to 7, it is characterized in that described system also comprises: central processing unit, image sealer, metadata cache and external memory;
Described central processing unit is used for sending the coding enabled instruction to described coding controller, and receives the end-of-encode interruption that described coding controller returns;
Described image sealer, be used for when described pre-encoded video comprises the zoomed image of original image and described original image, read described original image from described external memory, described original image convergent-divergent is generated zoomed image, and store described zoomed image into described metadata cache;
Described metadata cache is used to store the zoomed image that described image zoom unit generates;
Described external memory is used to store described original image.
9, coded system as claimed in claim 8 is characterized in that, described coding controller also is used for described image sealer, described metadata cache and described video encoder are controlled, and makes three's co-ordination.
10, coded system as claimed in claim 8 is characterized in that, described external memory also is used to store N the code stream that generates after described video encoder is encoded to described N width of cloth pre-encoded video.
11, a kind of video encoder is characterized in that, comprising:
Acquiring unit is used to obtain N width of cloth pre-encoded video, and N is natural number and N 〉=2;
Coding unit, the column number proportion of macro-block line between the pre-encoded video that is used for obtaining according to described acquiring unit is encoded to described pre-encoded video in turn.
12, video encoder as claimed in claim 11 is characterized in that, described acquiring unit specifically is used to obtain original image, and described original image is carried out convergent-divergent, obtains zoomed image.
13, video encoder as claimed in claim 11 is characterized in that, described coding unit specifically is used for if the column number proportion of macro-block line is H between the described N width of cloth pre-encoded video
1: H
2: ...: H
N, according to specified order in advance, the H of every pair first width of cloth image
1The row macro block is encoded, to the H of second width of cloth image
2The row macro block is encoded, and the rest may be inferred, to the H of N width of cloth image
NThe row macro block is encoded, wherein H
1, H
2H
NBe natural number.
14, video encoder as claimed in claim 13 is characterized in that, described coding unit specifically is used for once finishing the H to described first width of cloth image
1The row macroblock encoding; Perhaps
Finish H to described first width of cloth image
1Behind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described first width of cloth image
1The row macroblock encoding;
The rest may be inferred, described H to N width of cloth image
NThe row macro block is encoded and is comprised:
Once finish H to described N width of cloth image
NThe row macroblock encoding; Perhaps
Finish H to described N width of cloth image
NBehind the coding of row macro block middle part branch, other pre-encoded video is encoded, then, repeat said process, until the H that finishes described N width of cloth image
NThe row macroblock encoding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810224691 CN101389030B (en) | 2008-10-23 | 2008-10-23 | Encoding method, system and video encoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810224691 CN101389030B (en) | 2008-10-23 | 2008-10-23 | Encoding method, system and video encoder |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101389030A true CN101389030A (en) | 2009-03-18 |
CN101389030B CN101389030B (en) | 2012-01-11 |
Family
ID=40478156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810224691 Active CN101389030B (en) | 2008-10-23 | 2008-10-23 | Encoding method, system and video encoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101389030B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613301A (en) * | 2017-10-17 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of image processing method and device |
CN116389762A (en) * | 2023-06-05 | 2023-07-04 | 长沙千视电子科技有限公司 | Video data SpeedHQ coding method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112929672B (en) * | 2021-02-04 | 2023-02-24 | 山东云海国创云计算装备产业创新中心有限公司 | Video compression method, device, equipment and computer readable storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030009669A (en) * | 2001-07-23 | 2003-02-05 | 삼성전자주식회사 | multi channel image encoding apparatus and encording method thereof |
CN101184244A (en) * | 2007-12-25 | 2008-05-21 | 北京数码视讯科技股份有限公司 | Video coding method and system |
-
2008
- 2008-10-23 CN CN 200810224691 patent/CN101389030B/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613301A (en) * | 2017-10-17 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of image processing method and device |
CN107613301B (en) * | 2017-10-17 | 2020-05-26 | 苏州浪潮智能科技有限公司 | Image processing method and device |
CN116389762A (en) * | 2023-06-05 | 2023-07-04 | 长沙千视电子科技有限公司 | Video data SpeedHQ coding method and device |
CN116389762B (en) * | 2023-06-05 | 2023-08-15 | 长沙千视电子科技有限公司 | Video data SpeedHQ coding method and device |
Also Published As
Publication number | Publication date |
---|---|
CN101389030B (en) | 2012-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101107861B (en) | Piecewise processing of overlap smoothing and in-loop deblocking | |
CN1068754C (en) | Forced inner frame coding method | |
CN103581678B (en) | To improve the method and system of decoder capabilities by using multiple decoder channels | |
CN101090493A (en) | Moving picture decoding method and device | |
CN1100872A (en) | Apparatus and method for reproducing a prediction-encoded video signal | |
CN101087425A (en) | Image processing apparatus, image processing method and image processing program | |
CN103067715A (en) | Encoding and decoding methods and encoding and decoding device of range image | |
CN104971499A (en) | Game providing server | |
CN101707716B (en) | Video coder and coding method | |
CN101389030B (en) | Encoding method, system and video encoder | |
US20040105497A1 (en) | Encoding device and method | |
CN1652605B (en) | Video codecs, data processing systems and methods for the same | |
CN102143361A (en) | Video coding method and video coding device | |
CN101137062A (en) | Video coding system dual-core cooperation encoding method with dual-core processor | |
JP2611637B2 (en) | Image compression / decompression device | |
CN1964495A (en) | A method and device for carrying out buffer control to real time digital video stream | |
US20190279330A1 (en) | Watermark embedding method and apparatus | |
CN1272931A (en) | Image processor | |
CN103974069B (en) | Reusable method for video coding and encoder | |
CN1947346B (en) | Computerized coding method and computerized system | |
JP2007259323A (en) | Image decoding apparatus | |
JP2738136B2 (en) | Blocking device | |
CN115866350A (en) | Video reverse playing method and device, electronic equipment and storage medium | |
CN1290336C (en) | Apparatus for improving arithmatic encoding/decoding | |
KR20110071204A (en) | Parallel processing method in wavelet-based jpeg2000 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |