CN105763826A - Video data input method, video data output method, video data input device, and video data output device - Google Patents
Video data input method, video data output method, video data input device, and video data output device Download PDFInfo
- Publication number
- CN105763826A CN105763826A CN201610096797.9A CN201610096797A CN105763826A CN 105763826 A CN105763826 A CN 105763826A CN 201610096797 A CN201610096797 A CN 201610096797A CN 105763826 A CN105763826 A CN 105763826A
- Authority
- CN
- China
- Prior art keywords
- pixel
- pixel value
- packet
- output
- output pixel
- 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
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000007906 compression Methods 0.000 claims abstract description 21
- 230000006835 compression Effects 0.000 claims abstract description 20
- 238000012805 post-processing Methods 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 17
- 238000005520 cutting process Methods 0.000 claims description 16
- 238000000605 extraction Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 35
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 7
- 230000006837 decompression Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 239000007891 compressed tablet Substances 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
-
- 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/103—Selection of coding mode or of prediction mode
-
- 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/17—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 an image region, e.g. an object
- H04N19/176—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 an image region, e.g. an object the region being a block, e.g. a macroblock
-
- 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
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0117—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0125—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
An embodiment of the invention provides a video data input method comprising the following steps: acquiring to-be-processed video frame data; segmenting the to-be-processed video frame data into multiple independent to-be-compressed blocks; compressing each to-be-compressed block to generate a compressed code stream; judging whether the length of each compressed code stream is smaller than or equal to the that of a preset compressed code stream; when each compressed code stream is greater than the preset compressed code stream, dividing the pixels of the corresponding to-be-compressed block into a first group of pixels and a second group of pixels according to the interval; for the first group of pixels, intercepting the digit number of a high-digit preset interception value in the original pixel values of the pixels as a first output pixel value of the pixels; and for the second group of pixels, generating a second output pixel value according to the first output pixel value of the adjacent first group of pixels. According to the embodiment of the invention, the sum of the first output pixel value and the second output pixel value can be smaller than or equal to the preset compressed code stream by adjusting the interception value, and therefore, the requirement of compression ratio is satisfied.
Description
Present patent application is the applying date, and to be on January 7th, 2016, application number be 2016100084326, name is called the divisional application of Chinese invention patent application of " a kind of video data handling procedure and device ".
Technical field
The application relates to technical field of video processing, particularly relates to a kind of video data input method, a kind of video data output intent, a kind of video data input equipment and a kind of video data outputting.
Background technology
In recent years, the subjective demand of high-quality visual enjoyment and the objective condition of semiconductor technology fast development have been collectively promoted the flourish of ultra high-definition television industries by people.But, due to the restriction of current transmission system bandwidth, ultra high-definition TV programme can only with relatively low frame per second transmission.Meanwhile, the refresh rate of large-screen display equipment has again bigger lifting, and video frame rate is lower than screen refresh rate, and this mismatch directly results in image and smear, pause, the phenomenon such as fuzzy occurs, and display effect is not good.Video frame rate upconversion technology is as important Video post-processing means, it is possible to the effective frame per second promoting display video, the display screen at high refresh rate lifts up the subjective quality of hi-vision.
Ultra high-definition video frame rate upconversion processes the image sequence that the input of system is one group of fixing frame per second, and after range of motion estimation, vector post processing and interpolating operations, its output is the image sequence of one group of higher frame per second.This causes that the reading and writing data throughput that ultra high-definition video frame rate upconversion processes kernel and off-chip buffer memory increases greatly.Wherein estimation, vector post processing and interpolating operations, it is necessary to read the pel data of a large amount of forward reference frame and backward reference frame from off-chip buffer memory;The interpolated image sequence that frame rate up-conversion produces, it is necessary to write off-chip buffer memory;Display output port needs that original sequence and frame rate up-conversion are produced image sequence and reads display on screen from off-chip buffer memory.
But, under current technological level, there is the limit in the speed of CMOS integrated circuit, and the lifting of memory access speed all the time lags behind logic circuit, and the bandwidth therefore storing access is the bottleneck of system for restricting performance;Meanwhile, the write of large-scale data reads the energy consumption also greatly improving system.
In order to solve bandwidth and energy consumption bottleneck, outer data cached the write more afterwards of compressed tablet is a kind of effective and feasible way.Just can meet compression ratio requirement it is said that in general, be compressed the image that image correlation is stronger processing, but when image correlation is more weak, compression ratio can not reach compression ratio requirement.
Summary of the invention
In view of the above problems, it is proposed that the embodiment of the present application is to provide a kind of and overcome the problems referred to above or solve a kind of video data input method of the problems referred to above, a kind of video data output intent, a kind of video data input equipment and a kind of video data outputting at least in part.
In order to solve the problems referred to above, the embodiment of the present application discloses a kind of video data input method, is applied to Video post-processing system, and described Video post-processing system includes compressed bit stream buffer memory, and described method includes:
Obtain the pending video requency frame data that described Video post-processing system provides;
It it is multiple independent to be compressed piece by described pending video requency frame data cutting;
It is compressed single to be compressed piece processing, generates compressed bit stream;
Judge that whether described compressed bit stream is less than or equal to default compressed bit stream length;
When described compressed bit stream is more than described default compressed bit stream, the pixel of described to be compressed piece is divided into by interval the first packet pixel and the second packet pixel;
It is grouped pixel to described first, intercepts the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, described first output pixel value is inputted described compressed bit stream buffer memory;
It is grouped pixel to described second, generates the second output pixel value according to the first output pixel value of the first adjacent packet pixel, described second output pixel value is inputted described compressed bit stream buffer memory.
Preferably, described to described second packet pixel, the step generating the second output pixel value according to the first output pixel value of the first adjacent packet pixel includes:
Being grouped pixel to described second, adopt the first output pixel value of the first adjacent packet pixel, generate predictive mode, described predictive mode passes through position coded representation;
Using predictive mode as second be grouped pixel the second output pixel value.
Preferably, the product of the number that total length is the first packet pixel and the described default intercepting numerical value of the first output pixel value of each the first packet pixel;
The product of the number that total length is the second packet pixel of the second output pixel value of each the second packet pixel and the figure place of institute's rheme coding;
The total length sum of the total length of the first output pixel value of each the first packet pixel described and the second output pixel value of each the second packet pixel described is less than or equal to described default compressed bit stream length.
Preferably, described predictive mode includes: adopt the first output pixel value of the first packet pixel in contiguous left side, and/or, first output pixel value of the first packet pixel on right side, and/or, first output pixel value of the first packet pixel of upside, and/or, the first output pixel value of the first packet pixel of downside is as predictive value.
Meanwhile, disclosed herein as well is a kind of video data output intent, be applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described method includes:
The first output pixel value of the first packet pixel and the second output pixel value of the second packet pixel is extracted from described compressed bit stream buffer memory;
Being grouped pixel to described first, the low level at the described first the first output pixel value being grouped pixel increases figure place, and as the first decompressed pixel values, the figure place of the first decompressed pixel values is identical with the figure place of original pixel value;
It is grouped pixel to described second, is determined the predictive mode of pixel by the described second the second output pixel value being grouped pixel;
Select the first decompressed pixel values of the first corresponding packet pixel as the second decompressed pixel values by predictive mode.
Meanwhile, disclosed herein as well is a kind of video data input equipment, be applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described device includes:
Acquisition module, for obtaining the pending video requency frame data that described Video post-processing system provides;
Cutting module, for being multiple independent to be compressed piece by described pending video requency frame data cutting;
Compression module, for being compressed single to be compressed piece processing, generates compressed bit stream;
Judge module, is used for judging that whether described compressed bit stream is less than or equal to default compressed bit stream length;
Grouping module, for when described compressed bit stream is more than described default compressed bit stream, being divided into the first packet pixel and the second packet pixel by the pixel of described to be compressed piece by interval;
First output pixel value generation module, for being grouped pixel to described first, intercept the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, described first output pixel value is inputted described compressed bit stream buffer memory;
Second output pixel value generation module, for being grouped pixel to described second, generates the second output pixel value according to the first output pixel value of the first adjacent packet pixel, described second output pixel value is inputted described compressed bit stream buffer memory.
Preferably, described second output pixel value generation module farther includes:
Predictive mode generates submodule, is grouped pixel to described second, adopts the first output pixel value of the first adjacent packet pixel, generates predictive mode, and described predictive mode passes through position coded representation;
Second output pixel value determines submodule, for using predictive mode as second be grouped pixel the second output pixel value.
Preferably, the product of the number that total length is the first packet pixel and the described default intercepting numerical value of the first output pixel value of each the first packet pixel;
The product of the number that total length is the second packet pixel of the second output pixel value of each the second packet pixel and the figure place of institute's rheme coding;
The total length sum of the total length of the first output pixel value of each the first packet pixel described and the second output pixel value of each the second packet pixel described is less than or equal to described default compressed bit stream length.
Preferably, described predictive mode includes: adopt the first output pixel value of the first packet pixel in contiguous left side, and/or, first output pixel value of the first packet pixel on right side, and/or, first output pixel value of the first packet pixel of upside, and/or, the first output pixel value of the first packet pixel of downside is as predictive value.
Meanwhile, disclosed herein as well is a kind of video data outputting, be applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described device includes:
Extraction module, the second output pixel value of the first output pixel value and the second packet pixel for extracting the first packet pixel from described compressed bit stream buffer memory;
First decompressed pixel values generation module, for being grouped pixel to described first, low level at the described first the first output pixel value being grouped pixel increases figure place, and as the first decompressed pixel values, the figure place of the first decompressed pixel values is identical with the figure place of original pixel value;
Predictive mode determines module, for being grouped pixel to described second, is determined the predictive mode of pixel by the described second the second output pixel value being grouped pixel;
Second decompressed pixel values generation module, for selecting corresponding first to be grouped the first decompressed pixel values of pixel as the second decompressed pixel values by predictive mode.
The embodiment of the present application includes advantages below:
The embodiment of the present application processes through overcompression to be compressed piece, when the compressed bit stream generated is unsatisfactory for compression ratio requirement, the pixel of to be compressed piece is divided into two groups, it is grouped pixel for first and directly intercepts the figure place of default intercepting numerical value high-order in the original pixel value of pixel as the first output pixel value so that the first output pixel value of generation has fixing length;For the point of the second packet, the first output pixel value after intercepting a high position according to the first adjacent packet pixel generates the second output pixel value, and the second output pixel value of generation also has fixing length;Intercept numerical value so that the first output pixel value of the pixel of to be compressed piece and the second output pixel value sum are less than or equal to default compressed bit stream, compression ratio requirement can be met by adjusting.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of video data input method embodiment of the application;
Fig. 2 is the schematic diagram that the video requency frame data of YCbCr4:2:2 sample format carries out in the embodiment of the present application cutting;
Fig. 3 is the schematic diagram that the video requency frame data of YCbCr4:4:4 sample format carries out in the embodiment of the present application cutting;
Fig. 4 is the schematic diagram that the video requency frame data of YCbCr4:2:0 sample format carries out in the embodiment of the present application cutting;
Fig. 5 is the schematic diagram that the pixel treated in the embodiment of the present application in compression blocks carries out being grouped;
Fig. 6 is the flow chart of steps of a kind of video data output intent embodiment of the application;
Fig. 7 is the structured flowchart of a kind of video data input equipment embodiment of the application;
Fig. 8 is the structured flowchart of a kind of video data outputting embodiment of the application.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
One of core idea of the embodiment of the present application is in that, to be compressed piece processes through overcompression, when the compressed bit stream generated is unsatisfactory for compression ratio requirement, the pixel of to be compressed piece is divided into two groups, is grouped pixel for first and directly intercepts the figure place of default intercepting numerical value high-order in the original pixel value of pixel as the first output pixel value;For the point of the second packet, the first output pixel value after intercepting a high position according to the first adjacent packet pixel generates the second output pixel value.
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of video data input method embodiment of the application, described method is applied to Video post-processing system, and described Video post-processing system includes compressed bit stream buffer memory, and described method specifically may include steps of:
Step 101, obtains the pending video requency frame data that described Video post-processing system provides;
In the embodiment of the present application, Video post-processing system can include ultra high-definition video frame rate upconversion system;Ultra high-definition video frame rate upconversion system can include video input module, ultra high-definition video frame rate upconversion processes kernel, Video Output Modules and compressed bit stream buffer memory:
Pending video requency frame data includes original video frame data and the interior caryogenic interpolation video frame data of ultra high-definition video frame rate upconversion process of video input module input;
Video requency frame data is before write compressed bit stream buffer memory, it is necessary to be first compressed processing, to reduce the readwrite bandwidth of buffer memory.
Step 102, is multiple independent to be compressed piece by described pending video requency frame data cutting;
Original video frame data and interpolation video frame data are cut into multiple independent to be compressed piece;
Step 103, is compressed single to be compressed piece processing, generates compressed bit stream;
It is compressed independent to be compressed a piece processing.Compression processes and specifically may include that prediction processes with residual noise reduction, quantification treatment, entropy code process, inverse quantization and pixel reconstruction.
Step 104, it is judged that whether described compressed bit stream is less than or equal to default compressed bit stream length;
Judge that whether the to be compressed piece of compressed bit stream generated after overcompression processes be less than or equal to default compressed bit stream length.
It is said that in general, when meeting certain image fault, the image that image correlation is stronger is compressed process and just can meet compression ratio requirement (less than or equal to default compressed bit stream length);But the image that image correlation is more weak, when needing the situation meeting certain image fault, compression ratio can not reach compression ratio and require (less than or equal to default compressed bit stream length).
Step 105, when described compressed bit stream is more than described default compressed bit stream, is divided into the first packet pixel and the second packet pixel by the pixel of described to be compressed piece by interval;
Pixel in one independent to be compressed piece is divided into two groups.First packet pixel and the second packet pixel are spaced.For example, it is assumed that to be compressed piece is the form of N × N, N is integer.The pixel of odd-numbered line odd column and even number line even column is all the first packet pixel;The pixel of odd-numbered line even column and even number line odd column is all the second packet pixel.
Step 106, is grouped pixel to described first, intercepts the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, and described first output pixel value is inputted described compressed bit stream buffer memory;
It is grouped pixel for first, directly intercepts the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, by the first output pixel value output to compressed bit stream buffer memory.By the code stream that the first output pixel value is regular length that the mode intercepted generates, the code stream length of the first output pixel value can be changed by adjusting intercepting figure place.
Step 107, is grouped pixel to described second, generates the second output pixel value according to the first output pixel value of the first adjacent packet pixel, described second output pixel value is inputted described compressed bit stream buffer memory.
It is grouped pixel, it is possible to generate the second output pixel value according to the first output pixel value of the first adjacent packet pixel, export the second output pixel value generated to compressed bit stream buffer memory for second.In the embodiment of the present application, the second output pixel value is also the code stream of regular length.By adjusting the code stream length that the code stream length and second of the first output pixel value of the first packet pixel is grouped the second output pixel value of pixel, it is possible to make the pixel of to be compressed piece meet the compression ratio preset after above-mentioned process and require (less than or equal to default compressed bit stream length).
As a kind of preferred exemplary of the embodiment of the present application, in a kind of preferred exemplary of embodiments herein, described step 102 specifically can include following sub-step:
Sub-step S11, according to the sample mode of video requency frame data, is to be compressed piece of multiple independent brightness and to be compressed piece of multiple independent colourities by described pending video requency frame data cutting.
The size of to be compressed piece specifically can be arranged according to the mode of ultra high-definition video frame rate upconversion process kernel reading data, in implementing, when ultra high-definition video frame rate upconversion process kernel fetches data each time, read 64 pixels of a line in video requency frame data, it can be considered to pending data block is arranged to the matrix of multiple 64 × N, line number N can be adjusted according to actual compression effect.
Difference according to video requency frame data sample mode, it is possible to video requency frame data is cut into be compressed piece of multiple independent brightness and to be compressed piece of colourity, and the sampling of conventional video requency frame data includes: YCbCr4:2:2, YCbCr4:4:4, YCbCr4:2:0.YCbCr is the part in world's numeral tissue video standard development process as ITU-RBT.601 suggestion, and wherein Y refers to that luminance component, Cb refer to chroma blue component, and Cr refers to red chrominance component;4:2:0 represents that every 4 pixels have 4 luminance components, 2 chromatic components (YYYYCbCr), odd-numbered scan lines of only sampling, and is portable video apparatus (MPEG-4) and video conference (H.263) the most frequently used form;4:2:2 represents that every 4 pixels have 4 luminance components, and 4 chromatic components (YYYYCbCrCbCr) are the most frequently used forms of DVD, DTV, HDTV and other consumer video equipment;4:4:4 represents both full-pixel dot matrix (YYYYCbCrCbCrCbCrCbCr), for high-quality video application, studio and professional video production.
It it is the schematic diagram that in the embodiment of the present application, the video requency frame data of YCbCr4:2:2 sample format is carried out cutting with reference to Fig. 2;Wherein, by the luminance component of 64 pixels of two row continuous in video requency frame data, as to be compressed piece of 64 × 2 matrixes, by 32 × 2 corresponding for pixel Cb components, 32 × 2 Cr components are together as to be compressed piece of 64 × 2 matrixes.
It it is the schematic diagram that in the embodiment of the present application, the video requency frame data of YCbCr4:4:4 sample format is carried out cutting with reference to Fig. 3;Wherein, luminance component by 64 pixels of two row continuous in video requency frame data, as 64 × 2 matrixes to be compressed piece, using as 64 × 2 matrixes to be compressed piece of 64 × 2 corresponding for pixel Cb components, 64 × 2 Cr components pixel correspondence sent out are as to be compressed piece of 64 × 2 matrixes.
It it is the schematic diagram that in the embodiment of the present application, the video requency frame data of YCbCr4:2:0 sample format is carried out cutting with reference to Fig. 4;Wherein, by the luminance component of 64 pixels of four row continuous in video requency frame data, as to be compressed piece of two each and every one 64 × 2 matrixes, by 32 × 2 corresponding for pixel Cb components, 32 × 2 Cr components are together as to be compressed piece of 64 × 2 matrixes.
As a kind of preferred exemplary of the embodiment of the present application, described step 107 specifically can include following sub-step:
Sub-step S21, is grouped pixel to described second, adopts the first output pixel value of the first adjacent packet pixel, generates predictive mode, and described predictive mode passes through position coded representation;
In the embodiment of the present application, it was predicted that pattern passes through position coded representation.For example, it is assumed that there are 4 predictive modes, it is possible to use 2bit carrys out coding prediction mode in position.Represent that predictive mode 1,01 represents that predictive mode 2,10 represents that predictive mode 3,11 represents predictive mode 4 with 00.
Wherein, predictive mode may include that the first output pixel value of the first packet pixel adopting contiguous left side, and/or, first output pixel value of the first packet pixel on right side, and/or, first output pixel value of the first packet pixel of upside, and/or, the first output pixel value of the first packet pixel of downside is as predictive value.
Sub-step S22, using predictive mode as second be grouped pixel the second output pixel value.
It is grouped pixel for second and only exports predictive mode, do not export predictive value.
Therefore the product of the number that total length is the second packet pixel of the second output pixel value of each the second packet pixel and the figure place of institute rheme coding.
And it is grouped the pixel value after pixel output intercepts for first, the therefore product of the number that total length is the first packet pixel and the described default intercepting numerical value of the first output pixel value of each the first packet pixel.
When satisfied compression requires, the total length sum of the total length of the first output pixel value of each the first packet pixel and the second output pixel value of each the second packet pixel needs less than or equal to presetting compressed bit stream length.
In the embodiment of the present application, to be compressed piece is the form of 64 × 2, and namely one to be compressed piece includes 128 pixels, be divided into two lines arrangement, each pixel is represented by 10bit position, therefore one to be compressed piece be always sized to 1280bit, compression ratio requires as less than or equal to 512bit.
In the present embodiment, by interval, the pixel of to be compressed piece is divided into the first packet pixel and the second packet pixel, first packet pixel and the second packet pixel are spaced, and namely the first packet includes 64 pixels, and the second packet includes 64 pixels.
With reference to shown in Fig. 5, being the pixel treated in the embodiment of the present application in the compression blocks schematic diagram that carries out being grouped, wherein, the pixel of black is the first packet, and the pixel of white is the second packet, only illustrates partial pixel point in figure.
For first be grouped pixel, intercept its high 6 as the first output pixel value;Therefore the first output pixel value of each the first packet pixel is total up to 64 × 6=384bit.
Being grouped pixel for second, adopt the first output pixel value of the first adjacent packet pixel, generate predictive mode, described predictive mode passes through position coded representation;
Using predictive mode as second be grouped pixel the second output pixel value.
Predictive mode may include that 2bit coding 00, represents that the output pixel value of the pixel using left side is as predictive value;2bit coding 01, represents that the output pixel value of the pixel using right side is as predictive value;2bit coding 10, represents that the output pixel value of the pixel using vertical direction (upside or downside) is as predictive value;2bit coding 11, represents that the meansigma methods of the output pixel value using 3 contiguous pixels is as predictive value.
Therefore the second output pixel value of each the second packet pixel is total up to 64 × 2=128bit.
One to be compressed piece through step 104, step 105 and step 106 process after be always sized to 512bit, meet compression ratio requirement.
Further, partial pixel point in be compressed piece, 2bit position coding can not be adopted to choose predictive mode, but directly set the predictive value selecting the output pixel value of adjacent pixel to be used as self, both need not encode without the position of input prediction pattern to buffer memory input pixel value, reduce the size of to be compressed piece further.
With reference to shown in Fig. 6, being the flow chart of steps of a kind of video data output intent embodiment of the application, described method is applied to Video post-processing system, and described Video post-processing system includes compressed bit stream buffer memory, and described method includes:
Step 201, extracts the first output pixel value of the first packet pixel and the second output pixel value of the second packet pixel from described compressed bit stream buffer memory;
In the embodiment of the present application, Video post-processing system can include ultra high-definition video frame rate upconversion system;Ultra high-definition video frame rate upconversion system can include video input module, ultra high-definition video frame rate upconversion processes kernel, Video Output Modules and compressed bit stream buffer memory:
When Video Output Modules or ultra high-definition video frame rate upconversion process kernel needs from compressed bit stream cache request block of pixels, it is necessary to first the compressed bit stream in compressed bit stream buffer memory is carried out decompression processing.
Step 202, is grouped pixel to described first, and the low level at the described first the first output pixel value being grouped pixel increases figure place, and as the first decompressed pixel values, the figure place of the first decompressed pixel values is identical with the figure place of original pixel value;
It is grouped pixel for first, when decompression, the low level of the first the first output pixel value being grouped pixel is increased figure place so that it is figure place is identical with the figure place of original pixel value.
Step 203, is grouped pixel to described second, is determined the predictive mode of pixel by the described second the second output pixel value being grouped pixel;
Second output pixel value is the position coding of predictive mode, may determine that the predictive mode of correspondence according to position coding.
Step 204, selects the first decompressed pixel values of the first corresponding packet pixel as the second decompressed pixel values by predictive mode.
After being grouped pixel decompression generation the first decompressed pixel values first, select first decompressed pixel values, second decompressed pixel values as the second packet pixel of the first corresponding packet pixel according to the second predictive mode being grouped pixel.
First decompressed pixel values of each the first packet pixel is merged the pixel value after the compressed bit stream decompression that can be obtained by be compressed piece with each the second packet pixel second decompressed pixel values, finally, the pixel value after being decompressed by this compressed bit stream of to be compressed piece exports Video Output Modules or the ultra high-definition video frame rate upconversion process kernel of request block of pixels.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of movement, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 7, it is shown that the structured flowchart of a kind of video data input equipment embodiment of the application, described device is applied to Video post-processing system, and described Video post-processing system includes compressed bit stream buffer memory, and described device specifically can include such as lower module:
Acquisition module 31, for obtaining the pending video requency frame data that described Video post-processing system provides;
In the embodiment of the present application, Video post-processing system can include ultra high-definition video frame rate upconversion system;Ultra high-definition video frame rate upconversion system can include video input module, ultra high-definition video frame rate upconversion processes kernel, Video Output Modules and compressed bit stream buffer memory:
Pending video requency frame data includes original video frame data and the interior caryogenic interpolation video frame data of ultra high-definition video frame rate upconversion process of video input module input;
Video requency frame data is before write compressed bit stream buffer memory, it is necessary to be first compressed processing, to reduce the readwrite bandwidth of buffer memory.
Cutting module 32, for being multiple independent to be compressed piece by described pending video requency frame data cutting;
Compression module 33, for being compressed single to be compressed piece processing, generates compressed bit stream;
Judge module 34, is used for judging that whether described compressed bit stream is less than or equal to default compressed bit stream length;
Grouping module 35, for when described compressed bit stream is more than described default compressed bit stream, being divided into the first packet pixel and the second packet pixel by the pixel of described to be compressed piece by interval;
First output pixel value generation module 36, for being grouped pixel to described first, intercept the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, described first output pixel value is inputted described compressed bit stream buffer memory;
Second output pixel value generation module 37, for being grouped pixel to described second, generates the second output pixel value according to the first output pixel value of the first adjacent packet pixel, described second output pixel value is inputted described compressed bit stream buffer memory.
As a kind of preferred exemplary of the embodiment of the present application, described second output pixel value generation module 37 may further include:
Predictive mode generates submodule, is grouped pixel to described second, adopts the first output pixel value of the first adjacent packet pixel, generates predictive mode, and described predictive mode passes through position coded representation;
Second output pixel value determines submodule, for using predictive mode as second be grouped pixel the second output pixel value.
As a kind of preferred exemplary of the embodiment of the present application, the number that total length is the first packet pixel of the first output pixel value of each the first packet pixel and the product of described default intercepting numerical value;
The product of the number that total length is the second packet pixel of the second output pixel value of each the second packet pixel and the figure place of institute's rheme coding;
The total length sum of the total length of the first output pixel value of each the first packet pixel described and the second output pixel value of each the second packet pixel described is less than or equal to described default compressed bit stream length.
A kind of preferred exemplary as the embodiment of the present application, described predictive mode includes: adopt the first output pixel value of the first packet pixel in contiguous left side, and/or, first output pixel value of the first packet pixel on right side, and/or, first output pixel value of the first packet pixel of upside, and/or, the first output pixel value of the first packet pixel of downside is as predictive value.
With reference to Fig. 8, it is shown that the structured flowchart of a kind of video data outputting embodiment of the application, described device is applied to Video post-processing system, and described Video post-processing system includes compressed bit stream buffer memory, and described device specifically can include such as lower module:
Extraction module 41, the second output pixel value of the first output pixel value and the second packet pixel for extracting the first packet pixel from described compressed bit stream buffer memory;
In the embodiment of the present application, Video post-processing system can include ultra high-definition video frame rate upconversion system;Ultra high-definition video frame rate upconversion system can include video input module, ultra high-definition video frame rate upconversion processes kernel, Video Output Modules and compressed bit stream buffer memory:
When Video Output Modules or ultra high-definition video frame rate upconversion process kernel needs from compressed bit stream cache request block of pixels, it is necessary to first the compressed bit stream in compressed bit stream buffer memory is carried out decompression processing.
First decompressed pixel values generation module 42, for being grouped pixel to described first, low level at the described first the first output pixel value being grouped pixel increases figure place, and as the first decompressed pixel values, the figure place of the first decompressed pixel values is identical with the figure place of original pixel value;
Predictive mode determines module 43, for being grouped pixel to described second, is determined the predictive mode of pixel by the described second the second output pixel value being grouped pixel;
Second decompressed pixel values generation module 44, for selecting corresponding first to be grouped the first decompressed pixel values of pixel as the second decompressed pixel values by predictive mode.
For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, device or computer program.Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the embodiment of the present application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The embodiment of the present application is to describe with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, terminal unit (system) and computer program.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing terminal equipment work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make on computer or other programmable terminal equipment, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the embodiment of the present application scope.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
Above to a kind of video data input method provided herein, a kind of video data output intent, a kind of video data input equipment and a kind of video data outputting, it is described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.
Claims (10)
1. a video data input method, it is characterised in that being applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described method includes:
Obtain the pending video requency frame data that described Video post-processing system provides;
It it is multiple independent to be compressed piece by described pending video requency frame data cutting;
It is compressed single to be compressed piece processing, generates compressed bit stream;
Judge that whether described compressed bit stream is less than or equal to default compressed bit stream length;
When described compressed bit stream is more than described default compressed bit stream, the pixel of described to be compressed piece is divided into by interval the first packet pixel and the second packet pixel;
It is grouped pixel to described first, intercepts the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, described first output pixel value is inputted described compressed bit stream buffer memory;
It is grouped pixel to described second, generates the second output pixel value according to the first output pixel value of the first adjacent packet pixel, described second output pixel value is inputted described compressed bit stream buffer memory.
2. method according to claim 1, it is characterised in that described to described second packet pixel, the step generating the second output pixel value according to the first output pixel value of the first adjacent packet pixel includes:
Being grouped pixel to described second, adopt the first output pixel value of the first adjacent packet pixel, generate predictive mode, described predictive mode passes through position coded representation;
Using predictive mode as second be grouped pixel the second output pixel value.
3. method according to claim 2, it is characterised in that
The number that total length is the first packet pixel of the first output pixel value of each the first packet pixel and the product of described default intercepting numerical value;
The product of the number that total length is the second packet pixel of the second output pixel value of each the second packet pixel and the figure place of institute's rheme coding;
The total length sum of the total length of the first output pixel value of each the first packet pixel described and the second output pixel value of each the second packet pixel described is less than or equal to described default compressed bit stream length.
4. method according to claim 3, it is characterized in that, described predictive mode includes: adopt the first output pixel value of the first packet pixel in contiguous left side, and/or, first output pixel value of the first packet pixel on right side, and/or, the first output pixel value of the first packet pixel of upside, and/or, the first output pixel value of the first packet pixel of downside is as predictive value.
5. a video data output intent, it is characterised in that being applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described method includes:
The first output pixel value of the first packet pixel and the second output pixel value of the second packet pixel is extracted from described compressed bit stream buffer memory;
Being grouped pixel to described first, the low level at the described first the first output pixel value being grouped pixel increases figure place, and as the first decompressed pixel values, the figure place of the first decompressed pixel values is identical with the figure place of original pixel value;
It is grouped pixel to described second, is determined the predictive mode of pixel by the described second the second output pixel value being grouped pixel;
Select the first decompressed pixel values of the first corresponding packet pixel as the second decompressed pixel values by predictive mode.
6. a video data input equipment, it is characterised in that being applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described device includes:
Acquisition module, for obtaining the pending video requency frame data that described Video post-processing system provides;
Cutting module, for being multiple independent to be compressed piece by described pending video requency frame data cutting;
Compression module, for being compressed single to be compressed piece processing, generates compressed bit stream;
Judge module, is used for judging that whether described compressed bit stream is less than or equal to default compressed bit stream length;
Grouping module, for when described compressed bit stream is more than described default compressed bit stream, being divided into the first packet pixel and the second packet pixel by the pixel of described to be compressed piece by interval;
First output pixel value generation module, for being grouped pixel to described first, intercept the figure place first output pixel value as pixel of default intercepting numerical value high-order in the original pixel value of pixel, described first output pixel value is inputted described compressed bit stream buffer memory;
Second output pixel value generation module, for being grouped pixel to described second, generates the second output pixel value according to the first output pixel value of the first adjacent packet pixel, described second output pixel value is inputted described compressed bit stream buffer memory.
7. device according to claim 6, it is characterised in that described second output pixel value generation module farther includes:
Predictive mode generates submodule, is grouped pixel to described second, adopts the first output pixel value of the first adjacent packet pixel, generates predictive mode, and described predictive mode passes through position coded representation;
Second output pixel value determines submodule, for using predictive mode as second be grouped pixel the second output pixel value.
8. device according to claim 7, it is characterised in that
The number that total length is the first packet pixel of the first output pixel value of each the first packet pixel and the product of described default intercepting numerical value;
The product of the number that total length is the second packet pixel of the second output pixel value of each the second packet pixel and the figure place of institute's rheme coding;
The total length sum of the total length of the first output pixel value of each the first packet pixel described and the second output pixel value of each the second packet pixel described is less than or equal to described default compressed bit stream length.
9. device according to claim 8, it is characterized in that, described predictive mode includes: adopt the first output pixel value of the first packet pixel in contiguous left side, and/or, first output pixel value of the first packet pixel on right side, and/or, the first output pixel value of the first packet pixel of upside, and/or, the first output pixel value of the first packet pixel of downside is as predictive value.
10. a video data outputting, it is characterised in that being applied to Video post-processing system, described Video post-processing system includes compressed bit stream buffer memory, and described device includes:
Extraction module, the second output pixel value of the first output pixel value and the second packet pixel for extracting the first packet pixel from described compressed bit stream buffer memory;
First decompressed pixel values generation module, for being grouped pixel to described first, low level at the described first the first output pixel value being grouped pixel increases figure place, and as the first decompressed pixel values, the figure place of the first decompressed pixel values is identical with the figure place of original pixel value;
Predictive mode determines module, for being grouped pixel to described second, is determined the predictive mode of pixel by the described second the second output pixel value being grouped pixel;
Second decompressed pixel values generation module, for selecting corresponding first to be grouped the first decompressed pixel values of pixel as the second decompressed pixel values by predictive mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610096797.9A CN105763826B (en) | 2016-02-22 | 2016-02-22 | A kind of input of video data, output method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610096797.9A CN105763826B (en) | 2016-02-22 | 2016-02-22 | A kind of input of video data, output method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105763826A true CN105763826A (en) | 2016-07-13 |
CN105763826B CN105763826B (en) | 2019-08-06 |
Family
ID=56331032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610096797.9A Active CN105763826B (en) | 2016-02-22 | 2016-02-22 | A kind of input of video data, output method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105763826B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113614A (en) * | 2019-05-13 | 2019-08-09 | 上海兆芯集成电路有限公司 | Image processing method and image processing apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011042905A1 (en) * | 2009-10-08 | 2011-04-14 | Hd Medix | Distributed video compression system |
US20120183073A1 (en) * | 2011-01-17 | 2012-07-19 | Jaime Milstein | Systems and methods for wavelet and channel-based high definition video encoding |
CN104168483A (en) * | 2014-07-08 | 2014-11-26 | 大连民族学院 | Video compression method and system |
-
2016
- 2016-02-22 CN CN201610096797.9A patent/CN105763826B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011042905A1 (en) * | 2009-10-08 | 2011-04-14 | Hd Medix | Distributed video compression system |
US20120183073A1 (en) * | 2011-01-17 | 2012-07-19 | Jaime Milstein | Systems and methods for wavelet and channel-based high definition video encoding |
CN104168483A (en) * | 2014-07-08 | 2014-11-26 | 大连民族学院 | Video compression method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113614A (en) * | 2019-05-13 | 2019-08-09 | 上海兆芯集成电路有限公司 | Image processing method and image processing apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105763826B (en) | 2019-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6472429B2 (en) | Method, apparatus and system for determining LUMA values | |
JP6516851B2 (en) | Pixel pre-processing and encoding | |
CN105744275A (en) | Video data input method, video data output method, video data input device and video data output device | |
US20080101718A1 (en) | Apparatus and method for deblock filtering | |
TWI634780B (en) | Method and apparatus for image compression using block prediction mode | |
CN105072353B (en) | A kind of image decoding based on more GPU spells prosecutor method | |
US11924435B2 (en) | High quality advanced neighbor management encoder architecture | |
CN111429357A (en) | Training data determination method, video processing method, device, equipment and medium | |
DE102020125206A1 (en) | METHOD AND SYSTEM FOR MULTI-CHANNEL VIDEO ENCODING WITH FRAMERATE CHANGE AND CROSS-CHANNEL REFERENCING | |
US10304213B2 (en) | Near lossless compression scheme and system for processing high dynamic range (HDR) images | |
CN108881915B (en) | Device and method for playing video based on DSC (differential scanning sequence) coding technology | |
CA2756404A1 (en) | System and format for encoding data and three-dimensional rendering | |
CN105763877B (en) | A kind of compression method and device of video frame pixel block | |
US8798379B2 (en) | Image processing method, encoding device, decoding device, and image processing apparatus | |
CN106954074B (en) | Video data processing method and device | |
CN111970564B (en) | Optimization method and device for HDR video display processing, storage medium and terminal | |
NL2029548A (en) | Determining adaptive quantization matrices using machine learning for video coding | |
CN105763826A (en) | Video data input method, video data output method, video data input device, and video data output device | |
CN105359508A (en) | Multi-level spatial-temporal resolution increase of video | |
CN114827614B (en) | Method for realizing LCEVC video coding optimization | |
CN100551059C (en) | Be used for producing the equipment of progressive frame from the interlace coded frame | |
Venkataramanan et al. | Quality assessment in media and entertainment: Challenges and trends | |
CN106954073B (en) | Video data input and output method, device and system | |
Petrinšak et al. | Challenges in 4K UHD multimedia device testing | |
CN110312136A (en) | A method for encoding and decoding multi-component data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee after: Hisense Visual Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |