CN105763826B - A kind of input of video data, output method and device - Google Patents
A kind of input of video data, output method and device Download PDFInfo
- Publication number
- CN105763826B CN105763826B CN201610096797.9A CN201610096797A CN105763826B CN 105763826 B CN105763826 B CN 105763826B CN 201610096797 A CN201610096797 A CN 201610096797A CN 105763826 B CN105763826 B CN 105763826B
- Authority
- CN
- China
- Prior art keywords
- pixel
- pixel value
- grouping
- output
- value
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000006835 compression Effects 0.000 claims abstract description 37
- 238000007906 compression Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 28
- 238000005520 cutting process Methods 0.000 claims abstract description 17
- 238000012805 post-processing Methods 0.000 claims description 32
- 230000006837 decompression Effects 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 15
- 238000004590 computer program Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000007891 compressed tablet Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000750 progressive 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
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 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
The embodiment of the present application provides a kind of video data input method, comprising: obtains video requency frame data to be processed;It is multiple independent to be compressed pieces by video requency frame data cutting to be processed;It treats compression blocks and carries out compression processing, generate compressed bit stream;Judge whether compressed bit stream is less than or equal to default compressed bit stream length;When compressed bit stream is greater than default compressed bit stream, to be compressed piece of pixel is divided into the first grouping pixel and second packet pixel by interval;To the first grouping pixel, first output pixel value of the digit of default interception numerical value high-order in the original pixel value of pixel as pixel is intercepted;To second packet pixel, the second output pixel value is generated according to the first output pixel value of the first adjacent grouping pixel.The embodiment of the present application by adjusting interception numerical value can make to be compressed piece pixel the first output pixel value and the sum of the second output pixel value be less than or equal to default compressed bit stream, meet compression ratio requirement.
Description
Technical field
This application involves technical field of video processing, more particularly to a kind of video data input method, a kind of video counts
According to output method, a kind of video data input unit and a kind of video data outputting.
Background technique
In recent years, people are total to the objective condition of subjective demand and the semiconductor technology fast development of high-quality visual enjoyment
It is same to promote flourishing for ultra high-definition television industries.However, due to the limitation of current transmission system bandwidth, ultra high-definition TV Festival
Mesh can only be transmitted with lower frame per second.At the same time, the refresh rate of large-screen display equipment has biggish promotion, video frame rate again
Lower than screen refresh rate, this mismatch directly results in image and phenomena such as smear, pause, obscure, poor display effect occurs.Video
Frame rate up-conversion technology can effectively promote the frame per second of display video as important Video post-processing means, refresh in height
The subjective quality of image is improved on the display screen of rate.
The input of ultra high-definition video frame rate upconversion processing system is the image sequence of one group of fixed frame per second, and process is a series of
After estimation, vector post-processing and interpolating operations, output is the image sequence of one group of higher frame per second.This causes ultra high-definition to regard
Frequency frame rate up-conversion process kernel greatly increases with the reading and writing data throughput cached outside piece.Wherein after estimation, vector
Processing and interpolating operations need to cache the pel data for reading a large amount of forward reference frames and backward reference frame outside piece;In frame per second
The interpolated image sequence generated is converted, needs to be written outside piece and caches;Display output port is needed original sequence and frame per second
Up conversion generation image sequence reads from caching outside piece and shows on the screen.
However, there are the limit, all the time memory accesses for the speed of CMOS integrated circuit under current technological level
The promotion of speed lags behind logic circuit, therefore the bandwidth for storing access is the bottleneck of system for restricting performance;Meanwhile on a large scale
Data write-in, which is read, also greatly improves the energy consumption of system.
In order to solve bandwidth and energy consumption bottleneck, being written again after data cached outside compressed tablet is a kind of effective and feasible do
Method.In general, carrying out compression processing to the stronger image of image correlation is just able to satisfy compression ratio requirement, but when image is related
Property it is weaker when, compression ratio cannot reach compression ratio requirement.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind
A kind of video data input method for solving the above problems, a kind of video data output method, a kind of video data input unit
With a kind of video data outputting.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of video data input method, after being applied to video
Processing system, the Video post-processing system include compressed bit stream caching, and the method includes:
Obtain the video requency frame data to be processed that the Video post-processing system provides;
It is multiple independent to be compressed pieces by the video requency frame data cutting to be processed;
To single to be compressed piece of progress compression processing, compressed bit stream is generated;
Judge whether the compressed bit stream is less than or equal to default compressed bit stream length;
When the compressed bit stream is greater than the default compressed bit stream, to be compressed piece of the pixel is divided by interval
For the first grouping pixel and second packet pixel;
To the first grouping pixel, the digit of default interception numerical value high-order in the original pixel value of pixel is intercepted
As the first output pixel value of pixel, first output pixel value is inputted into the compressed bit stream and is cached;
To the second packet pixel, second is generated according to the first output pixel value of the first adjacent grouping pixel
Second output pixel value is inputted the compressed bit stream and cached by output pixel value.
Preferably, described to the second packet pixel, according to the first output picture of the first adjacent grouping pixel
The step of plain the second output pixel value of value generation includes:
The second packet pixel is generated pre- using the first output pixel value of the first adjacent grouping pixel
Survey mode, the prediction mode pass through position coded representation;
Using prediction mode as the second output pixel value of second packet pixel.
Preferably, the total length of the first output pixel value of each first grouping pixel is of the first grouping pixel
Several products with the default interception numerical value;
Number and institute of the total length of second output pixel value of each second packet pixel for second packet pixel
The product of the digit of rheme coding;
The total length of first output pixel value of each first grouping pixel and each second packet pixel
The sum of total length of the second output pixel value of point is less than or equal to the default compressed bit stream length.
Preferably, the prediction mode includes: the first output pixel using the first grouping pixel in neighbouring left side
Value, and/or, the first output pixel value of the first grouping pixel on right side, and/or, the of the first grouping pixel of upside
One output pixel value, and/or, the first output pixel value of the first grouping pixel of downside is as predicted value.
Meanwhile disclosed herein as well is a kind of video data output methods, are applied to Video post-processing system, the video
After-treatment system includes compressed bit stream caching, and the method includes:
The first output pixel value and second packet pixel of the first grouping pixel are extracted from compressed bit stream caching
Second output pixel value of point;
To the first grouping pixel, increase position in the low level of the first output pixel value of the first grouping pixel
Number, as the first decompressed pixel values, the digit of the first decompressed pixel values and the digit of original pixel value are identical;
To the second packet pixel, pixel is determined by the second output pixel value of the second packet pixel
Prediction mode;
Select the first decompressed pixel values of corresponding first grouping pixel as the second decompressed pixels by prediction mode
Value.
Meanwhile disclosed herein as well is a kind of video data input units, are applied to Video post-processing system, the video
After-treatment system includes compressed bit stream caching, and the device includes:
Module is obtained, the video requency frame data to be processed provided for obtaining the Video post-processing system;
Cutting module, for being multiple independent to be compressed pieces by the video requency frame data cutting to be processed;
Compression module, for generating compressed bit stream to single to be compressed piece of progress compression processing;
Judgment module, for judging whether the compressed bit stream is less than or equal to default compressed bit stream length;
Grouping module is used for when the compressed bit stream is greater than the default compressed bit stream, by be compressed piece of the picture
Vegetarian refreshments is divided into the first grouping pixel and second packet pixel by interval;
First output pixel value generation module, for intercepting the original pixels of pixel to the first grouping pixel
First output pixel value of the digit of high-order default interception numerical value as pixel, defeated by first output pixel value in value
Enter the compressed bit stream caching;
Second output pixel value generation module, for being grouped picture according to adjacent first to the second packet pixel
First output pixel value of vegetarian refreshments generates the second output pixel value, and second output pixel value is inputted the compressed bit stream and is delayed
It deposits.
Preferably, the second output pixel value generation module further comprises:
Prediction mode generates submodule, to the second packet pixel, using the of the first adjacent grouping pixel
One output pixel value, generates prediction mode, and the prediction mode passes through position coded representation;
Second output pixel value determines submodule, for exporting picture for prediction mode as the second of second packet pixel
Element value.
Preferably, the total length of the first output pixel value of each first grouping pixel is of the first grouping pixel
Several products with the default interception numerical value;
Number and institute of the total length of second output pixel value of each second packet pixel for second packet pixel
The product of the digit of rheme coding;
The total length of first output pixel value of each first grouping pixel and each second packet pixel
The sum of total length of the second output pixel value of point is less than or equal to the default compressed bit stream length.
Preferably, the prediction mode includes: the first output pixel using the first grouping pixel in neighbouring left side
Value, and/or, the first output pixel value of the first grouping pixel on right side, and/or, the of the first grouping pixel of upside
One output pixel value, and/or, the first output pixel value of the first grouping pixel of downside is as predicted value.
Meanwhile disclosed herein as well is a kind of video data outputtings, are applied to Video post-processing system, the video
After-treatment system includes compressed bit stream caching, and the device includes:
Extraction module, for from the compressed bit stream caching in extract first grouping pixel the first output pixel value and
Second output pixel value of second packet pixel;
First decompressed pixel values generation module, for being grouped pixel described first to the first grouping pixel
The first output pixel value low level increase digit, as the first decompressed pixel values, the digit of the first decompressed pixel values with it is original
The digit of pixel value is identical;
Prediction mode determining module passes through the of the second packet pixel for the second packet pixel
Two output pixel values determine the prediction mode of pixel;
Second decompressed pixel values generation module, for selecting the first of corresponding first grouping pixel by prediction mode
Decompressed pixel values are as the second decompressed pixel values.
The embodiment of the present application includes the following advantages:
The embodiment of the present application passes through compression processing to be compressed piece, when the compressed bit stream of generation is unsatisfactory for compression ratio requirement,
To be compressed piece of pixel is divided into two groups, the first grouping pixel is directly intercepted in the original pixel value of pixel
The digit of high-order default interception numerical value is as the first output pixel value, so that the first output pixel value generated has fixation
Length;It is raw according to first output pixel value of the first adjacent grouping pixel interception after high-order for the point of second packet
At the second output pixel value, the second output pixel value of generation also has fixed length;It can make by adjusting interception numerical value
The sum of the first output pixel value and the second output pixel value for obtaining to be compressed piece of pixel are less than or equal to default compressed bit stream, full
Sufficient compression ratio requirement.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of video data input method embodiment of the application;
Fig. 2 is the schematic diagram for carrying out cutting in the embodiment of the present application to the video requency frame data of YCbCr 4:2:2 sample format;
Fig. 3 is the schematic diagram for carrying out cutting in the embodiment of the present application to the video requency frame data of YCbCr 4:4:4 sample format;
Fig. 4 is the schematic diagram for carrying out cutting in the embodiment of the present application to the video requency frame data of YCbCr 4:2:0 sample format;
Fig. 5 is the schematic diagram treating the pixel in compression blocks in the embodiment of the present application and being grouped;
Fig. 6 is a kind of step flow chart of video data output method embodiment of the application;
Fig. 7 is a kind of structural block diagram of video data input unit embodiment of the application;
Fig. 8 is a kind of structural block diagram of video data outputting embodiment of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
One of the core concepts of the embodiments of the present application is that be compressed piece is passed through compression processing, the compressed bit stream of generation is not
When meeting compression ratio requirement, to be compressed piece of pixel is divided into two groups, picture is directly intercepted for the first grouping pixel
The digit of high-order default interception numerical value is as the first output pixel value in the original pixel value of vegetarian refreshments;For second packet
Point generates the second output pixel value according to first output pixel value of the first adjacent grouping pixel interception after high-order.
Referring to Fig.1, a kind of step flow chart of video data input method embodiment of the application, the side are shown
Method is applied to Video post-processing system, and the Video post-processing system includes compressed bit stream caching, and the method specifically can be with
Include the following steps:
Step 101, the video requency frame data to be processed that the Video post-processing system provides is obtained;
In the embodiment of the present application, Video post-processing system may include ultra high-definition video frame rate upconversion system;Superelevation
Clear video frame rate upconversion system may include that video input module, ultra high-definition video frame rate upconversion process kernel, video are defeated
Module and compressed bit stream cache out:
Video requency frame data to be processed includes the original video frame data and ultra high-definition video of video input module input
The interpolation video frame data that frame rate up-conversion process kernel generates;
Video requency frame data needs first to carry out compression processing before write-in compressed bit stream caching, to reduce the read-write of caching
Bandwidth.
It step 102, is multiple independent to be compressed pieces by the video requency frame data cutting to be processed;
Original video frame data and interpolation video frame data are cut into multiple independent to be compressed pieces;
Step 103, to single to be compressed piece of progress compression processing, compressed bit stream is generated;
To an independent to be compressed piece of progress compression processing.Compression processing can specifically include: prediction with residual noise reduction,
Quantification treatment, entropy coding processing, inverse quantization and pixel reconstruction processing.
Step 104, judge whether the compressed bit stream is less than or equal to default compressed bit stream length;
It is long to judge whether compressed bit stream that be compressed piece generates after compression processing is less than or equal to default compressed bit stream
Degree.
In general, being carried out at compression in the case where meeting certain image fault to the stronger image of image correlation
Reason is just able to satisfy compression ratio and requires and (be less than or equal to default compressed bit stream length);But the image weaker to image correlation is needing
When the case where meeting certain image fault, compression ratio cannot reach compression ratio and require (it is long to be less than or equal to default compressed bit stream
Degree).
Step 105, when the compressed bit stream is greater than the default compressed bit stream, to be compressed piece of the pixel is pressed
Interval is divided into the first grouping pixel and second packet pixel;
Pixel in one independent to be compressed piece is divided into two groups.First grouping pixel and second packet pixel
Point is spaced apart from each other.For example, it is assumed that the to be compressed piece of form for N × N, N is integer.Odd-numbered line odd column and even number line even column
Pixel is all the first grouping pixel;The pixel of odd-numbered line even column and even number line odd column is all second packet pixel
Point.
Step 106, to the first grouping pixel, default interception number high-order in the original pixel value of pixel is intercepted
First output pixel value is inputted the compressed bit stream and cached by first output pixel value of the digit of value as pixel;
For the first grouping pixel, the directly position of default interception numerical value high-order in the original pixel value of interception pixel
First output pixel value of the number as pixel, the first output pixel value is exported to compressed bit stream and is cached.Pass through the side of interception
The first output pixel value that formula generates is the code stream of regular length, can change the first output pixel value by adjusting interception digit
Code stream length.
Step 107, to the second packet pixel, according to the first output pixel value of the first adjacent grouping pixel
The second output pixel value is generated, second output pixel value is inputted into the compressed bit stream and is cached.
For second packet pixel, the first output pixel value that pixel can be grouped according to adjacent first generates the
Second output pixel value of generation is exported to compressed bit stream and is cached by two output pixel values.In the embodiment of the present application, second is defeated
Pixel value is also the code stream of regular length out.By adjusting first grouping pixel the first output pixel value code stream length with
And the code stream length of the second output pixel value of second packet pixel, to be compressed piece of pixel can be made by above-mentioned place
Meet preset compression ratio after reason to require and (be less than or equal to default compressed bit stream length).
It is described in a kind of preferable example of embodiments herein as a kind of preferable example of the embodiment of the present application
Step 102 can specifically include following sub-step:
The video requency frame data cutting to be processed is multiple according to the sample mode of video requency frame data by sub-step S11
To be compressed piece of independent brightness and multiple to be compressed piece of independent colorations.
To be compressed piece of size can specifically read the mode of data according to ultra high-definition video frame rate upconversion process kernel
Be arranged, in the concrete realization, ultra high-definition video frame rate upconversion process kernel fetch each time according to when, read video requency frame data
64 pixels of middle a line, it can be considered to which pending data block to be arranged to the matrix of multiple 64 × N, line number N can be according to reality
Border compression effectiveness is adjusted.
According to the difference of video requency frame data sample mode, video requency frame data can be cut into multiple independent brightness and wait pressing
Contracting block and to be compressed piece of coloration, the sampling of common video requency frame data includes: YCbCr 4:2:2, YCbCr 4:4:4, YCbCr
4:2:0.YCbCr is a part suggested in world's number organizing video standard development process as ITU-R BT.601, wherein Y
Refer to luminance component, Cb refers to chroma blue component, and Cr refers to red chrominance component;4:2:0 indicates that every 4 pixels have 4 brightness
Component, 2 chromatic components (YYYYCbCr), only samples odd-numbered scan lines, is portable video apparatus (MPEG-4) and TV
Meeting (H.263) the most frequently used format;4:2:2 indicates that every 4 pixels have 4 luminance components, 4 chromatic components
It (YYYYCbCrCbCr), is the most frequently used format of DVD, DTV, HDTV and other consumer video equipment;4:4:4 table
Show both full-pixel dot matrix (YYYYCbCrCbCrCbCrCbCr), for high-quality video application, studio and professional video production.
It is in the embodiment of the present application to be carried out to the video requency frame data of YCbCr 4:2:2 sample format showing for cutting referring to Fig. 2
It is intended to;Wherein, by the luminance component of 64 pixels of two row continuous in video requency frame data, as 64 × 2 matrix wait press
Contracting block, by corresponding 32 × 2 Cb components of pixel, 32 × 2 Cr components are together as the to be compressed of 64 × 2 matrixes
Block.
It is in the embodiment of the present application to be carried out to the video requency frame data of YCbCr 4:4:4 sample format showing for cutting referring to Fig. 3
It is intended to;Wherein, by the luminance component of 64 pixels of two row continuous in video requency frame data, as 64 × 2 matrix wait press
Contracting block, using corresponding 64 × 2 Cb components of pixel as to be compressed piece of 64 × 2 matrixes, by the corresponding hair of pixel
To be compressed piece as 64 × 2 matrixes of 64 × 2 Cr components.
It is in the embodiment of the present application to be carried out to the video requency frame data of YCbCr 4:2:0 sample format showing for cutting referring to Fig. 4
It is intended to;Wherein, by the luminance component of 64 pixels of four row continuous in video requency frame data, as two 64 × 2 matrixes to
Compression blocks, by corresponding 32 × 2 Cb components of pixel, 32 × 2 Cr components be together as 64 × 2 matrixes wait press
Contracting block.
As a kind of preferable example of the embodiment of the present application, the step 107 can specifically include following sub-step:
Sub-step S21, to the second packet pixel, using the first output pixel of the first adjacent grouping pixel
Value, generates prediction mode, and the prediction mode passes through position coded representation;
In the embodiment of the present application, prediction mode passes through position coded representation.For example, it is assumed that there are 4 prediction modes, can make
With 2bit come coding prediction mode.Indicate that prediction mode 1,01 indicates that prediction mode 2,10 indicates 3,11 table of prediction mode with 00
Show prediction mode 4.
Wherein, prediction mode may include: the first output pixel value for being grouped pixel using the first of neighbouring left side,
And/or the first output pixel value of the first grouping pixel on right side, and/or, the first of the first grouping pixel of upside is defeated
Pixel value out, and/or, the first output pixel value of the first grouping pixel of downside is as predicted value.
Sub-step S22, using prediction mode as the second output pixel value of second packet pixel.
Prediction mode is only exported for second packet pixel, does not export predicted value.
Therefore the total length of the second output pixel value of each second packet pixel is the number of second packet pixel
With the product of the digit of institute's rheme coding.
And for the pixel value after the first grouping pixel output interception, therefore the first of each first grouping pixel is defeated
The total length of pixel value is the number of the first grouping pixel and the product of the default interception numerical value out.
In the case where meeting compression and requiring, the total length of the first output pixel value of each first grouping pixel and each
The sum of the total length of second output pixel value of a second packet pixel needs to be less than or is equal to default compressed bit stream length.
In the embodiment of the present application, to be compressed piece is 64 × 2 form, i.e., one to be compressed piece includes 128 pixels,
Be divided into two lines arrangement, each pixel is indicated by 10bit, therefore one to be compressed piece of total size is 1280bit, compression
Rate requires as less than or equal to 512bit.
In the present embodiment, to be compressed piece of pixel is divided into the first grouping pixel and second packet picture by interval
Vegetarian refreshments, the first grouping pixel are spaced apart from each other with second packet pixel, i.e., the first grouping includes 64 pixels, second packet
Including 64 pixels.
It referring to Figure 5, is the schematic diagram treating the pixel in compression blocks in the embodiment of the present application and being grouped,
In, the pixel of black is the first grouping, and white pixel is second packet, only shows partial pixel point in figure.
For the first grouping pixel, intercepts its high 6 and be used as the first output pixel value;Therefore each first grouping pixel
First output pixel value of point is total up to 64 × 6=384bit.
Prediction is generated using the first output pixel value of the first adjacent grouping pixel for second packet pixel
Mode, the prediction mode pass through position coded representation;
Using prediction mode as the second output pixel value of second packet pixel.
Prediction mode may include: 2bit coding 00, indicate the output pixel value of the pixel on the left of using as prediction
Value;2bit coding 01 indicates the output pixel value of the pixel on the right side of using as predicted value;2bit coding 10 indicates to use
The output pixel value of the pixel of vertical direction (upside or downside) is as predicted value;2bit coding 11 indicates to use neighbouring 3
The average value of the output pixel value of a pixel is as predicted value.
Therefore the second output pixel value of each second packet pixel is total up to 64 × 2=128bit.
One to be compressed piece is 512bit through step 104, step 105 and step 106 treated total size, meets pressure
Shrinkage requirement.
Further, the partial pixel point in be compressed piece can not use 2bit codings to choose prediction mode,
But directly setting selects the output pixel value of adjacent pixel as the predicted value of itself, does not both have to input picture to caching
Element value is encoded without the position of input prediction mode, further decreases to be compressed piece of size.
It is a kind of step flow chart of video data output method embodiment of the application, the method referring to shown in Fig. 6
Applied to Video post-processing system, the Video post-processing system includes compressed bit stream caching, and the method includes:
Step 201, the first output pixel value and second of the first grouping pixel is extracted from compressed bit stream caching
It is grouped the second output pixel value of pixel;
In the embodiment of the present application, Video post-processing system may include ultra high-definition video frame rate upconversion system;Superelevation
Clear video frame rate upconversion system may include that video input module, ultra high-definition video frame rate upconversion process kernel, video are defeated
Module and compressed bit stream cache out:
When Video Output Modules or ultra high-definition video frame rate upconversion process kernel are needed from compressed bit stream cache request picture
When plain block, need first by compressed bit stream cache in compressed bit stream carry out decompression processing.
Step 202, to the first grouping pixel, in the low of the first output pixel value that described first is grouped pixel
Position increases digit, and as the first decompressed pixel values, the digit of the first decompressed pixel values and the digit of original pixel value are identical;
For the first grouping pixel, in decompression, the low level of the first output pixel value of the first grouping pixel is increased
Add digit, keeps its digit identical as the digit of original pixel value.
Step 203, to the second packet pixel, the second output pixel value by the second packet pixel is true
Determine the prediction mode of pixel;
Second output pixel value is that the position of prediction mode encodes, and can determine corresponding prediction mode according to position coding.
Step 204, select the first decompressed pixel values of corresponding first grouping pixel as second by prediction mode
Decompressed pixel values.
After the first grouping pixel decompression generates the first decompressed pixel values, according to the prediction mode of second packet pixel
Select second decompressed pixel values of the first decompressed pixel values of corresponding first grouping pixel as second packet pixel.
By the first decompressed pixel values of each first grouping pixel and each the second decompressed pixels of second packet pixel
Value merges the pixel value after the compressed bit stream decompression that can be obtained by be compressed piece, finally, by be compressed piece of the compressed bit stream
Pixel value after decompression is output to the Video Output Modules or ultra high-definition video frame rate upconversion process kernel of request block of pixels.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Referring to Fig. 7, a kind of structural block diagram of video data input unit embodiment of the application, the device are shown
Applied to Video post-processing system, the Video post-processing system includes compressed bit stream caching, and the device specifically can wrap
Include following module:
Module 31 is obtained, the video requency frame data to be processed provided for obtaining the Video post-processing system;
In the embodiment of the present application, Video post-processing system may include ultra high-definition video frame rate upconversion system;Superelevation
Clear video frame rate upconversion system may include that video input module, ultra high-definition video frame rate upconversion process kernel, video are defeated
Module and compressed bit stream cache out:
Video requency frame data to be processed includes the original video frame data and ultra high-definition video of video input module input
The interpolation video frame data that frame rate up-conversion process kernel generates;
Video requency frame data needs first to carry out compression processing before write-in compressed bit stream caching, to reduce the read-write of caching
Bandwidth.
Cutting module 32, for being multiple independent to be compressed pieces by the video requency frame data cutting to be processed;
Compression module 33, for generating compressed bit stream to single to be compressed piece of progress compression processing;
Judgment module 34, for judging whether the compressed bit stream is less than or equal to default compressed bit stream length;
Grouping module 35 is used for when the compressed bit stream is greater than the default compressed bit stream, by described to be compressed piece
Pixel is divided into the first grouping pixel and second packet pixel by interval;
First output pixel value generation module 36, for intercepting the original image of pixel to the first grouping pixel
First output pixel value of the digit of high-order default interception numerical value as pixel in element value, by first output pixel value
Input the compressed bit stream caching;
Second output pixel value generation module 37, for being grouped according to adjacent first to the second packet pixel
First output pixel value of pixel generates the second output pixel value, and second output pixel value is inputted the compressed bit stream
Caching.
As a kind of preferable example of the embodiment of the present application, the second output pixel value generation module 37 can be further
Include:
Prediction mode generates submodule, to the second packet pixel, using the of the first adjacent grouping pixel
One output pixel value, generates prediction mode, and the prediction mode passes through position coded representation;
Second output pixel value determines submodule, for exporting picture for prediction mode as the second of second packet pixel
Element value.
As a kind of preferable example of the embodiment of the present application, each first is grouped the total of the first output pixel value of pixel
Length is the number of the first grouping pixel and the product of the default interception numerical value;
Number and institute of the total length of second output pixel value of each second packet pixel for second packet pixel
The product of the digit of rheme coding;
The total length of first output pixel value of each first grouping pixel and each second packet pixel
The sum of total length of the second output pixel value of point is less than or equal to the default compressed bit stream length.
As a kind of preferable example of the embodiment of the present application, the prediction mode includes: first using neighbouring left side
It is grouped the first output pixel value of pixel, and/or, the first output pixel value of the first grouping pixel on right side, and/or,
First output pixel value of the first grouping pixel of upside, and/or, the first output pixel of the first grouping pixel of downside
Value is used as predicted value.
Referring to Fig. 8, a kind of structural block diagram of video data outputting embodiment of the application, the device are shown
Applied to Video post-processing system, the Video post-processing system includes compressed bit stream caching, and the device specifically can wrap
Include following module:
Extraction module 41, for extracting the first output pixel value of the first grouping pixel from compressed bit stream caching
With the second output pixel value of second packet pixel;
In the embodiment of the present application, Video post-processing system may include ultra high-definition video frame rate upconversion system;Superelevation
Clear video frame rate upconversion system may include that video input module, ultra high-definition video frame rate upconversion process kernel, video are defeated
Module and compressed bit stream cache out:
When Video Output Modules or ultra high-definition video frame rate upconversion process kernel are needed from compressed bit stream cache request picture
When plain block, need first by compressed bit stream cache in compressed bit stream carry out decompression processing.
First decompressed pixel values generation module 42, for being grouped pixel described first to the first grouping pixel
The low level of first output pixel value of point increases digit, as the first decompressed pixel values, the digit and original of the first decompressed pixel values
The digit of beginning pixel value is identical;
Prediction mode determining module 43, for passing through the second packet pixel to the second packet pixel
Second output pixel value determines the prediction mode of pixel;
Second decompressed pixel values generation module 44, for selecting the of corresponding first grouping pixel by prediction mode
One decompressed pixel values are as the second decompressed pixel values.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of video data input method provided herein, a kind of video data output method, a kind of view
Frequency data input device and a kind of video data outputting, are described in detail, and specific case used herein is to this
The principle and embodiment of application is expounded, the present processes that the above embodiments are only used to help understand and
Its core concept;At the same time, for those skilled in the art in specific embodiment and is answered according to the thought of the application
With in range, there will be changes, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (8)
1. a kind of video data input method, which is characterized in that be applied to Video post-processing system, the Video post-processing system
It is cached including compressed bit stream, the method includes:
Obtain the video requency frame data to be processed that the Video post-processing system provides;
It is multiple independent to be compressed pieces by the video requency frame data cutting to be processed;
To single to be compressed piece of progress compression processing, compressed bit stream is generated;
Judge whether the compressed bit stream is less than or equal to default compressed bit stream length;
When the compressed bit stream is greater than the default compressed bit stream, to be compressed piece of the pixel is divided into the by interval
One grouping pixel and second packet pixel;
To the first grouping pixel, the digit conduct of default interception numerical value high-order in the original pixel value of pixel is intercepted
First output pixel value is inputted the compressed bit stream and cached by the first output pixel value of pixel;
To the second packet pixel, the second output is generated according to the first output pixel value of the first adjacent grouping pixel
Second output pixel value is inputted the compressed bit stream and cached by pixel value;Wherein, described to the second packet pixel
Point, the step of generating the second output pixel value according to the first output pixel value of adjacent first grouping pixel include:
Prediction mould is generated using the first output pixel value of the first adjacent grouping pixel to the second packet pixel
Formula, the prediction mode pass through position coded representation;
Using prediction mode as the second output pixel value of second packet pixel.
2. the method according to claim 1, wherein
It is each first grouping pixel the first output pixel value total length be first grouping pixel number with it is described pre-
If intercepting the product of numerical value;
The total length of second output pixel value of each second packet pixel for second packet pixel number and institute's rheme
The product of the digit of coding;
The total length and each second packet pixel of first output pixel value of each first grouping pixel
The sum of total length of second output pixel value is less than or equal to the default compressed bit stream length.
3. according to the method described in claim 2, it is characterized in that, the prediction mode includes: the using neighbouring left side
First output pixel value of one grouping pixel, and/or, the first output pixel value of the first grouping pixel on right side, and/
Or, the first output pixel value of the first grouping pixel of upside, and/or, the first output of the first grouping pixel of downside
Pixel value is as predicted value.
4. a kind of video data output method, which is characterized in that be applied to Video post-processing system, the Video post-processing system
It is cached including compressed bit stream, the method includes:
The first output pixel value and second packet pixel of the first grouping pixel are extracted from compressed bit stream caching
Second output pixel value;
To the first grouping pixel, increase digit in the low level of the first output pixel value of the first grouping pixel,
As the first decompressed pixel values, the digit of the first decompressed pixel values and the digit of original pixel value are identical;
To the second packet pixel, the pre- of pixel is determined by the second output pixel value of the second packet pixel
Survey mode;
Select the first decompressed pixel values of corresponding first grouping pixel as the second decompressed pixel values by prediction mode;Its
In, the first grouping pixel and the second packet pixel are to be divided to generate by interval by be compressed piece of pixel;
First output pixel value is the digit of high-order default interception numerical value in the original pixel value of the first grouping pixel
Pixel value;Second output pixel value is, using the of the first adjacent grouping pixel of the second packet pixel
The prediction mode that one output pixel value generates, the prediction mode pass through position coded representation.
5. a kind of video data input unit, which is characterized in that be applied to Video post-processing system, the Video post-processing system
It is cached including compressed bit stream, the device includes:
Module is obtained, the video requency frame data to be processed provided for obtaining the Video post-processing system;
Cutting module, for being multiple independent to be compressed pieces by the video requency frame data cutting to be processed;
Compression module, for generating compressed bit stream to single to be compressed piece of progress compression processing;
Judgment module, for judging whether the compressed bit stream is less than or equal to default compressed bit stream length;
Grouping module is used for when the compressed bit stream is greater than the default compressed bit stream, by be compressed piece of the pixel
The first grouping pixel and second packet pixel are divided by interval;
First output pixel value generation module, for intercepting in the original pixel value of pixel to the first grouping pixel
First output pixel value is inputted institute by first output pixel value of the digit of high-order default interception numerical value as pixel
State compressed bit stream caching;
Second output pixel value generation module, for being grouped pixel according to adjacent first to the second packet pixel
The first output pixel value generate the second output pixel value, second output pixel value is inputted into compressed bit stream caching;
The second output pixel value generation module further comprises:
Prediction mode generates submodule, defeated using the first of the first adjacent grouping pixel to the second packet pixel
Pixel value out, generates prediction mode, and the prediction mode passes through position coded representation;
Second output pixel value determines submodule, for using prediction mode as the second output pixel of second packet pixel
Value.
6. device according to claim 5, which is characterized in that
It is each first grouping pixel the first output pixel value total length be first grouping pixel number with it is described pre-
If intercepting the product of numerical value;
The total length of second output pixel value of each second packet pixel for second packet pixel number and institute's rheme
The product of the digit of coding;
The total length and each second packet pixel of first output pixel value of each first grouping pixel
The sum of total length of second output pixel value is less than or equal to the default compressed bit stream length.
7. device according to claim 6, which is characterized in that the prediction mode includes: the using neighbouring left side
First output pixel value of one grouping pixel, and/or, the first output pixel value of the first grouping pixel on right side, and/
Or, the first output pixel value of the first grouping pixel of upside, and/or, the first output of the first grouping pixel of downside
Pixel value is as predicted value.
8. a kind of video data outputting, which is characterized in that be applied to Video post-processing system, the Video post-processing system
It is cached including compressed bit stream, the device includes:
Extraction module, for extracting the first output pixel value and second of the first grouping pixel from compressed bit stream caching
It is grouped the second output pixel value of pixel;
First decompressed pixel values generation module, for the first grouping pixel, the of the first grouping pixel
The low level of one output pixel value increases digit, as the first decompressed pixel values, the digit and original pixels of the first decompressed pixel values
The digit of value is identical;
Prediction mode determining module is used for the second packet pixel, defeated by the second of the second packet pixel
Pixel value determines the prediction mode of pixel out;
Second decompressed pixel values generation module, for selecting the first decompression of corresponding first grouping pixel by prediction mode
Pixel value is as the second decompressed pixel values;Wherein, the first grouping pixel and the second packet pixel are by wait press
The pixel of contracting block is divided by interval and is generated;First output pixel value is the original pixels of the first grouping pixel
The pixel value of the digit of high-order default interception numerical value in value;Second output pixel value is, using the second packet picture
The prediction mode that first output pixel value of the first adjacent grouping pixel of vegetarian refreshments generates, the prediction mode are encoded by position
It indicates.
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 CN105763826A (en) | 2016-07-13 |
CN105763826B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113614B (en) * | 2019-05-13 | 2022-04-12 | 格兰菲智能科技有限公司 | Image processing method and image processing apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011042905A1 (en) * | 2009-10-08 | 2011-04-14 | Hd Medix | Distributed video compression system |
CN104168483A (en) * | 2014-07-08 | 2014-11-26 | 大连民族学院 | Video compression method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8750383B2 (en) * | 2011-01-17 | 2014-06-10 | Exaimage Corporation | Systems and methods for wavelet and channel-based high definition video encoding |
-
2016
- 2016-02-22 CN CN201610096797.9A patent/CN105763826B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011042905A1 (en) * | 2009-10-08 | 2011-04-14 | Hd Medix | Distributed video compression system |
CN104168483A (en) * | 2014-07-08 | 2014-11-26 | 大连民族学院 | Video compression method and system |
Also Published As
Publication number | Publication date |
---|---|
CN105763826A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6472429B2 (en) | Method, apparatus and system for determining LUMA values | |
JP2023103291A (en) | Encoder, decoder and corresponding intra prediction method | |
CN105744275B (en) | A kind of input of video data, output method and device | |
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 | |
CN104125466A (en) | GPU (Graphics Processing Unit)-based HEVC (High Efficiency Video Coding) parallel decoding method | |
CN110234010B (en) | Video encoding method/apparatus and video decoding method/apparatus | |
KR102606722B1 (en) | Apparatus and method for deblocking filter in video coding | |
CA3155487A1 (en) | Apparatus and method for filtering in video coding | |
JP2017531355A (en) | System and method for reusing transformation structures for multi-partition transformations | |
CN105472442B (en) | Compressibility is cached outside a kind of piece for ultra high-definition frame rate up-conversion | |
CN108881915B (en) | Device and method for playing video based on DSC (differential scanning sequence) coding technology | |
KR20210023884A (en) | Method and apparatus for video encoding and decoding based on adaptive coefficient group | |
CN105763826B (en) | A kind of input of video data, output method and device | |
CN105763877B (en) | A kind of compression method and device of video frame pixel block | |
CN106954074B (en) | Video data processing method and device | |
JP2018524932A (en) | Display stream compression pixel format extension using sub-pixel packing | |
CN1954613A (en) | Device for producing progressive frames from interlaced encoded frames | |
US20210321093A1 (en) | Method and system of video coding with efficient intra block copying | |
CN105530519B (en) | A kind of intra-loop filtering method and device | |
CN106954073B (en) | Video data input and output method, device and system | |
JP2018507618A (en) | Method and apparatus for encoding and decoding color pictures | |
Petrinšak et al. | Challenges in 4K UHD multimedia device testing | |
JP6990172B2 (en) | Determination of luminance samples to be co-located with color component samples for HDR coding / decoding | |
CN107277508B (en) | Pixel-level bidirectional intra-frame prediction method adopting self-adaptive mode selection |
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 |