CN106375759A - Video image data coding method and device, and video image data decoding method and device - Google Patents
Video image data coding method and device, and video image data decoding method and device Download PDFInfo
- Publication number
- CN106375759A CN106375759A CN201610797670.XA CN201610797670A CN106375759A CN 106375759 A CN106375759 A CN 106375759A CN 201610797670 A CN201610797670 A CN 201610797670A CN 106375759 A CN106375759 A CN 106375759A
- Authority
- CN
- China
- Prior art keywords
- data
- component
- color channel
- yuv444
- formatted
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/115—Selection of the code volume for a coding unit prior to coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N19/196—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/20—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
- H04N19/21—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding with binary alpha-plane coding for video objects, e.g. context-based arithmetic encoding [CAE]
Abstract
The invention provides a video image data coding method and device, and a video image data decoding method and device and relates to the technical field of video coding and decoding. The problem that in the prior art, an alpha channel needs to be coded independently, so the system complexity is increased, and a corresponding relationship of an image and the alpha channel cannot be ensured can be solved. The invention comprises the steps of obtaining image data of video images, wherein the image data comprises data of a first format and non-color channel data; combining the data of the first format and the non-color channel data, thereby obtaining combined image data of a second format; and coding the combined image data of the second format. According to the scheme of the method and the device, the alpha channel does not need to be coded independently, the corresponding relationship of the image and the alpha channel is ensured, and the system complexity is reduced.
Description
Technical field
The present invention relates to video coding and decoding technology field, a kind of coding and decoding method particularly to vedio data and
Device.
Background technology
In present video image field, more and more appear as portrait or other objects add the feelings of virtual background
Condition, generally requires first to scratch portrait or other objects from original image and separates out, then by scratch from portrait or object and void
Intend background to combine.In prior art, can be realized by the transparency that alpha channel controls each pixel in the picture
Object or person picture scratch from and then realizing the fusion of object or person picture and background.Taking portrait as a example, can be by portrait in original image
Partial alpha channel is set to opaque, and other parts are set to transparent, and the boudary portion of portrait is set to translucent
To carry out transition, thus realize portrait scratch from.
Under a lot of application scenarios, the vedio data with alpha channel needs to carry out coding transmission, for example, scratches
Separate out the vedio data of the portrait coming or object, recipient carries out decoding process after receiving data, the laggard traveling one of decoding
The process of step, for example, blended with virtual background and show.
The vedio data coded system carrying alpha channel at present has main 2 kind, the first: first code pattern
Picture, in addition coding alpha channel data, both coded systems are different.In addition this mode is individually compiled to alpha channel
Code, increased the complexity of system, and cannot accurately ensure the corresponding relation of image and alpha channel.Second, utilizes
Mpeg2 (Motion Picture Experts Group, video and audio frequency lossy compression method that moving picture experts group organizes to set up
One of standard) respectively alpha channel and image are encoded, then it is combined in a two field picture, although this mode ensures
The corresponding relation of image and alpha channel, but need individually to be encoded twice, increased the complexity of system, and
And alpha channel is encoded always using intraframe coding, code check is than larger.
Content of the invention
The technical problem to be solved in the present invention is the coding and decoding method and device providing a kind of vedio data, solves
Carry the coded system of the vedio data of alpha channel in prior art, need separately encoded to alpha channel, increase
Add the problem of system complexity.
For solving above-mentioned technical problem, embodiments of the invention provide a kind of coded method of vedio data, comprising:
Obtain the view data of video image, described image data includes the first formatted data and not color channel data;
Described first formatted data and not color channel data are combined process, obtain the combination image of the second form
Data;
The combined image data of described second form is encoded.
Optionally, described described first formatted data and not color channel data are combined process, obtain the second lattice
The combined image data of formula includes:
Described first formatted data and not color channel data are combined according to the second form, thus by described first
Formatted data and not color channel data are combined as the combined image data of the second form;
Or
Described first formatted data is converted to intermediate format data, described intermediate format data is led to described not color
Track data is combined according to the second form, thus described intermediate format data and not color channel data are combined as the second lattice
The combined image data of formula.
Specifically, in one embodiment:
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described described first formatted data and not color channel data are combined according to the second form, thus will be described
The combined image data that first formatted data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv420 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h,
Described 3 sizes are in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Wherein, optionally, fill described u component and the data block of v component includes 4 sub-blocks, each described subnumber
It is w/2 according to block width, height is h/2, wherein, 1 described sub-block fills described u component, and another 1 described sub-block is filled out
Fill described v component, another 2 described sub-blocks fill first group of predetermined filling data and second group of predetermined filling data respectively.
Predetermined filling data is preferably full 0 data.
Specifically, in one embodiment:
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described described first formatted data and not color channel data are combined according to the second form, thus will be described
The combined image data that first formatted data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv422 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component.
Wherein, optionally, fill described u component and the data block of v component includes 2 sub-blocks, each described subnumber
It is w according to block width, height is h/2 or each described sub-block width is w/2, and height is h, wherein, 1 described subdata
Block fills described u component, and another 1 described sub-block fills described v component.
Specifically, in one embodiment:
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/4 u component and w*h/4 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described described intermediate format data is combined according to the second form with described not color channel data, thus will
The step of the combined image data that described intermediate format data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv420 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Wherein, optionally, fill described u component and the data block of v component includes 4 sub-blocks, each described subnumber
It is w/2 according to block width, height is h/2, wherein, 1 described sub-block fills described u component, and another 1 described sub-block is filled out
Fill described v component, another 2 described sub-blocks fill first group of predetermined filling data and second group of predetermined filling data respectively.
Predetermined filling data is preferably full 0 data.
Specifically, in one embodiment:
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/2 u component and w*h/2 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described described intermediate format data is combined according to the second form with described not color channel data, thus will
The step of the combined image data that described intermediate format data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv422 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component.
Wherein, optionally, fill described u component and the data block of v component includes 2 sub-blocks, each described subnumber
It is w according to block width, height is h/2 or each described sub-block width is w/2, and height is h, wherein, 1 described subdata
Block fills described u component, and another 1 described sub-block fills described v component.
Optionally, described not color channel data is alpha-channel data.
Optionally, the step that the described combined image data to described second form is encoded includes:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data of described second form is compiled
Code.
For solving above-mentioned technical problem, embodiments of the invention also provide a kind of code device of vedio data, bag
Include:
First acquisition module, for obtaining the view data of video image, described image data includes the first formatted data
With not color channel data;
First composite module, for being combined to described first formatted data and not color channel data processing, obtains
The combined image data of the second form;
Coding module, for encoding to the combined image data of described second form.
Optionally, described first composite module is used for:
Described first formatted data and not color channel data are combined according to the second form, thus by described first
Formatted data and not color channel data are combined as the combined image data of the second form;
Or
Described first formatted data is converted to intermediate format data, described intermediate format data is led to described not color
Track data is combined according to the second form, thus described intermediate format data and not color channel data are combined as the second lattice
The combined image data of formula.
Specifically, in one embodiment:
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv420 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Specifically, in one embodiment:
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv422 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component.
Specifically, in one embodiment:
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/4 u component and w*h/4 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv420 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Specifically, in one embodiment:
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/2 u component and w*h/2 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv422 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component.
Optionally, described coding module is used for:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data of described second form is compiled
Code.
For solving above-mentioned technical problem, embodiments of the invention also provide a kind of coding/decoding method of vedio data, bag
Include:
Obtain the combined image data after coding, coding side obtains the view data of video image, described image packet
Include the first formatted data and not color channel data, described first formatted data and not color channel data are combined locate
Reason, obtains the combined image data of the second form, the combined image data of described second form is encoded;
Combined image data after described coding is decoded as the combined image data of the second form;
The combined image data of described second form is split as the first formatted data and not color channel data.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
The described combined image data by described second form is split as the first formatted data and not color channel data bag
Include:
The combined image data of described second form is split as the first formatted data according to described second format combination
With not color channel data;
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
The described combined image data by described second form is split as the first formatted data and not color channel data bag
Include:
The combined image data of described second form is split as the intermediate format data according to described second format combination
With not color channel data;
Described intermediate format data is converted to described first formatted data.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
The described combined image data by described second form is split as the first form according to described second format combination
Data and not color channel data include:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv420 form.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component;
The described combined image data by described second form is split as the first form according to described second format combination
Data and not color channel data include:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv422 form.
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
The described combined image data by described second form is split as the intermediate form according to described second format combination
Data and not color channel data include:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv420 form.
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
The described combined image data by described second form is split as the intermediate form according to described second format combination
Data and not color channel data include:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv422 form.
Optionally described not color channel data is alpha-channel data.
Optionally, the step of the described combined image data that combined image data after described coding is decoded as the second form
Rapid inclusion:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data after described coding is decoded as second
The combined image data of form.
For solving above-mentioned technical problem, embodiments of the invention also provide a kind of decoding apparatus of vedio data, bag
Include:
Second acquisition module, for obtaining the combined image data after coding, coding side obtains the picture number of video image
According to described image data includes the first formatted data and not color channel data, and described first formatted data and not color are led to
Track data is combined processing, and obtains the combined image data of the second form, the combined image data of described second form is entered
Row coding;
Decoder module, for being decoded as the combined image data of the second form by the combined image data after described coding;
Split module, for the combined image data of described second form being split as the first formatted data and not color is led to
Track data.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described fractionation module is used for:
The combined image data of described second form is split as the first formatted data according to described second format combination
With not color channel data;
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described fractionation module is used for:
The combined image data of described second form is split as the intermediate format data according to described second format combination
With not color channel data;
Described intermediate format data is converted to described first formatted data.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv420 form.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv422 form.
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv420 form.
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv422 form.
Optionally, described decoder module is used for:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data after described coding is decoded as second
The combined image data of form.
The having the beneficial effect that of the technique scheme of the present invention:
The coded method of the vedio data of the embodiment of the present invention, obtains the view data of video image first,
Described image data includes the first formatted data and not color channel data;To described first formatted data and not color port number
According to being combined processing, obtain the combined image data of the second form.This coded method encodes to combined image data, no
Need individually to not color passage, such as alpha channel coding, and ensure that the first formatted data and not color port number
According to corresponding relation, reduce system complexity, be more easy to realize, and can be using multiple sides of intraframe coding and interframe encode
Formula, solve need in prior art separately encoded to alpha channel, increased system complexity it is impossible to ensure color data
With the corresponding relation of alpha channel, and code check is than larger problem.
Brief description
Fig. 1 is a kind of flow chart of the coded method of vedio data of the present invention;
Fig. 2 is a kind of flow chart of the coding/decoding method of vedio data of the present invention;
Fig. 3 is a kind of flow chart of the coded method of vedio data of the present invention;
Fig. 4-9 is the structural representation of yuv444 formatted data in embodiment illustrated in fig. 3;
Figure 10 is a kind of flow chart of the coding/decoding method of vedio data of the present invention;
Figure 11 is the structural representation of the code device of vedio data of the present invention;
Figure 12 is the structural representation of the decoding apparatus of vedio data of the present invention.
Specific embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
The coding and decoding method and device of the vedio data of the embodiment of the present invention it is not necessary to transform to encoder,
Do not need individually alpha channel to be encoded, reduce system complexity.
First embodiment
In conjunction with shown in Fig. 1, the coded method of the vedio data of the embodiment of the present invention, comprising:
Step 101, obtains the view data of video image, and described image data includes the first formatted data and not color is led to
Track data.
It should be noted that in the embodiment of the present invention, described not color channel data refers in addition to Color Channel
Channel data, such as alpha-channel data, certainly, are not limited to alpha-channel data or other channel datas, example
Other channel datas as needed for for image co-registration.
For example, the view data getting in this step can be for example the color data of rgb (RGB) form
And alpha-channel data, or can also be for the data of certain yuv form and alpha-channel data naturally it is also possible to be it
His the first formatted data and channel data, the present invention does not limit to this.
Step 102, is combined to the first formatted data and not color channel data processing, obtains the combination of the second form
View data.
In the embodiment of the present invention, the first formatted data and not color channel data can be combined, be combined as encoder
The data form being capable of identify that and being encoded, i.e. the second form, then encoded using encoder, therefore, view data
It is Unified coding it is not necessary to carry out separately encoded to not color channel data.
Specifically, there are two kinds of compound modes in this step.The first compound mode, directly by the first formatted data and non-face
Chrominance channel data is combined according to the second form, thus the first formatted data and not color channel data are combined as the second lattice
The combined image data of formula.First formatted data is first converted to a kind of data of intermediate form, then by second compound mode
According to the second form, combine intermediate format data and not color channel data, thus by intermediate format data and not color passage
Data is combined as the combined image data of the second form.
Step 103, encodes to the combined image data of described second form.
For example, it is possible to use video encoding standard h264, the mpeg4 or mpeg2 combination image number to the second form
According to being encoded, certainly, the invention is not restricted to this.And, the various coded system such as intraframe coding and interframe encode can be used.
It should be noted that the data form that the present invention is sayed, no matter the first form or the second form or in layout
Formula, all can be dissimilar etc. according to the different formattings being saved in file or record or data with index.
The coded method of the vedio data of the embodiment of the present invention, obtains the view data of video image first,
Described image data includes the first formatted data and alpha-channel data;To described first formatted data and alpha channel number
According to being combined processing, obtain the combined image data of the second form.This coded method encodes to combined image data, no
Need individually to not color passage, such as alpha channel coding, and ensure that the first formatted data and not color port number
According to corresponding relation, reduce system complexity, be more easy to realize, and can be using multiple sides of intraframe coding and interframe encode
Formula.For in prior art, being that image later stage fusion etc. is processed, color data and the situation of alpha-channel data need to be transmitted,
The coded method that the present embodiment provides solves and needs separately encoded to alpha channel in prior art, increased system complex
Degree is it is impossible to ensure the corresponding relation of color data and alpha channel, and code check is than larger problem.
Second embodiment
Corresponding with the embodiment shown in Fig. 1, the embodiment of the present invention also provides a kind of coding/decoding method of vedio data,
In conjunction with shown in Fig. 2, the coding/decoding method of the vedio data of the embodiment of the present invention, comprising:
Step 201, obtains the combined image data after coding.
In this step, accessed coded data, is the view data that coding side obtains video image, described image data
Including the first formatted data and not color channel data, described first formatted data and not color channel data are combined locate
Reason, obtains the combined image data of the second form, the combined image data of described second form is encoded obtained from.This
In inventive embodiments, described not color channel data refers to the channel data in addition to Color Channel, such as alpha channel
Data, certainly, is not limited to alpha-channel data or other channel datas.
For example, the view data accessed by coding side can be for example the color data of rgb (RGB) form
And alpha-channel data, or can also be for the data of certain yuv form and alpha-channel data naturally it is also possible to be it
His the first formatted data and channel data, the present invention does not limit to this.
Step 202, the combined image data after coding is decoded as the combined image data of the second form.
Coding side can be encoded to combined image data by multiple coded systems, for example, utilize video encoding standard
H264, mpeg4 or mpeg2 etc. are encoded, then, in this step, need using the decoding process corresponding with coding side to combination
Image is decoded, for example, solved the combined image data of coding using video encoding standard h264, mpeg4 or mpeg2
Code.
Step 203, the combined image data of the second form is split as the first formatted data and not color channel data.
Coding side can be combined to the first formatted data and not color channel data using two ways.The first group
First formatted data and not color channel data are directly combined by conjunction mode according to the second form, thus by the first form
Data and not color channel data are combined as the combined image data of the second form.For this compound mode, in this step, will
Decode the combined image data of the second form obtaining to be split as according to the first formatted data of described second format combination and non-
Color channel data.First formatted data is first converted to a kind of data of intermediate form by second compound mode, then according to
Second form, combination intermediate format data and not color channel data, thus by intermediate format data and not color channel data
It is combined as the combined image data of the second form.For this compound mode, in this step, first will decode the second form obtaining
Combined image data be split as the intermediate format data according to the second format combination and not color channel data, then by centre
Formatted data is converted to the first formatted data.
The coding/decoding method of the vedio data of the embodiment of the present invention, can decode simultaneously to the combined image data after coding
First formatted data and not color channel data are splitted out so that not needing when encoding individually not needing individually to not color
Passage, such as alpha channel encode, and ensure that the corresponding relation of the first formatted data and not color channel data, reduce
System complexity, is more easy to realize, and can be using the various ways of intraframe coding and interframe encode.Solve prior art
In, it is that image later stage fusion etc. is processed, color data and the situation of alpha-channel data need to be transmitted, need to alpha channel
Separately encoded, increased system complexity it is impossible to ensure the corresponding relation of image and alpha channel, and code check is asked than larger
Topic.
In order to those skilled in the art is better understood from technical scheme, below by specific embodiment pair
The coded method of vedio data provided in an embodiment of the present invention and coding/decoding method are further detailed.
3rd embodiment
In the present embodiment, the first format sample is rgb form, and that is, the first formatted data is rgb color data, and not color is led to
Track data example is alpha-channel data, and in the present embodiment, the color data of rgb form can be converted to one by coding side in advance
Plant intermediate form, encode after then intermediate format data and alpha-channel data being combined, be below specifically described,
In conjunction with shown in Fig. 3, the coded method of the vedio data of the present embodiment, comprising:
Step 301, obtains rgb color data and the alpha-channel data of video image.
Here, the view data of the video image that this step obtains is the vedio data with alpha channel, lattice
Formula is rgba, and including rgb (RGB) color data and alpha-channel data a, a is the transparent information of corresponding rgb pixel.
Step 302, described rgb color data is converted to the first predetermined yuv formatted data.
Here, according to color transfer standard, first rgb color data is converted to the first predetermined yuv formatted data, such as
Yuv420 formatted data or yuv422 formatted data.
Step 303, by the described first predetermined yuv formatted data and described alpha-channel data according to the second predetermined yuv
Form is combined, and obtains the composite video view data of the second predetermined yuv form.
Here, by the first predetermined yuv formatted data and alpha-channel data according to the second predetermined yuv formatted data combination
Afterwards, obtained comprising the composite video view data of color data and alpha-channel data.
Second predetermined yuv formatted data is as being yuv444 formatted data.
Step 304, the composite video view data of yuv form predetermined to described second encodes.
Here, the composite video view data comprising alpha-channel data is carried out encoding, need not be individually to Ah
You encode method channel data.
The coded method of the vedio data of the present embodiment, is encoded it is not necessary to individually right to composite video data
Alpha channel encodes, and ensure that the corresponding relation of color data and alpha channel, reduces system complexity, is more easy to
Realize, and can be using the various ways of intraframe coding and interframe encode, solving in prior art needs to alpha channel
Separately encoded, increased system complexity it is impossible to ensure the corresponding relation of image and alpha channel, and code check is asked than larger
Topic.
As a kind of preferred implementation, described first predetermined yuv form is yuv420 form, and described second makes a reservation for
Yuv form is yuv444 form.It is assumed that a width of w of a frame video image, a height of h in units of pixel, i.e. wide w pixel is high
H pixel.Then, the rgb color data of this video image includes w*h r component, w*h g component and w*h b component, and Ah
Your method channel data size is w*h, that is, include w*h alpha-channel data.
Known in those skilled in the art, it is directed to yuv420 form, a pixel corresponds to a y, a 2x2's
Pixel group, i.e. 4 pixels one u and v of correspondence.Then, the rgb color data of an above-mentioned frame video image is converted into
After yuv420 form, the color data of described yuv420 form includes w*h y-component, and w*h/4 u component and w*h/4 v divide
Amount.
Particularly, a w pixel of frame video image width, high h pixel, each data volume is equal for the rgb of rgb color data
For w*h, when rgb is converted to yuv420 form, according to the requirement of yuv420 form, y data volume is identical with amount of pixels, but
1 u, v data corresponds to 4 pixels, and that is, 1 u data represents the u data of 4 pixels, and 1 v data represents the v number of 4 pixels
According to.The u data of 1 pixel can be selected from 4 pixels, for representing the u data of this 4 pixels.In the same manner, can be from 4
The v data of 1 pixel is selected, for representing the v data of this 4 pixels in individual pixel.Therefore, u, v data volume is rgb
The a quarter of data volume.
Equally, known in those skilled in the art, it is directed to yuv444 form, a pixel corresponds to a y, one
U and v, for w pixel of video image width, high h pixel, its color data corresponding yuv444 formatted data size is
3*w*h, that is, composite video view data size is 3*w*h.
The step of above-mentioned steps 303 includes:
Step 3031, obtains y-component, u component and v component from the color data of described yuv420 form.
Here, w*h y-component, (w*h)/4 u component and (w* are obtained first from the color data of yuv420 form
H)/4 v components.
Step 3032, described y-component, u component, v component and alpha-channel data are filled to the number of yuv444 form
According to the composite video view data in space, obtaining yuv444 form.
Here, y-component, u component, v component and alpha-channel data are filled in the data space of yuv444 form,
Obtain comprising the composite video view data of y-component, u component, v component and alpha-channel data.
Specifically, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are
In the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described alpha-channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Predetermined filling data is preferably full 0 data, reduces the computation complexity of coding.
Now, after obtaining the composite video view data of yuv444 form, the combination comprising alpha-channel data is regarded
Frequency view data carries out encoding, it is to avoid individually increase system complexity that alpha-channel data coding causes etc. is asked
Topic.
Further, fill described u component and the data block of v component includes 4 sub-blocks, each described sub-block
Width is w/2, and height is h/2, and wherein, 1 described sub-block fills described u component, and another 1 described sub-block fills institute
State v component, sub-block described in another two fills first group of predetermined filling data and second group of predetermined filling data respectively.
Now, the data block of filling u, v component is divided into 4 sub-blocks, respectively filling u, v component and two groups predetermined
Filling data, optimizes data form, improves treatment effeciency.
Preferably, described first group of predetermined filling data and second group of predetermined filling data can be full 0 data, so
During next code, amount of calculation is less, reduces the complexity of coding.
Certainly, predetermined filling data is alternatively other data, specifically can be set according to demand, here is not said one by one
Bright.
By described y-component, u component, v component, first group of predetermined filling data m1, second group of predetermined filling data m2 and Ah
Your method channel data a, fills to the data space of yuv444 form, obtain yuv444 formatted data mode have multiple.Below
Several preferably modes are illustrated below:
Mode one: in the data block of 3 w*h of yuv444 form: fill y-component in the 1st data block;2nd number
According in block, according to from left to right, order from top to bottom be sequentially filled u component, v component, first group of predetermined filling data m1,
Two groups of predetermined filling data m2;Alpha-channel data a is filled in 3rd data block.The yuv444 formatted data such as Fig. 4 obtaining
Shown.
Mode two: in the data block of 3 w*h of yuv444 form: fill y-component in the 1st data block;2nd number
According in block, according to from left to right, order from top to bottom be sequentially filled u component, first group of predetermined filling data m1, v component,
Two groups of predetermined filling data m2;Alpha-channel data a is filled in 3rd data block.The yuv444 formatted data such as Fig. 5 obtaining
Shown.
Mode three: in the data block of 3 w*h of yuv444 form: fill y-component in the 1st data block;2nd number
According in block, according to from left to right, order from top to bottom be sequentially filled u component, first group of predetermined filling data m1, second group pre-
Surely fill data m2, v component;Alpha-channel data a is filled in 3rd data block.The yuv444 formatted data such as Fig. 6 obtaining
Shown.
Mode four: in the data block of 3 w*h of yuv444 form: fill y-component in the 1st wide data block;2nd
Alpha-channel data a is filled in data block;In 3rd data block, according to from left to right, order from top to bottom is sequentially filled
U component, v component, first group of predetermined filling data m1, second group of predetermined filling data m2.The yuv444 formatted data obtaining is such as
Shown in Fig. 7.
Mode five: in the data block of 3 w*h of yuv444 form: fill y-component in the 1st data block;2nd wide
Alpha-channel data a is filled in data block;In 3rd data block, according to from left to right, order from top to bottom is sequentially filled
U component, first group of predetermined filling data m1, v component, second group of predetermined filling data m2.The yuv444 formatted data obtaining is such as
Shown in Fig. 8.
Mode six: in the data block of 3 w*h of yuv444 form: fill y-component in the 1st data block;2nd wide
Alpha-channel data a is filled in data block;In 3rd data block, according to from left to right, order from top to bottom is sequentially filled
U component, first group of predetermined filling data m1, second group of predetermined filling data m2, v component.The yuv444 formatted data obtaining is such as
Shown in Fig. 9.
Certainly, only by way of example only, the embodiment of the present invention also can adopt other filling modes to above-mentioned several filling mode,
Here does not illustrate one by one.
As another kind of optional implementation, described first predetermined yuv form is yuv422 form, and described second makes a reservation for
Yuv form is yuv444 form.
Similar with aforementioned embodiments, it is assumed that a width of w of a frame video image, a height of h in units of pixel.
Then, the rgb color data of video image includes w*h r component, w*h g component and w*h b component, described Ah
Your method channel data size is w*h.
According to yuv422 form, then when rgb color data being converted to yuv422 form, the color data of yuv422 form
Including w*h y-component, w*h/2 u component and w*h/2 v component.
Here, the amount of pixel data of rgb color data is w*h, wide w pixel, high h pixel.When rgb is converted to
During yuv422 form, according to the requirement of yuv422 form, a pixel corresponds to a y, and y data volume is identical with amount of pixels, but
Every two row pixels, corresponding a line u and corresponding a line v, you can think that 1 u, v data corresponds to 2 pixels, i.e. 1 u data generation
The u data of 2 pixels of table, 1 v data represents the v data of 2 pixels, and that is, rgb color data will change out w*h/2 u, w*
H/2 v, therefore, u, v data volume is 1/2nd of rgb data volume.
It is directed to yuv444 form, a pixel corresponds to a y, and u and v, for w picture of video image width
Plain, high h pixel, its color data corresponding yuv444 formatted data size is 3*w*h, i.e. composite video view data size
For 3*w*h, that is, the composite video view data size of yuv444 form is 3*w*h.
The step of above-mentioned steps 303 includes:
Step 3033, obtains y-component, u component and v component from the color data of described yuv422 form.
Here, obtain w*h y-component first from the color data of yuv422 form, w*h/2 u component and w*h/2 are individual
V component.
Step 3034, described y-component, u component, v component and alpha-channel data are filled to the number of yuv444 form
According to the composite video view data in space, obtaining yuv444 form;
Here, y-component, u component, v component and alpha-channel data are filled in the data space of yuv444 form,
Obtain comprising the composite video view data of y-component, u component, v component and alpha-channel data.
Specifically, the data space of described yuv444 form may include the data block that 3 sizes are w*h, described 3 sizes
For in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described alpha-channel data, another 1 data block
Fill described u component and v component.
Now, after obtaining the composite video view data of yuv444 form, to comprising color data and alpha channel number
According to composite video view data carry out encoding, it is to avoid the increase system individually alpha-channel data coding being caused
The problems such as complexity.
Further, fill described u component and the data block of v component includes 2 sub-blocks, each described sub-block
Width is w, and height is h/2 or each described sub-block width is w/2, and height is h, and wherein, 1 described sub-block is filled out
Fill described u component, another 1 described sub-block fills described v component.
Now, the data block of filling u, v component is divided into 2 sub-blocks, fills u, v component respectively, optimize number
According to form, improve treatment effeciency.
Identical with yuv420 form, for the color data being converted into yuv422 form, described y-component, u component, v are divided
Amount and alpha-channel data a, fill to the data space of yuv444 form, obtain yuv444 formatted data mode also have many
Kind, will not be described here.
Preferably, the step of above-mentioned steps 304 includes:
Step 3041, is carried out to described composite video view data using video encoding standard h264, mpeg4 or mpeg2
Coding.
Now, encoder need not be transformed, to the composite video figure comprising color data and alpha-channel data
As data, carry out encoding using video encoding standard h264, mpeg4 or mpeg2.Wherein, intraframe coding and frame can be used
Between coding various ways.
The coded method of the vedio data of the embodiment of the present invention it is not necessary to individually to alpha channel coding it is ensured that
Image and the corresponding relation of alpha channel, reduce system complexity, are more easy to realize, and can use intraframe coding and frame
Between coding various ways.Solving needs separately encoded to alpha channel in prior art, increased system complexity, no
Method ensures the corresponding relation of image and alpha channel, and code check is than larger problem.
After the completion of coding, the composite video view data after coding can be transmitted, make receiving terminal to the group after coding
Close vedio data, be decoded using video encoding standard h264, mpeg4 or mpeg2, obtain the second predetermined yuv form
View data;Then the view data of the second predetermined yuv form is split as the first predetermined yuv formatted data and Alpha is led to
Track data;Again the first predetermined yuv formatted data is converted to rgb color data;Finally by rgb color data and alpha channel
Data combines.
Specifically, in conjunction with shown in Figure 10, in decoding end, the coding/decoding method of the vedio data of the present embodiment, comprising:
Step 901, obtains the composite video view data after coding.
Wherein, described composite video view data obtains according to the rgb color data of video image and alpha-channel data
Take, in described composite video view data, include yuv data and alpha-channel data, described composite video image before coding
Data is the second predetermined yuv form.
Before encoding, coding side obtains rgb color data and the alpha-channel data of video image, can be by video image
Rgb color data be converted to the first predetermined yuv formatted data, such as yuv420 or yuv422 formatted data;Pre- by first again
Determine yuv formatted data and alpha-channel data according to the second predetermined yuv form, such as yuv444 form, be combined, obtain the
The composite video view data of two predetermined yuv forms;Then composite video view data is encoded.Here, obtain coding
Composite video view data afterwards.
Step 902, the view data that described composite video image data decoding is the described second predetermined yuv form.
Here, the composite video view data after coding is decoded as first the view data of the second predetermined yuv form, such as
The view data of yuv444 form.
Step 903, the view data of the described second predetermined yuv form is split as the first predetermined yuv formatted data and Ah
That method channel data.
Here, the view data of the second predetermined yuv form comprises the first predetermined yuv formatted data and alpha channel number
According to the view data of the second predetermined yuv form being split, is obtained the first predetermined yuv formatted data and alpha channel number
According to.
Step 904, the described first predetermined yuv formatted data is converted to rgb color data.
Here, according to color transfer standard, the first predetermined yuv formatted data is converted to rgb color data.
Step 905, combines described rgb color data and described alpha-channel data.
Here, the rgb obtaining color data and alpha-channel data a are combined, obtain video image rgba.
The coding/decoding method of the vedio data of the present embodiment, can lead to comprise color data and the Alpha after coding
The composite video image data decoding of track data, obtains the video image comprising alpha channel so that not needing list when encoding
Solely to alpha channel coding it is ensured that image and the corresponding relation of alpha channel, reduce system complexity, be more easy to reality
Existing, and can be using the various ways of intraframe coding and interframe encode.Solve and need in prior art to alpha channel list
Solely encode, increased system complexity it is impossible to ensure the corresponding relation of image and alpha channel, and code check is asked than larger
Topic.
As a kind of preferred implementation, described first predetermined yuv form is yuv420 form, and described second makes a reservation for
Yuv form is yuv444 form.
A width of w of described video image, a height of h.
Described rgb color data includes w*h r component, w*h g component and w*h b component, described alpha channel number
It is w*h according to size.
The color data of described yuv420 form includes w*h y-component, and (w*h)/4 u component and (w*h)/4 v divide
Amount.
The composite video view data size of described yuv444 form is 3*w*h.
The data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are the number of w*h
According in block:
1 data block fills described y-component, and another 1 data block fills described alpha-channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Further, fill described u component and the data block of v component includes 4 sub-blocks, each described sub-block
Width is w/2, and height is h/2, and wherein, 1 described sub-block fills described u component, and another 1 described sub-block fills institute
State v component, sub-block described in another two fills first group of predetermined filling data and second group of predetermined filling data respectively.
Wherein, described first group of predetermined filling data and second group of predetermined filling data can be full 0 data.
By described y-component, u component, v component, first group of predetermined filling data m1, second group of predetermined filling data m2 and Ah
Your method channel data a, fills to the data space of yuv444 form, obtain yuv444 formatted data mode have multiple.As can
Using Fig. 4-9 arbitrary shown by the way of, other modes certainly may also be employed.
The step of above-mentioned steps 903 includes:
Step 9031, extracts w*h y-component from the view data of yuv444 form, (w*h)/4 u component, (w*
H)/4 v components and the alpha-channel data of w*h size, and described y-component, u component and v component combination are yuv420 lattice
Formula.
Here, y-component, u component, v can be extracted respectively according to the mode of data filling in the data space of yuv444 form
Component and alpha-channel data.
For example, for the mode shown in Fig. 4, can be in the data block of the 3 of yuv444 form w*h: from the 1st data block
Middle extraction y-component;From the 2nd data block, according to from left to right, order from top to bottom extracts u component, v component successively;From
Alpha-channel data a is extracted in 3rd data block.
Now, extract y, u, v component and alpha-channel data from the view data of yuv444 form, and by y, u,
V component combination be yuv420 form after, yuv420 formatted data can be converted to rgb color data, then with alpha channel
Data combines, and has just obtained the video image with alpha channel.
As another kind of preferably implementation, described first predetermined yuv form is yuv422 form, and described second makes a reservation for
Yuv form is yuv444 form.
A width of w of described video image, a height of h.
Described rgb color data includes w*h r component, w*h g component and w*h b component, described alpha channel number
It is w*h according to size.
The color data of described yuv422 form includes w*h y-component, and (w*h)/2 u component and (w*h)/2 v divide
Amount.
The composite video view data size of described yuv444 form is 3*w*h.
The data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are the number of w*h
According in block:
1 data block fills described y-component, and another 1 data block fills described alpha-channel data, another 1 data block
Fill described u component and v component.
Further, fill described u component and the data block of v component includes 2 sub-blocks, each described sub-block
Width is w, and height is h/2 or each described sub-block width is w/2, and height is h, and wherein, 1 described sub-block is filled out
Fill described u component, another 1 described sub-block fills described v component.
The step of above-mentioned steps 903 includes:
Step 9032, extracts w*h y-component from the view data of yuv444 form, (w*h)/2 u component and (w*
H)/2 v components and the alpha-channel data of w*h size, and described y-component, u component and v component combination are yuv422 lattice
Formula.
Here, y-component, u component, v can be extracted respectively according to the mode of data filling in the data space of yuv444 form
Component and alpha-channel data.
Now, extract y, u, v component and alpha-channel data from the view data of yuv444 form, and by y, u,
V component combination be yuv422 form after, yuv422 formatted data can be converted to rgb color data, then with alpha channel
Data combines, and has just obtained the video image with alpha channel.
Preferably, the step of above-mentioned steps 902 includes:
Step 9021, using video encoding standard h264, mpeg4 or mpeg2 to the composite video view data after coding
It is decoded, obtain the view data of the second predetermined yuv form.
Now, decoder need not be transformed, to the composite video view data after coding, using video encoding standard
H264, mpeg4 or mpeg2 are decoded.
The coding/decoding method of the vedio data of the present embodiment, can lead to comprise color data and the Alpha after coding
The composite video image data decoding of track data, obtains the video image comprising alpha channel so that not needing list when encoding
Solely to alpha channel coding it is ensured that image and the corresponding relation of alpha channel, reduce system complexity, be more easy to reality
Existing, and can be using the various ways of intraframe coding and interframe encode.Solve and need in prior art to alpha channel list
Solely encode, increased system complexity it is impossible to ensure the corresponding relation of image and alpha channel, and code check is asked than larger
Topic.
Coded method to the vedio data of the embodiment of the present invention below and a concrete application flow process of coding/decoding method
It is illustrated below.
It is assumed that in net cast, gathering the video image of personage first, and using scratching nomography, increasing Alpha and leading to
Road, obtains the video image with alpha channel.Then apply the coded method of the embodiment of the present invention, obtain video figure first
The rgb color data of picture and alpha-channel data;Again rgb color data is converted to yuv420 formatted data;Then will
Yuv420 formatted data and alpha-channel data are combined according to yuv444 form, obtain the composite video of yuv444 form
View data;Finally the composite video view data to yuv444 form, is encoded using video encoding standard h264.
Composite video view data after coding is transmitted, makes receiving terminal to the composite video picture number after coding
According to being decoded using video encoding standard h264, obtain the view data of yuv444 form;Then by the figure of yuv444 form
As data is split as yuv420 formatted data and alpha-channel data;Again yuv420 formatted data is converted to rgb number of colours
According to;Finally rgb color data is combined with alpha-channel data, obtain video image.Afterwards can be by video image and local
Virtual scene is merged.
Fourth embodiment
In the present embodiment, the first format sample is the first predetermined yuv formatted data, and not color channel data example is A Er
Method channel data, that is, the view data of the video image that coding side obtains includes the first predetermined yuv formatted data and Alpha is led to
Track data, the second form be the second predetermined yuv form, in the present embodiment, coding side can by the first predetermined yuv formatted data and Ah
You are directly combined according to the second predetermined yuv form method channel data, form the combined image data of the second predetermined yuv form
After encoded.
First predetermined yuv form, for example, yuv420 form or yuv422 form.
Second predetermined yuv formatted data, such as yuv444 form.
Compared with 3rd embodiment, due to accessed data directly be the first predetermined yuv form, so do not need into
The conversion of row data, is directly combined.In addition to the process of conversion, anabolic process is identical with aforementioned third embodiment,
Refer to aforementioned third embodiment, repeat no more here.
5th embodiment
Corresponding with the embodiment of the method shown in Fig. 1, the embodiment of the present invention also provides a kind of coding of vedio data
Device, in conjunction with shown in Figure 11, the code device of the vedio data of the embodiment of the present invention, comprising:
First acquisition module 110, for obtaining the view data of video image, described image data includes the first form number
According to not color channel data;
First composite module 111, for being combined to described first formatted data and not color channel data processing, obtains
Take the combined image data of the second form;
Coding module 112, for encoding to the combined image data of described second form.
Optionally, in one embodiment, the first composite module 111 is used for:
Described first formatted data and not color channel data are combined according to the second form, thus by described first
Formatted data and not color channel data are combined as the combined image data of the second form;
Optionally, in one embodiment, the first composite module 111 is used for:
Described first formatted data is converted to intermediate format data, described intermediate format data is led to described not color
Track data is combined according to the second form, thus described intermediate format data and not color channel data are combined as the second lattice
The combined image data of formula.
Specifically, in one embodiment:
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
First composite module 111 is used for:
Y-component, u component and v component is obtained from the data of described yuv420 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Specifically, in one embodiment:
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
First composite module 111 is used for:
Y-component, u component and v component is obtained from the data of described yuv422 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component.
Specifically, in one embodiment:
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/4 u component and w*h/4 v component;
The combined image data size of described yuv444 form is 3*w*h;
First composite module 111 is used for:
Y-component, u component and v component is obtained from the data of described yuv420 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
Specifically, in one embodiment:
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/2 u component and w*h/2 v component;
The combined image data size of described yuv444 form is 3*w*h;
First composite module 111 is used for:
Y-component, u component and v component is obtained from the data of described yuv422 form;
Fill described y-component, u component, v component and not color channel data to the data space of yuv444 form,
Obtain the combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*
In the data block of h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component.
Optionally, coding module 112 is used for:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data of described second form is compiled
Code.
The code device of the vedio data of the embodiment of the present invention, obtains the view data of video image first,
Described image data includes the first formatted data and not color channel data;To described first formatted data and not color port number
According to being combined processing, obtain the combined image data of the second form.This coded method encodes to combined image data, no
Need individually to not color passage, such as alpha channel coding, and ensure that the first formatted data and not color port number
According to corresponding relation, reduce system complexity, be more easy to realize, and can be using multiple sides of intraframe coding and interframe encode
Formula, solve need in prior art separately encoded to alpha channel, increased system complexity it is impossible to ensure color data
With the corresponding relation of alpha channel, and code check is than larger problem.
It should be noted that the code device of this vedio data is the coded method phase with above-mentioned vedio data
In corresponding device, wherein said method embodiment, all implementations, all be applied to the embodiment of this device, also can reach
Same technique effect.
Sixth embodiment
Corresponding with the embodiment of the method shown in Fig. 2, the embodiment of the present invention also provides a kind of decoding of vedio data
Device, in conjunction with shown in Figure 12, the decoding apparatus of the vedio data of the embodiment of the present invention, comprising:
Second acquisition module 120, for obtaining the combined image data after coding, coding side obtains the image of video image
Data, described image data includes the first formatted data and not color channel data, to described first formatted data and not color
Channel data is combined processing, and obtains the combined image data of the second form, the combined image data to described second form
Encoded;
Decoder module 121, for being decoded as the combination image number of the second form by the combined image data after described coding
According to;
Split module 122, for the combined image data of described second form is split as the first formatted data and non-face
Chrominance channel data.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Split module 122 to be used for:
The combined image data of described second form is split as the first formatted data according to described second format combination
With not color channel data;
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Split module 122 to be used for:
The combined image data of described second form is split as the intermediate format data according to described second format combination
With not color channel data;
Described intermediate format data is converted to described first formatted data.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Split module 122 to be used for:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv420 form.
Optionally, in one embodiment:
The combination that described first formatted data and not color channel data are described second form according to the second format combination
Data;
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component;
Split module 122 to be used for:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv422 form.
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Split module 122 to be used for:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv420 form.
Optionally, in one embodiment:
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data
The data splitting being described second form according to the second format combination;
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 lattice
Formula;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, described not color port number
It is w*h according to size;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h
Individual y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block
Fill described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Split module 122 to be used for:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and
The not color channel data of w*h size, and described y-component, u component and v component combination are yuv422 form.
Optionally, described decoder module 121 is used for:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data after described coding is decoded as second
The combined image data of form.
The decoding apparatus of the vedio data of the embodiment of the present invention, can decode simultaneously to the combined image data after coding
First formatted data and not color channel data are splitted out so that not needing when encoding individually not needing individually to not color
Passage, such as alpha channel encode, and ensure that the corresponding relation of the first formatted data and not color channel data, reduce
System complexity, is more easy to realize, and can be using the various ways of intraframe coding and interframe encode.Solve prior art
In, it is that image later stage fusion etc. is processed, color data and the situation of alpha-channel data need to be transmitted, need to alpha channel
Separately encoded, increased system complexity it is impossible to ensure the corresponding relation of image and alpha channel, and code check is asked than larger
Topic.
It should be noted that the decoding apparatus of this vedio data are the coding/decoding method phases with above-mentioned vedio data
In corresponding device, wherein said method embodiment, all implementations, all be applied to the embodiment of this device, also can reach
Same technique effect.
In the embodiment of the present invention, module can be realized with software, so that by various types of computing devices.Citing comes
Say, the executable code module of a mark can include one or more physics or the logical block of computer instruction, citing
For, it can be built as object, process or function.Even so, the executable code of institute's mark module is without physically
It is located together, but the different instruction being stored in different positions can be included, when being combined together in these command logics
When, its regulation purpose constituting module and realizing this module.
In fact, executable code module can be individual instructions or many bar instructions, and even can be distributed
On multiple different code segments, it is distributed in the middle of distinct program, and cross over multiple memory devices distributions.Similarly, grasp
Make data to be identified in module, and can realize according to any suitable form and be organized in any suitable class
In the data structure of type.Described peration data can be collected as individual data collection, or can be distributed on diverse location
(including in different storage device), and electronic signal can be only used as at least in part be present on system or network.
When module can be realized using software it is contemplated that the level of existing hardware technique is it is possible to implemented in software
Module, in the case of not considering cost, those skilled in the art can build corresponding hardware circuit come to realize correspond to
Function, described hardware circuit include routine ultra-large integrated (vlsi) circuit or gate array and such as logic core
The existing quasiconductor of piece, transistor etc or other discrete element.Module can also use programmable hardware device, such as
Field programmable gate array, programmable logic array, programmable logic device etc. are realized.
In various embodiments of the present invention it should be appreciated that the size of the sequence number of above-mentioned each process be not meant to execute suitable
The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, and should not be to the enforcement of the embodiment of the present invention
Process constitutes any restriction.
The above is the preferred embodiment of the present invention it is noted that for those skilled in the art
For, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, these improvements and modifications
Should be regarded as protection scope of the present invention.
Claims (33)
1. a kind of coded method of vedio data is it is characterised in that include:
Obtain the view data of video image, described image data includes the first formatted data and not color channel data;
Described first formatted data and not color channel data are combined process, obtain the combination image number of the second form
According to;
The combined image data of described second form is encoded.
2. coded method according to claim 1 it is characterised in that
The described combination image described first formatted data and not color channel data being combined with process, obtaining the second form
Data includes:
Described first formatted data and not color channel data are combined according to the second form, thus by described first form
Data and not color channel data are combined as the combined image data of the second form;
Or
Described first formatted data is converted to intermediate format data, by described intermediate format data and described not color port number
It is combined according to according to the second form, thus described intermediate format data and not color channel data are combined as the second form
Combined image data.
3. coded method according to claim 2 it is characterised in that
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described described first formatted data and not color channel data are combined according to the second form, thus by described first
The combined image data that formatted data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv420 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of the combined image data of described yuv444 form include 3 sizes be w*h data block, described 3
Individual size is in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
4. coded method according to claim 2 it is characterised in that
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described described first formatted data and not color channel data are combined according to the second form, thus by described first
The combined image data that formatted data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv422 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component.
5. coded method according to claim 2 it is characterised in that
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/4 u component and w*h/4 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described described intermediate format data is combined according to the second form with described not color channel data, thus will be described
The step of the combined image data that intermediate format data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv420 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
6. coded method according to claim 2 it is characterised in that
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/2 u component and w*h/2 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described described intermediate format data is combined according to the second form with described not color channel data, thus will be described
The step of the combined image data that intermediate format data and not color channel data are combined as the second form includes:
Y-component, u component and v component is obtained from the data of described yuv422 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component.
7. the coded method according to claim 3 or 5 is it is characterised in that fill the data block of described u component and v component
Including 4 sub-blocks, each described sub-block width is w/2, and height is h/2, wherein, 1 described sub-block filling
Described u component, another 1 described sub-block fills described v component, and another 2 described sub-blocks are filled first group respectively and made a reservation for
Filling data and second group of predetermined filling data.
8. the coded method according to claim 3 or 5 is it is characterised in that described predetermined filling data is full 0 data.
9. the coded method according to claim 4 or 6 is it is characterised in that fill the data block of described u component and v component
Including 2 sub-blocks, each described sub-block width is w, and height is h/2 or each described sub-block width is w/
2, height is h, and wherein, 1 described sub-block fills described u component, and another 1 described sub-block fills described v component.
10. the coded method according to any one of claim 1 to 6 is it is characterised in that described not color channel data is Ah
That method channel data.
11. coded methods according to any one of claim 1 to 6 are it is characterised in that the described group to described second form
The step that conjunction view data is encoded includes:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data of described second form is encoded.
A kind of 12. code devices of vedio data are it is characterised in that include:
First acquisition module, for obtaining the view data of video image, described image data includes the first formatted data and non-
Color channel data;
First composite module, for being combined to described first formatted data and not color channel data processing, obtains second
The combined image data of form;
Coding module, for encoding to the combined image data of described second form.
13. code devices according to claim 12 are it is characterised in that described first composite module is used for:
Described first formatted data and not color channel data are combined according to the second form, thus by described first form
Data and not color channel data are combined as the combined image data of the second form;
Or
Described first formatted data is converted to intermediate format data, by described intermediate format data and described not color port number
It is combined according to according to the second form, thus described intermediate format data and not color channel data are combined as the second form
Combined image data.
14. code devices according to claim 13 it is characterised in that
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv420 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
15. code device according to claim 13 it is characterised in that
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv422 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component.
16. code device according to claim 13 it is characterised in that
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/4 u component and w*h/4 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv420 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data.
17. code device according to claim 13 it is characterised in that
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/2 u component and w*h/2 v component;
The combined image data size of described yuv444 form is 3*w*h;
Described first composite module is used for:
Y-component, u component and v component is obtained from the data of described yuv422 form;
By described y-component, u component, v component and not color channel data, fill to the data space of yuv444 form, obtain
The combined image data of yuv444 form;
Wherein, the data space of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 sizes are w*h's
In data block:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component.
18. code devices according to any one of claim 12 to 17 are it is characterised in that described coding module is used for:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data of described second form is encoded.
A kind of 19. coding/decoding methods of vedio data are it is characterised in that include:
Obtain the combined image data after coding, coding side obtains the view data of video image, described image data includes the
One formatted data and not color channel data, are combined to described first formatted data and not color channel data processing, obtain
Take the combined image data of the second form, the combined image data of described second form is encoded;
Combination image after described coding is decoded as the combined image data of the second form;
The combined image data of described second form is split as the first formatted data and not color channel data.
20. coding/decoding methods according to claim 19 it is characterised in that
The data splitting that described first formatted data and not color channel data are described second form according to the second format combination;
The described combined image data by described second form is split as the first formatted data and not color channel data includes:
The combined image data of described second form is split as according to the first formatted data of described second format combination and non-
Color channel data;
Or,
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data according to
Second format combination is the data splitting of described second form;
The described combined image data by described second form is split as the first formatted data and not color channel data includes:
The combined image data of described second form is split as according to the intermediate format data of described second format combination and non-
Color channel data;
Described intermediate format data is converted to described first formatted data.
21. coding/decoding methods according to claim 20 it is characterised in that
The data splitting that described first formatted data and not color channel data are described second form according to the second format combination;
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
The described combined image data by described second form is split as the first formatted data according to described second format combination
Include with not color channel data:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv420 form.
22. coding/decoding methods according to claim 20 it is characterised in that
The data splitting that described first formatted data and not color channel data are described second form according to the second format combination;
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component;
The described combined image data by described second form is split as the first formatted data according to described second format combination
Include with not color channel data:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv422 form.
23. coding/decoding methods according to claim 20 it is characterised in that
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data according to
Second format combination is the data splitting of described second form;
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
The described combined image data by described second form is split as the intermediate format data according to described second format combination
Include with not color channel data:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv420 form.
24. coding/decoding methods according to claim 20 it is characterised in that
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data according to
Second format combination is the data splitting of described second form;
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
The described combined image data by described second form is split as the intermediate format data according to described second format combination
Include with not color channel data:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv422 form.
25. coding/decoding methods according to any one of claim 19 to 24 are it is characterised in that described not color channel data is
Alpha-channel data.
26. coding/decoding methods according to any one of claim 19 to 24 it is characterised in that described by the group after described coding
The step closing the combined image data that image data decoding is the second form includes:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data after described coding is decoded as the second form
Combined image data.
A kind of 27. decoding apparatus of vedio data are it is characterised in that include:
Second acquisition module, for obtaining the combined image data after coding, coding side obtains the view data of video image, institute
State view data and include the first formatted data and not color channel data, to described first formatted data and not color channel data
It is combined processing, obtain the combined image data of the second form, the combined image data of described second form is encoded;
Decoder module, for being decoded as the combined image data of the second form by the combined image data after described coding;
Split module, for the combined image data of described second form is split as the first formatted data and not color port number
According to.
28. decoding apparatus according to claim 27 it is characterised in that
The data splitting that described first formatted data and not color channel data are described second form according to the second format combination;
Described fractionation module is used for:
The combined image data of described second form is split as according to the first formatted data of described second format combination and non-
Color channel data;
Or,
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data according to
Second format combination is the data splitting of described second form;
Described fractionation module is used for:
The combined image data of described second form is split as according to the intermediate format data of described second format combination and non-
Color channel data;
Described intermediate format data is converted to described first formatted data.
29. decoding apparatus according to claim 28 it is characterised in that
The data splitting that described first formatted data and not color channel data are described second form according to the second format combination;
Described first form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv420 form includes w*h y-component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv420 form.
30. decoding apparatus according to claim 28 it is characterised in that
The data splitting that described first formatted data and not color channel data are described second form according to the second format combination;
Described first form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
The data of described yuv422 form includes w*h y-component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv422 form.
31. decoding apparatus according to claim 28 it is characterised in that
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data according to
Second format combination is the data splitting of described second form;
Described first form is rgb form, and described intermediate form is yuv420 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv420 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/4 u component and w*h/4 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/4 u component, w*h/4 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv420 form.
32. decoding apparatus according to claim 28 it is characterised in that
After described first formatted data is converted to intermediate format data, intermediate format data and described not color channel data according to
Second format combination is the data splitting of described second form;
Described first form is rgb form, and described intermediate form is yuv422 form, and described second form is yuv444 form;
A width of w of described video image, a height of h;
Described rgb formatted data includes w*h r component, w*h g component and w*h b component, and described not color channel data is big
Little for w*h;
Described rgb formatted data is converted to after described yuv422 formatted data, described yuv420 formatted data includes w*h y
Component, w*h/2 u component and w*h/2 v component;
Described not color channel data size is w*h;
The combined image data size of described yuv444 form is 3*w*h;
The data space of the combined image data of described yuv444 form includes the data block that 3 sizes are w*h, and described 3 big
Little in the data block of w*h:
1 data block fills described y-component, and another 1 data block fills described not color channel data, another 1 data block filling
Described u component and v component, the remaining space after described data block fills u component and v component fills predetermined filling data;
Described fractionation module is used for:
Extract w*h y-component from the view data of yuv444 form, w*h/2 u component, w*h/2 v component and w*h big
Little not color channel data, and described y-component, u component and v component combination are yuv422 form.
33. decoding apparatus according to any one of claim 27 to 32 are it is characterised in that described decoder module is used for:
Using video encoding standard h264, mpeg4 or mpeg2, the combined image data after described coding is decoded as the second form
Combined image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797670.XA CN106375759B (en) | 2016-08-31 | 2016-08-31 | A kind of coding and decoding method and device of vedio data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797670.XA CN106375759B (en) | 2016-08-31 | 2016-08-31 | A kind of coding and decoding method and device of vedio data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375759A true CN106375759A (en) | 2017-02-01 |
CN106375759B CN106375759B (en) | 2018-03-02 |
Family
ID=57899354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610797670.XA Active CN106375759B (en) | 2016-08-31 | 2016-08-31 | A kind of coding and decoding method and device of vedio data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375759B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107071516A (en) * | 2017-04-08 | 2017-08-18 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method |
CN107770509A (en) * | 2017-10-25 | 2018-03-06 | 上海觉感视觉科技有限公司 | Pass through the method and device of YUV channel transfer MONO format-patterns |
CN108307163A (en) * | 2018-02-07 | 2018-07-20 | 重庆虚拟实境科技有限公司 | Image processing method and device, computer installation and readable storage medium storing program for executing |
CN108471536A (en) * | 2018-03-14 | 2018-08-31 | 重庆虚拟实境科技有限公司 | Alpha channel transmission methods and device, terminal installation and storage medium |
CN108668169A (en) * | 2018-06-01 | 2018-10-16 | 北京市商汤科技开发有限公司 | Image information processing method and device, storage medium |
CN108668170A (en) * | 2018-06-01 | 2018-10-16 | 北京市商汤科技开发有限公司 | Image information processing method and device, storage medium |
WO2018205878A1 (en) * | 2017-05-11 | 2018-11-15 | 腾讯科技(深圳)有限公司 | Method for transmitting video information, terminal, server and storage medium |
CN108989807A (en) * | 2017-06-03 | 2018-12-11 | 上海天荷电子信息有限公司 | Each component uses the data compression method and device of respective corresponding data array format |
CN109005426A (en) * | 2017-04-08 | 2018-12-14 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method |
CN109951715A (en) * | 2019-02-25 | 2019-06-28 | 北京新兴东方航空装备股份有限公司 | It is a kind of based on YUV444 image coding/decoding method H.264 |
CN110012294A (en) * | 2019-04-02 | 2019-07-12 | 上海工程技术大学 | A kind of coding method and coding/decoding method for multi -components video |
CN112653905A (en) * | 2019-10-12 | 2021-04-13 | 腾讯数码(天津)有限公司 | Image processing method, device, equipment and storage medium |
CN113613008A (en) * | 2021-08-20 | 2021-11-05 | 百果园技术(新加坡)有限公司 | Video encoding and decoding method and device, electronic equipment and storage medium |
CN113994708A (en) * | 2020-05-28 | 2022-01-28 | 深圳市大疆创新科技有限公司 | Encoding method, decoding method, device and system |
CN114827620A (en) * | 2022-07-01 | 2022-07-29 | 深圳市东微智能科技股份有限公司 | Image processing method, apparatus, device and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742317A (en) * | 2009-12-31 | 2010-06-16 | 北京中科大洋科技发展股份有限公司 | Video compressing and encoding method with alpha transparent channel |
CN102036059A (en) * | 2009-09-25 | 2011-04-27 | 腾讯科技(深圳)有限公司 | Method, device and system for compressing and decompressing transparent images |
CN103391435A (en) * | 2013-07-02 | 2013-11-13 | 广东工业大学 | Coding method for high dynamic range (HDR) image compatible with low dynamic range (LDR) and decoding method thereof |
US20150074735A1 (en) * | 2013-09-06 | 2015-03-12 | Seespace Ltd. | Method and Apparatus for Rendering Video Content Including Secondary Digital Content |
CN105306941A (en) * | 2015-11-12 | 2016-02-03 | 贺新 | Video coding method |
-
2016
- 2016-08-31 CN CN201610797670.XA patent/CN106375759B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036059A (en) * | 2009-09-25 | 2011-04-27 | 腾讯科技(深圳)有限公司 | Method, device and system for compressing and decompressing transparent images |
CN101742317A (en) * | 2009-12-31 | 2010-06-16 | 北京中科大洋科技发展股份有限公司 | Video compressing and encoding method with alpha transparent channel |
CN103391435A (en) * | 2013-07-02 | 2013-11-13 | 广东工业大学 | Coding method for high dynamic range (HDR) image compatible with low dynamic range (LDR) and decoding method thereof |
US20150074735A1 (en) * | 2013-09-06 | 2015-03-12 | Seespace Ltd. | Method and Apparatus for Rendering Video Content Including Secondary Digital Content |
CN105306941A (en) * | 2015-11-12 | 2016-02-03 | 贺新 | Video coding method |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005426A (en) * | 2017-04-08 | 2018-12-14 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method |
CN109005426B (en) * | 2017-04-08 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Picture file processing method |
CN109040789B (en) * | 2017-04-08 | 2021-05-28 | 腾讯科技(深圳)有限公司 | Picture file processing method |
CN109040789A (en) * | 2017-04-08 | 2018-12-18 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method |
WO2018184464A1 (en) * | 2017-04-08 | 2018-10-11 | 腾讯科技(深圳)有限公司 | Picture file processing method and device, and storage medium |
CN107071516A (en) * | 2017-04-08 | 2017-08-18 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method |
CN108881920B (en) * | 2017-05-11 | 2022-06-10 | 腾讯科技(深圳)有限公司 | Method, terminal and server for transmitting video information |
WO2018205878A1 (en) * | 2017-05-11 | 2018-11-15 | 腾讯科技(深圳)有限公司 | Method for transmitting video information, terminal, server and storage medium |
CN108881920A (en) * | 2017-05-11 | 2018-11-23 | 腾讯科技(深圳)有限公司 | A kind of method of transmission of video information, terminal and server |
CN108989807A (en) * | 2017-06-03 | 2018-12-11 | 上海天荷电子信息有限公司 | Each component uses the data compression method and device of respective corresponding data array format |
CN107770509A (en) * | 2017-10-25 | 2018-03-06 | 上海觉感视觉科技有限公司 | Pass through the method and device of YUV channel transfer MONO format-patterns |
CN108307163A (en) * | 2018-02-07 | 2018-07-20 | 重庆虚拟实境科技有限公司 | Image processing method and device, computer installation and readable storage medium storing program for executing |
CN108307163B (en) * | 2018-02-07 | 2019-11-19 | 重庆虚拟实境科技有限公司 | Image processing method and device, computer installation and readable storage medium storing program for executing |
CN108471536B (en) * | 2018-03-14 | 2021-04-06 | 重庆虚拟实境科技有限公司 | Alpha channel transmission method and device, terminal device and storage medium |
CN108471536A (en) * | 2018-03-14 | 2018-08-31 | 重庆虚拟实境科技有限公司 | Alpha channel transmission methods and device, terminal installation and storage medium |
CN108668170A (en) * | 2018-06-01 | 2018-10-16 | 北京市商汤科技开发有限公司 | Image information processing method and device, storage medium |
CN108668170B (en) * | 2018-06-01 | 2021-07-02 | 北京市商汤科技开发有限公司 | Image information processing method and device, and storage medium |
CN108668169B (en) * | 2018-06-01 | 2021-10-29 | 北京市商汤科技开发有限公司 | Image information processing method and device, and storage medium |
CN108668169A (en) * | 2018-06-01 | 2018-10-16 | 北京市商汤科技开发有限公司 | Image information processing method and device, storage medium |
CN109951715B (en) * | 2019-02-25 | 2020-09-22 | 北京新兴东方航空装备股份有限公司 | H.264-based YUV444 image coding and decoding method |
CN109951715A (en) * | 2019-02-25 | 2019-06-28 | 北京新兴东方航空装备股份有限公司 | It is a kind of based on YUV444 image coding/decoding method H.264 |
CN110012294A (en) * | 2019-04-02 | 2019-07-12 | 上海工程技术大学 | A kind of coding method and coding/decoding method for multi -components video |
CN112653905A (en) * | 2019-10-12 | 2021-04-13 | 腾讯数码(天津)有限公司 | Image processing method, device, equipment and storage medium |
CN113994708A (en) * | 2020-05-28 | 2022-01-28 | 深圳市大疆创新科技有限公司 | Encoding method, decoding method, device and system |
CN113613008A (en) * | 2021-08-20 | 2021-11-05 | 百果园技术(新加坡)有限公司 | Video encoding and decoding method and device, electronic equipment and storage medium |
CN114827620A (en) * | 2022-07-01 | 2022-07-29 | 深圳市东微智能科技股份有限公司 | Image processing method, apparatus, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN106375759B (en) | 2018-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106375759B (en) | A kind of coding and decoding method and device of vedio data | |
US11871011B2 (en) | Efficient lossless compression of captured raw image information systems and methods | |
CN106658019B (en) | The method and apparatus of reference frame encoding and decoding | |
CN105432082B (en) | Kinematic constraint segment set for region of interest coding | |
CN104919802B (en) | Non-nested formula supplemental enhancement information message in video coding | |
CN102804773B (en) | In 2 systems of MPEG, combination multi-angle video decodes sub- bit stream | |
CN108028944A (en) | Use the Video Decoder accordance of the high dynamic range HDR video codings of video core standard | |
CN103220531B (en) | Picture information decoding equipment and method, picture signal encoding apparatus and method | |
CN105191304B (en) | Image encoding method and device and relevant picture decoding method and device according to pixel data execution position flat scanning coding | |
CN106031168B (en) | Self-adaptive processing with the video flowing for reducing color-resolution | |
CN108028940A (en) | The limitation of escape pixel signal values in pallet mode video coding | |
US20170155899A1 (en) | Image compression method and apparatus using matching | |
CN107211139A (en) | The decoding escape pixel decoded for palette | |
CN109155877A (en) | The sequence ends and bit stream in separated file rail terminate network abstract layer (NAL) unit | |
CN106464936A (en) | Method and device for decoding multi-layer video data by determining the processing core of the decoder based on partition containing one or more layers | |
CN106105220A (en) | Method and apparatus for video coding and decoding | |
CN110691250B (en) | Image compression apparatus combining block matching and string matching | |
CN106063287A (en) | Carriage of HEVC extension bitstreams and buffer model with MPEG-2 systems | |
CN103686173B (en) | Conversion and inverse transform circuit | |
CN103957412B (en) | Base color and index map algorithm for correcting inter-frame residual errors of screen video | |
CN107547907A (en) | The method and apparatus of encoding and decoding | |
CN101569204A (en) | Device for encoding video data, device for decoding video data, stream of digital data | |
CN106797482A (en) | The explicit signaling of escape sample in the palette decoding mode for video coding | |
CN107409212A (en) | The gradual renewal using conversion coefficient for coding and decoding | |
CN109246430A (en) | 360 degree of video fast intra-mode predictions of virtual reality and CU, which are divided, shifts to an earlier date decision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |