CN105744275B - 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
- CN105744275B CN105744275B CN201610096892.9A CN201610096892A CN105744275B CN 105744275 B CN105744275 B CN 105744275B CN 201610096892 A CN201610096892 A CN 201610096892A CN 105744275 B CN105744275 B CN 105744275B
- Authority
- CN
- China
- Prior art keywords
- compressed
- bit stream
- piece
- pixel
- compressed piece
- 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 67
- 230000006835 compression Effects 0.000 claims abstract description 93
- 238000007906 compression Methods 0.000 claims abstract description 93
- 238000012545 processing Methods 0.000 claims abstract description 39
- 238000005520 cutting process Methods 0.000 claims abstract description 31
- 230000006837 decompression Effects 0.000 claims description 33
- 230000008569 process Effects 0.000 claims description 30
- 230000011218 segmentation Effects 0.000 claims description 16
- 239000011159 matrix material Substances 0.000 claims description 15
- 238000005192 partition Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 13
- 230000033001 locomotion Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012805 post-processing Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect 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/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/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/129—Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (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, and treats compression blocks and be numbered;According to each to be compressed piece of number scanning, every one to be compressed piece of scanning is just grouped processing to the pixel in this to be compressed piece, obtains the grouping of different priorities;Treat compression blocks setting compression ratio;To the pixel of different grouping in one to be compressed piece, using corresponding compression ratio, according to the priority orders of grouping from high to low, compression processing is successively carried out, compressed bit stream is generated;By compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, to be compressed piece of compression ratio corresponding with compressed bit stream is input to compressed bit stream caching.It in the embodiment of the present application when decompressing the compressed bit stream that compression processing generates, need to only be decompressed according to the pixel of same to be compressed piece of inside, realizing to be compressed piece can be accessed randomly.
Description
Technical field
This application involves video technique fields, defeated more particularly to a kind of video data input method, a kind of video data
Method, a kind of video data input unit and a kind of video data outputting out.
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 system is the image sequence of one group of fixed frame per second, by range of motion
After estimation, vector post-processing and interpolating operations, output is the image sequence of one group of higher frame per second.
The ultra high-definition video frame rate upconversion process kernel of ultra high-definition video frame rate upconversion system is by a frame image cutting
It is multiple to be compressed pieces, in motion estimation operation, needs to obtain one to be compressed piece in a frame image and reference frame figure
Matched to be compressed piece motion vector is estimated as in.But around in current intra prediction, to be compressed piece of needs are relied on
To be compressed piece generate, the error between to be compressed piece will be transmitted, this will be so that motion vector error be larger.
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, is applied to ultra high-definition
Video frame rate upconversion system, the ultra high-definition video frame rate upconversion system include: video data input module and compressed code
Stream caching;The method includes:
Video requency frame data to be processed is obtained from the video data input module;
It is multiple independent to be compressed pieces by the video requency frame data cutting to be processed, and each to be compressed piece is carried out
Number;
According to described each to be compressed piece of number scanning, every one to be compressed piece of scanning is just to the pixel in this to be compressed piece
Point carries out packet transaction, obtains the grouping of different priorities;
To each to be compressed piece of setting compression ratio;
To the pixel of different grouping in one to be compressed piece, using corresponding compression ratio, according to the preferential of each grouping
Grade sequence successively carries out compression processing from high to low, generates compressed bit stream;
By the compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, it is corresponding with compressed bit stream to
The compression ratio of compression blocks is input to the compressed bit stream caching.
Preferably, described the step of each to be compressed piece is numbered, includes:
According to preset matrix format, to each to be compressed piece of distribution ranks generated by the same video requency frame data cutting
Value is as number.
Preferably, described the step of scanning described each to be compressed piece according to number, includes:
According to be compressed piece of ranks value, from left to right, to be compressed piece of mixed sweep line by line from right to left;
Or, according to be compressed piece of ranks value, under, to be compressed piece of mixed sweep by column from bottom to up.
Preferably, every one to be compressed piece of scanning is just grouped processing to the pixel in this to be compressed piece, obtains
Different priorities grouping the step of include:
Determine the pixel region to be split in be compressed piece;
It is two sub-regions by the pixel region even partition to be split;
For each sub-regions iteration even partition, until the interval of undivided pixel and the pixel divided is small
When 1, stop segmentation;
The priority of each pixel is generated according to the result successively divided;Wherein, the priority row of undivided pixel
Sequence is after the priority for the pixel divided.
Meanwhile disclosed herein as well is a kind of video data output methods, are applied to ultra high-definition video frame rate upconversion system
System, the ultra high-definition video frame rate upconversion system include: that ultra high-definition video frame rate upconversion process kernel and compressed bit stream are slow
It deposits;The method includes:
Receive the block of pixels acquisition request that the ultra high-definition video frame rate upconversion process kernel is submitted;
After receiving the block of pixels acquisition request, Xiang Suoshu compressed bit stream cache request compressed bit stream, compressed bit stream
Corresponding number, and, the corresponding compression ratio of compressed bit stream;
Decompression processing is carried out to the compressed bit stream using with the corresponding compression ratio matched decompression mode, generates solution
Block of pixels after pressure;
The corresponding number of block of pixels after the decompression and compressed bit stream is output on the ultra high-definition video frame rate and is become
Change process kernel.
Meanwhile disclosed herein as well is a kind of video data input units, are applied to ultra high-definition video frame rate upconversion system
System, the ultra high-definition video frame rate upconversion system include: video data input module and compressed bit stream caching;The device
Include:
Module is obtained, for obtaining video requency frame data to be processed from the video data input module;
Cutting number module, for being multiple independent to be compressed pieces by the video requency frame data cutting to be processed, and
Each to be compressed piece is numbered;
Grouping module is scanned, for according to described each to be compressed piece of number scanning, every one to be compressed piece of scanning to be just right
Pixel in this to be compressed piece is grouped processing, obtains the grouping of different priorities;
Compression ratio setup module, for each to be compressed piece of setting compression ratio;
Compression module, for the pixel to different grouping in one to be compressed piece, using corresponding compression ratio, according to each
The priority orders of a grouping successively carry out compression processing from high to low, generate compressed bit stream;
Input module is used for the compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, with pressure
Corresponding to be compressed piece of the compression ratio of contracting code stream is input to the compressed bit stream caching.
Preferably, the cutting number module further comprises:
Ranks value number submodule, for being generated to by the same video requency frame data cutting according to preset matrix format
Each to be compressed piece of alllocated lines train value as number.
Preferably, the scanning grouping module further comprises:
First mixed sweep submodule replaces line by line from right to left from left to right for the ranks value according to be compressed piece
Scan to be compressed piece;
Or,
Second mixed sweep submodule, for replacing by column from bottom to up according to be compressed piece of ranks value under
Scan to be compressed piece.
Preferably, the scanning grouping module further comprises:
Region determines submodule, for determining the pixel region to be split in be compressed piece;
First segmentation submodule, for being two sub-regions by the pixel region even partition to be split;
Second segmentation submodule, for being directed to each sub-regions iteration even partition, until undivided pixel and
When the interval of the pixel of segmentation is less than or equal to 1, stop segmentation;
Priority generates submodule, for generating the priority of each pixel according to the result successively divided;Wherein, do not divide
The priority ranking of the pixel cut is after the priority for the pixel divided.
Meanwhile disclosed herein as well is a kind of video data outputtings, are applied to ultra high-definition video frame rate upconversion system
System, the ultra high-definition video frame rate upconversion system include: that ultra high-definition video frame rate upconversion process kernel and compressed bit stream are slow
It deposits;The device includes:
Receiving module is asked for receiving the block of pixels acquisition that the ultra high-definition video frame rate upconversion process kernel is submitted
It asks;
Request module, for after receiving the block of pixels acquisition request, Xiang Suoshu compressed bit stream cache request to be compressed
Code stream, the corresponding number of compressed bit stream, and, the corresponding compression ratio of compressed bit stream;
Decompression module, for being solved using with the corresponding matched decompression mode of compression ratio to the compressed bit stream
Pressure processing, generates block of pixels after decompression;
Output module, for the corresponding number of block of pixels after the decompression and compressed bit stream to be output to the ultra high-definition
Video frame rate upconversion process kernel.
The embodiment of the present application includes the following advantages:
The embodiment of the present application is by being divided into different priorities for pixel in same to be compressed piece in compression processing
It is grouped, the pixel of different grouping carries out compression processing according to the higher grouping of priority in be compressed piece in be compressed piece, makes
It obtains when decompressing the compressed bit stream that compression processing generates, need to only be decompressed according to the pixel of same to be compressed piece of inside, and
It need not be decompressed according to other to be compressed piece, realizing to be compressed piece can be accessed randomly, and reduce between to be compressed piece accidentally
The transmitting of difference reduces the error that motion vector is generated in estimation.Meanwhile treat compression blocks and be numbered, compression when pair
Each to be compressed piece can be set different compression ratios, and be indexed according to be compressed piece of number, so that in decompression, it can
To determine corresponding compression ratio according to number, matched decompression mode is selected according to compression ratio.Realize flexible choice compression ratio.
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 a kind of step flow chart of video data output method embodiment of the application;
Fig. 6 is a kind of structural block diagram of video data input unit embodiment of the application;
Fig. 7 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 being multiple to be compressed pieces by video requency frame data cutting, by one
Pixel in be compressed piece is divided into the grouping of different priorities, and the pixel of different grouping is according to be compressed piece in be compressed piece
The middle higher grouping of priority carries out compression processing, meanwhile, it treats compression blocks and is numbered, in compression to each to be compressed piece
Different compression ratios can be set, and be indexed according to be compressed piece of number.
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 ultra high-definition video frame rate upconversion system, and the ultra high-definition video frame rate upconversion system includes: that video data is defeated
Enter module and compressed bit stream caching;The method can specifically include following steps:
Step 101, video requency frame data to be processed is obtained from the video data input module;
The video requency frame data for needing to carry out ultra high-definition video frame rate upconversion processing is obtained from video data input module.
It step 102, is multiple independent to be compressed pieces by the video requency frame data cutting to be processed, and to each wait press
Contracting block is numbered;
It is multiple independent to be compressed pieces by video requency frame data cutting to be processed, wherein to be compressed piece may include: bright
Spend to be compressed piece and to be compressed piece of coloration.
Mark is used as each to be compressed piece of distribution one unique number of same video requency frame data.
Step 103, according to described each to be compressed piece of number scanning, every one to be compressed piece of scanning is just to this to be compressed piece
In pixel be grouped processing, obtain the grouping of different priorities;
According to the sequence of number, each to be compressed piece is scanned, often scans through one to be compressed piece just in this to be compressed piece
Pixel be grouped processing, obtain the grouping of different priorities.
Step 104, to each to be compressed piece of setting compression ratio;
Identical compression ratio can be set between the compression ratio fixed to each to be compressed piece setting, to be compressed piece,
Different compression ratios can be set.
Step 105, to the pixel of different grouping in one to be compressed piece, using corresponding compression ratio, according to each point
The priority orders of group successively carry out compression processing from high to low, generate compressed bit stream;
To the pixel of different grouping in one to be compressed piece, the compression ratio being arranged in step 104 for be compressed piece is used
Compression processing is carried out, the pixel of grouping first high to priority carries out compression compression processing, then the grouping low to priority
Pixel carries out compression compression processing, so that the compressed bit stream generated meets set compression ratio.
The pixel of each grouping generates a subcode stream, the subcode stream of each grouping is beaten after compression processing
Packet is obtained to the to be compressed piece of compressed bit stream compressed.
Step 106, by the compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, with compressed bit stream
Corresponding to be compressed piece of compression ratio is input to the compressed bit stream caching.
By compressed bit stream, to be compressed piece of number of the compressed bit stream is generated, and, generate the to be compressed of the compressed bit stream
The compression ratio of block is input in compressed bit stream caching and stores, and when to decompress, can determine corresponding pressure according to corresponding number
Contracting ratio selects matched decompression mode according to compression ratio.
In the embodiment of the present application, it only needs to be decompressed according to the pixel of therein to generate for be compressed piece, and
It need not be decompressed according to other to be compressed piece.So that be compressed piece can be accessed randomly, reduce between to be compressed piece accidentally
The transmitting of difference reduces the error that motion vector is generated in estimation.Meanwhile treat compression blocks and be numbered, compression when pair
Each to be compressed piece can be set different compression ratios, and be indexed according to be compressed piece of number, so that in decompression, it can
To determine corresponding compression ratio according to number, matched decompression mode is selected according to compression ratio.Realize flexible choice compression ratio.
As a kind of preferable example of the embodiment of the present application, the 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.
It is that be compressed piece of multiple independent brightness and multiple independent colorations wait pressing by video requency frame data cutting to be processed
Contracting block, and to be compressed piece of each brightness and to be compressed piece of coloration are numbered.
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), is produced for high-quality video application, studio and professional video
Product.
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 be together as 64 × 2 matrixes wait press
Contracting 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 to
Compression blocks.
After being multiple to be compressed pieces by a video requency frame data cutting, to each to be compressed piece of same video requency frame data
It is numbered;As a kind of preferable example of the embodiment of the present application, the step 103 can specifically include following sub-step:
Sub-step S21, it is each to be compressed to being generated by the same video requency frame data cutting according to preset matrix format
Block alllocated lines train value is as number.
Specifically, assuming that a video requency frame data includes: 3840 × 2160 pixels;Each is 64 × 2 form,
The sample mode of video requency frame data are as follows: YCbCr 4:2:2.To be compressed piece of available 60 × 1080=64800 brightness and
64800 to be compressed piece of coloration, 129600 block of pixels in total.
Matrix format can be set to 60 × 2160,120 × 1080,240 × 540 etc. forms, as long as guaranteeing the row of matrix
The summation that it is to be compressed piece that train value, which is multiplied,.
For each to be compressed piece of allocation matrix ranks value as to be compressed piece of number.Then each according to number scanning
It is to be compressed piece, described each wait press according to number scanning in the step 104 as a kind of preferable example of the embodiment of the present application
The step of contracting block, can specifically include following sub-step:
Sub-step S31, according to be compressed piece of ranks value, from left to right, to be compressed piece of mixed sweep line by line from right to left;
It can be pressed from left to right from the smallest one to be compressed piece of row matrix train value according to be compressed piece of ranks value,
Alternate mode is scanned line by line from right to left;
Sub-step S32, or, from top to bottom, mixed sweep is to be compressed by column from bottom to up according to be compressed piece of ranks value
Block.
Can also according to be compressed piece of ranks value, from the smallest one to be compressed piece of row matrix train value, by from up to
Under, alternate mode is scanned by column from bottom to up;
Every one to be compressed piece of scanning is just grouped processing to the pixel in this to be compressed piece, obtains different priorities
Grouping.
As a kind of preferable example of the embodiment of the present application, the step of pixel in compression blocks is grouped processing is treated
It can specifically include following sub-step:
Sub-step S41 determines the pixel region to be split in be compressed piece;
Multiple pixel regions to be split are divided by be compressed piece first;The selection in pixel region to be split can
To be chosen according to luminance component therein, chromatic component;
The pixel region even partition to be split is two sub-regions by sub-step S42;
Each pixel region even partition to be split is two sub-regions, when in pixel region to be split
When the pixel number of every row is even number number, the pixel of two sub-regions is equal;When every in pixel region to be split
When capable pixel number is odd number number, the pixel of the pixel row more every than another sub-regions of one of every row of subregion
Point one more or less;
Sub-step S43, for each sub-regions iteration even partition, until undivided pixel and the pixel divided
When the interval of point is less than or equal to 1, stop segmentation;
Iteration even partition subregion, until the interval of undivided pixel and the pixel divided is less than or equal to
When 1, stop segmentation;
Sub-step S44 generates the priority of each pixel according to the result successively divided;Wherein, undivided pixel
Priority ranking after the priority for the pixel divided.
It will make the to be compressed piece of pixel for being divided into pixel region to be split, as first with highest priority
Grouping;
To make the pixel region segmentation to be split being made of the pixel of the first grouping is the picture of two sub-regions
Vegetarian refreshments, as the second packet with the second priority;
The pixel by second packet will be made to form the pixel that subregion is divided into two sub-regions, as having the
The third of three priority is grouped;
……
Until the pixel divided has distributed priority, then to undivided pixel allocation priority.
After the completion of grouping, to the pixel of different grouping in one to be compressed piece, according to the priority orders of grouping from height
It is extremely low, successively carry out compression processing.
Specifically, can be by high in the original pixel value of interception pixel for the pixel of the grouping of highest priority
The digit of the default value of position is as compress mode;The pixel of non-highest priority grouping needs point first according to priority
The compression result of the pixel of group compresses itself.
Referring to Fig. 5, a kind of step flow chart of video data output method embodiment of the application, the side are shown
Method is applied to ultra high-definition video frame rate upconversion system, and the ultra high-definition video frame rate upconversion system includes: ultra high-definition video
Frame rate up-conversion process kernel and compressed bit stream caching;The method can specifically include following steps:
Step 201, the block of pixels acquisition request that the ultra high-definition video frame rate upconversion process kernel is submitted is received;
When ultra high-definition video frame rate upconversion process kernel, which needs to obtain video requency frame data, carries out up-conversion process, to being
System block of pixels acquisition request.
Step 202, after receiving the block of pixels acquisition request, Xiang Suoshu compressed bit stream cache request compressed bit stream,
The corresponding number of compressed bit stream, and, the corresponding compression ratio of compressed bit stream;
It is slow to compressed bit stream after system gets the block of pixels acquisition request of ultra high-definition video frame rate upconversion process kernel
Deposit request compressed bit stream, the corresponding number of compressed bit stream, and, the corresponding compression ratio of compressed bit stream.
Step 203, the compressed bit stream is carried out at decompression using with the corresponding compression ratio matched decompression mode
Reason generates block of pixels after decompression;
The compressed bit stream generated using different compression ratios is needed using carrying out with the matched decompression mode of corresponding compression ratio
Decompression processing.
Step 204, the corresponding number of block of pixels after the decompression and compressed bit stream is output to the ultra high-definition video
Frame rate up-conversion process kernel.
By the block of pixels and corresponding number (the i.e. corresponding volume with compression blocks of compressed bit stream of compressed bit stream after decompression
Number) it is output to ultra high-definition video frame rate upconversion process kernel.It in subsequent processing, can be with each block of pixels according to corresponding volume
Number group is combined into a frame video requency frame data.
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. 6, a kind of structural block diagram of video data input unit embodiment of the application, the device are shown
Applied to ultra high-definition video frame rate upconversion system, the ultra high-definition video frame rate upconversion system includes: video data input
Module and compressed bit stream caching;The device can specifically include following module:
Module 31 is obtained, for obtaining video requency frame data to be processed from the video data input module;
Cutting number module 32, for being multiple independent to be compressed pieces by the video requency frame data cutting to be processed,
And each to be compressed piece is numbered;
Grouping module 33 is scanned, for according to described each to be compressed piece of number scanning, every one to be compressed piece of scanning to be just
Processing is grouped to the pixel in this to be compressed piece, obtains the grouping of different priorities;
Compression ratio setup module 34, for each to be compressed piece of setting compression ratio;
Compression module 35, for the pixel to different grouping in one to be compressed piece, using corresponding compression ratio, according to
The priority orders of each grouping successively carry out compression processing from high to low, generate compressed bit stream;
Input module 36 is used for the compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, with
Corresponding to be compressed piece of the compression ratio of compressed bit stream is input to the compressed bit stream caching.
As a kind of preferable example of the embodiment of the present application, the cutting number module 32 be may further include:
Ranks value number submodule, for being generated to by the same video requency frame data cutting according to preset matrix format
Each to be compressed piece of alllocated lines train value as number.
As a kind of preferable example of the embodiment of the present application, the scanning grouping module 33 be may further include:
First mixed sweep submodule replaces line by line from right to left from left to right for the ranks value according to be compressed piece
Scan to be compressed piece;
Or,
Second mixed sweep submodule replaces by column from bottom to up from top to bottom for the ranks value according to be compressed piece
Scan to be compressed piece.
As a kind of preferable example of the embodiment of the present application, the scanning grouping module 33 be may further include:
Region determines submodule, for determining the pixel region to be split in be compressed piece;
First segmentation submodule, for being two sub-regions by the pixel region even partition to be split;
Second segmentation submodule, for being directed to each sub-regions iteration even partition, until undivided pixel and
When the interval of the pixel of segmentation is less than or equal to 1, stop segmentation;
Priority generates submodule, for generating the priority of each pixel according to the result successively divided;Wherein, do not divide
The priority ranking of the pixel cut is after the priority for the pixel divided.
Referring to Fig. 7, a kind of structural block diagram of video data outputting embodiment of the application, the device are shown
Applied to ultra high-definition video frame rate upconversion system, the ultra high-definition video frame rate upconversion system includes: ultra high-definition video frame
Rate up-conversion process kernel and compressed bit stream caching;The device can specifically include following module:
Receiving module 41 is asked for receiving the block of pixels acquisition that the ultra high-definition video frame rate upconversion process kernel is submitted
It asks;
Request module 42, for after receiving the block of pixels acquisition request, Xiang Suoshu compressed bit stream cache request pressure
Contracting code stream, the corresponding number of compressed bit stream, and, the corresponding compression ratio of compressed bit stream;
Decompression module 43, for being carried out using with the corresponding matched decompression mode of compression ratio to the compressed bit stream
Decompression processing generates block of pixels after decompression;
Output module 44, for the corresponding number of block of pixels after the decompression and compressed bit stream to be output to the superelevation
Clear video frame rate upconversion process kernel.
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 ultra high-definition video frame rate upconversion system, the superelevation
Clear video frame rate upconversion system includes: video data input module and compressed bit stream caching;The method includes:
Video requency frame data to be processed is obtained from the video data input module;
It is multiple independent to be compressed pieces by the video requency frame data cutting to be processed, and each to be compressed piece is compiled
Number;
According to described each to be compressed piece of number scanning, every one to be compressed piece of scanning just clicks through the pixel in this to be compressed piece
Row packet transaction obtains the grouping of different priorities;
To each to be compressed piece of setting compression ratio;
To the pixel of different grouping in one to be compressed piece, using corresponding compression ratio, the priority according to each grouping is suitable
Sequence successively carries out compression processing from high to low, generates compressed bit stream;
By the compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, it is corresponding with compressed bit stream to be compressed
The compression ratio of block is input to the compressed bit stream caching;
Wherein, every one to be compressed piece of scanning is just grouped processing to the pixel in this to be compressed piece, obtains different
The step of grouping of priority includes:
Determine the pixel region to be split in be compressed piece;
It is two sub-regions by the pixel region even partition to be split;
For each sub-regions iteration even partition, be less than until the interval of undivided pixel and the pixel divided or
When equal to 1, stop segmentation;
The priority of each pixel is generated according to the result successively divided;Wherein, the priority ranking of undivided pixel exists
After the priority for the pixel divided.
2. the method according to claim 1, wherein the step of each to be compressed piece is numbered packet
It includes:
According to preset matrix format, each to be compressed piece of alllocated lines train value generated by the same video requency frame data cutting is made
For number.
3. according to the method described in claim 2, it is characterized in that, described scan each to be compressed piece of step according to number
Suddenly include:
According to be compressed piece of ranks value, from left to right, to be compressed piece of mixed sweep line by line from right to left;
Or, according to be compressed piece of ranks value, from top to bottom, to be compressed piece of mixed sweep by column from bottom to up.
4. a kind of video data output method, which is characterized in that be applied to ultra high-definition video frame rate upconversion system, the superelevation
Clear video frame rate upconversion system includes: ultra high-definition video frame rate upconversion process kernel and compressed bit stream caching;The side
Method includes:
Receive the block of pixels acquisition request that the ultra high-definition video frame rate upconversion process kernel is submitted;
After receiving the block of pixels acquisition request, Xiang Suoshu compressed bit stream cache request compressed bit stream, compressed bit stream is corresponded to
Number, and, the corresponding compression ratio of compressed bit stream;
Decompression processing is carried out to the compressed bit stream using with the corresponding compression ratio matched decompression mode, after generating decompression
Block of pixels;
The corresponding number of block of pixels after the decompression and compressed bit stream is output at the ultra high-definition video frame rate upconversion
Manage kernel.
5. a kind of video data input unit, which is characterized in that be applied to ultra high-definition video frame rate upconversion system, the superelevation
Clear video frame rate upconversion system includes: video data input module and compressed bit stream caching;The device includes:
Module is obtained, for obtaining video requency frame data to be processed from the video data input module;
Cutting number module, for being multiple independent to be compressed pieces by the video requency frame data cutting to be processed, and to each
A to be compressed piece is numbered;
Grouping module is scanned, for according to described each to be compressed piece of number scanning, every one to be compressed piece of scanning just to wait for this
Pixel in compression blocks is grouped processing, obtains the grouping of different priorities;
Compression ratio setup module, for each to be compressed piece of setting compression ratio;
Compression module, for the pixel to different grouping in one to be compressed piece, using corresponding compression ratio, according to each point
The priority orders of group successively carry out compression processing from high to low, generate compressed bit stream;
Input module is used for the compressed bit stream, to be compressed piece of number corresponding with compressed bit stream, and, with compressed code
Corresponding to be compressed piece of compression ratio is flowed, the compressed bit stream caching is input to;
Wherein, the scanning grouping module further comprises:
Region determines submodule, for determining the pixel region to be split in be compressed piece;
First segmentation submodule, for being two sub-regions by the pixel region even partition to be split;
Second segmentation submodule, for be directed to each sub-regions iteration even partition, until undivided pixel with divided
Pixel interval be less than or equal to 1 when, stop segmentation;
Priority generates submodule, for generating the priority of each pixel according to the result successively divided;Wherein, undivided
The priority ranking of pixel is after the priority for the pixel divided.
6. device according to claim 5, which is characterized in that the cutting number module further comprises:
Ranks value number submodule is used for according to preset matrix format, each to being generated by the same video requency frame data cutting
A to be compressed piece of alllocated lines train value is as number.
7. device according to claim 6, which is characterized in that the scanning grouping module further comprises:
First mixed sweep submodule, for the ranks value according to be compressed piece, from left to right, mixed sweep line by line from right to left
To be compressed piece;
Or,
Second mixed sweep submodule, for the ranks value according to be compressed piece, from top to bottom, mixed sweep by column from bottom to up
To be compressed piece.
8. a kind of video data outputting, which is characterized in that be applied to ultra high-definition video frame rate upconversion system, the superelevation
Clear video frame rate upconversion system includes: ultra high-definition video frame rate upconversion process kernel and compressed bit stream caching;The dress
It sets and includes:
Receiving module, the block of pixels acquisition request submitted for receiving the ultra high-definition video frame rate upconversion process kernel;
Request module, for after receiving the block of pixels acquisition request, Xiang Suoshu compressed bit stream cache request compressed bit stream,
The corresponding number of compressed bit stream, and, the corresponding compression ratio of compressed bit stream;
Decompression module, for being carried out at decompression using with the corresponding matched decompression mode of compression ratio to the compressed bit stream
Reason generates block of pixels after decompression;
Output module, for the corresponding number of block of pixels after the decompression and compressed bit stream to be output to the ultra high-definition video
Frame rate up-conversion process kernel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610096892.9A CN105744275B (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 |
---|---|---|---|
CN201610096892.9A CN105744275B (en) | 2016-02-22 | 2016-02-22 | A kind of input of video data, output method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105744275A CN105744275A (en) | 2016-07-06 |
CN105744275B true CN105744275B (en) | 2019-04-05 |
Family
ID=56246158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610096892.9A Active CN105744275B (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) | CN105744275B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10616383B2 (en) * | 2016-09-26 | 2020-04-07 | Samsung Display Co., Ltd. | System and method for electronic data communication |
CN106713928B (en) * | 2016-12-29 | 2020-04-10 | 深圳Tcl数字技术有限公司 | Video encoding and decoding method and device |
CN110933413A (en) * | 2018-09-20 | 2020-03-27 | 北京君正集成电路股份有限公司 | Video frame processing method and device |
CN110933442B (en) * | 2018-09-20 | 2022-05-13 | 北京君正集成电路股份有限公司 | 16x4 level reference frame compression method and device |
CN110933443A (en) * | 2018-09-20 | 2020-03-27 | 北京君正集成电路股份有限公司 | Video reconstruction frame storage method and device |
CN110933444B (en) * | 2018-09-20 | 2021-10-29 | 北京君正集成电路股份有限公司 | Bit width value storage method and device |
CN113556540A (en) * | 2021-07-30 | 2021-10-26 | 深圳市爱协生科技有限公司 | Fixed ratio compression method and system for image display device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101527849A (en) * | 2009-03-30 | 2009-09-09 | 清华大学 | Storing system of integrated video decoder |
CN101583033A (en) * | 2009-06-05 | 2009-11-18 | 中山大学 | Method for protecting H.264 video data by using robust watermarks |
CN103259987A (en) * | 2013-05-09 | 2013-08-21 | 无锡北斗星通信息科技有限公司 | Transmitter for terrestrial channel transmission of ultra high definition digital television signal |
CN103583044A (en) * | 2011-01-31 | 2014-02-12 | 韩国电子通信研究院 | Method and apparatus for encoding/decoding images using a motion vector |
CN103634556A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Information transmission method, information receiving method and electronic apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9734548B2 (en) * | 2012-10-26 | 2017-08-15 | Nvidia Corporation | Caching of adaptively sized cache tiles in a unified L2 cache with surface compression |
-
2016
- 2016-02-22 CN CN201610096892.9A patent/CN105744275B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101527849A (en) * | 2009-03-30 | 2009-09-09 | 清华大学 | Storing system of integrated video decoder |
CN101583033A (en) * | 2009-06-05 | 2009-11-18 | 中山大学 | Method for protecting H.264 video data by using robust watermarks |
CN103583044A (en) * | 2011-01-31 | 2014-02-12 | 韩国电子通信研究院 | Method and apparatus for encoding/decoding images using a motion vector |
CN103634556A (en) * | 2012-08-27 | 2014-03-12 | 联想(北京)有限公司 | Information transmission method, information receiving method and electronic apparatus |
CN103259987A (en) * | 2013-05-09 | 2013-08-21 | 无锡北斗星通信息科技有限公司 | Transmitter for terrestrial channel transmission of ultra high definition digital television signal |
Also Published As
Publication number | Publication date |
---|---|
CN105744275A (en) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105744275B (en) | A kind of input of video data, output method and device | |
JP6334006B2 (en) | System and method for high content adaptive quality restoration filtering for video coding | |
CN105677279B (en) | Desktop area sharing method, system and corresponding shared end and viewing end | |
WO2020140892A1 (en) | Method for processing projection-based frame | |
CN106937113B (en) | Image compression method and device based on mixed chroma sampling rate | |
EP3113495A1 (en) | Methods and devices for encoding and decoding a hdr color picture | |
KR101946598B1 (en) | Image coding and decoding method and device | |
US7215708B2 (en) | Resolution downscaling of video images | |
US9305332B2 (en) | Creating details in an image with frequency lifting | |
US8958642B2 (en) | Method and device for image processing by image division | |
CN104581177A (en) | Image compression method and device combining block matching with string matching | |
CN104754362A (en) | Image compression method using fine division block matching | |
US20140267922A1 (en) | Control of frequency lifting super-resolution with image features | |
KR20220112783A (en) | Block-based compression autoencoder | |
CN107667532A (en) | Conversion for non-baseband signal code selects | |
US20050196056A1 (en) | Image coding and decoding method | |
EP2415023A1 (en) | System and format for encoding data and three-dimensional rendering | |
Jacobson et al. | A new display stream compression standard under development in VESA | |
CN107197295B (en) | A kind of coded system and method | |
CN105763826B (en) | A kind of input of video data, output method and device | |
CN106954074B (en) | Video data processing method and device | |
CN106954073B (en) | Video data input and output method, device and system | |
Wu et al. | Tunneling high-resolution color content through 4: 2: 0 HEVC and AVC video coding systems | |
Petrinšak et al. | Challenges in 4K UHD multimedia device testing | |
CN112087636B (en) | Image coding processing method and device, storage medium and terminal |
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 |