CN109587502A - A kind of method, apparatus of frame data compression, equipment and computer readable storage medium - Google Patents

A kind of method, apparatus of frame data compression, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109587502A
CN109587502A CN201811639838.XA CN201811639838A CN109587502A CN 109587502 A CN109587502 A CN 109587502A CN 201811639838 A CN201811639838 A CN 201811639838A CN 109587502 A CN109587502 A CN 109587502A
Authority
CN
China
Prior art keywords
frame
intra
preanalysis
prediction result
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811639838.XA
Other languages
Chinese (zh)
Other versions
CN109587502B (en
Inventor
邹箭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201811639838.XA priority Critical patent/CN109587502B/en
Publication of CN109587502A publication Critical patent/CN109587502A/en
Application granted granted Critical
Publication of CN109587502B publication Critical patent/CN109587502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/172Methods 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 picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

This application discloses a kind of methods of frame data compression, comprising: carries out preanalysis to each input frame and obtains preanalysis result;The preanalysis intra-prediction result of down-sampling frame is obtained from preanalysis result;The intra-prediction result of down-sampling frame other sizes is calculated according to preanalysis intra-prediction result;Each down-sampling frame is compressed according to the intra-prediction result of each size.The application passes through the intra-prediction result according to preanalysis intra-prediction result calculating down-sampling frame other sizes, the intra-prediction result of down-sampling frame other sizes is calculated further according to preanalysis intra-prediction result, finally each down-sampling frame is compressed according to the intra-prediction result of each size, the intra-prediction result for each size for successively calculating input frame is not needed, intra-prediction process is simplified, the purpose for reducing the computation complexity of frame data compression is realized.The application additionally provides the system, equipment and computer readable storage medium of a kind of frame data compression simultaneously, has above-mentioned beneficial effect.

Description

A kind of method, apparatus of frame data compression, equipment and computer readable storage medium
Technical field
This application involves digital video coding field, in particular to a kind of method, apparatus of frame data compression, equipment and calculating Machine readable storage medium storing program for executing.
Background technique
With the fast development of multimedia technology, the video datas of various resolution ratio (including SD, high definition and ultra high-definition view Frequently occur in succession), the transimission and storage faces enormous challenge of video data.For the development for meeting video data compression and transmission Demand, Video coding joint specialist group (the Joint Collaborative Team on organized by ISO/IEC and ITU-T Video Coding, JCT-VC) formulate high efficiency video encoding standard (High Efficiency Video of new generation Coding, HEVC/H.265).Under identical video quality, HEVC with the video encoding standard of prior-generation H.264 compared with reduce The code stream of half or so.
At present the main means also in Developing Extension stage video compress be removed by prediction it is intraframe or interframe superfluous Remaining information.Prediction is one of core technology of video compress, correspondingly, two kinds of prediction modes of video compress are pre- in frame respectively Survey and inter-prediction.The intra prediction of HEVC supports 4x4,8x8,16x16,32x32,64x64 equidimension, and support brightness and The intra prediction of coloration.
HEVC intra prediction mode is more rich and varied than H.264, can more be suitble to encode high-resolution video, but this Increase the computation complexity of HEVC intraframe coding.
Therefore, how to reduce the computation complexity of frame data compression is that the technology that those skilled in the art need to solve at present is asked Topic.
Summary of the invention
The purpose of the application is to provide the method, apparatus, equipment and computer readable storage medium of a kind of frame data compression, uses In the computation complexity for reducing frame data compression.
In order to solve the above technical problems, the application provides a kind of method of frame data compression, this method comprises:
Preanalysis is carried out to each input frame and obtains preanalysis result;
The preanalysis intra-prediction result of down-sampling frame is obtained from the preanalysis result;
The intra-prediction result of the down-sampling frame other sizes is calculated according to the preanalysis intra-prediction result;
Each down-sampling frame is compressed according to the intra-prediction result of each size.
It is optionally, described that preanalysis result is obtained to the progress preanalysis of each input frame, comprising:
Down-sampling is carried out to each input frame, obtains the down-sampling frame;
Default macro block is carried out to the down-sampling frame to divide, and the preanalysis frame is calculated according to obtained each default macro block Interior prediction result;
The combination cost of P, B frame of the down-sampling frame is calculated according to the preanalysis intra-prediction result;
Select frame type of the integrated mode of the smallest P, B frame of cost as the down-sampling frame, and by the frame type As the preanalysis result.
Optionally, after being compressed according to the intra-prediction result of each size to each down-sampling frame, further includes:
Interframe compression is carried out to each down-sampling frame according to the preanalysis result.
Optionally, the default macro block is specially 8 × 8 pieces.
Optionally, the default macro block is specially 4 × 4 pieces.
Optionally, the intra prediction knot of the down-sampling frame other sizes is calculated according to the preanalysis intra-prediction result Fruit, comprising:
Each pixel value of the down-sampling frame is determined according to the preanalysis intra-prediction result;
The reference pixel of the macro block of each size is obtained, and the reference pixel is filtered;
The predicted pixel values of the macro block of each size are calculated according to filtered reference pixel, and according to the prediction picture Element value calculates the intra-prediction result of the down-sampling frame other sizes.
The application also provides a kind of device of frame data compression, which includes:
Pre-analysis module obtains preanalysis result for carrying out preanalysis to each input frame;
Module is obtained, for obtaining the preanalysis intra-prediction result of down-sampling frame from the preanalysis result;
Computing module, in the frame for calculating the down-sampling frame other sizes according to the preanalysis intra-prediction result Prediction result;
Compression module, for being compressed according to the intra-prediction result of each size to each down-sampling frame.
Optionally, the pre-analysis module includes:
Down-sampling submodule obtains the down-sampling frame for carrying out down-sampling to each input frame;
Submodule is divided, is divided for carrying out default macro block to the down-sampling frame, and according to obtained each default macro block Calculate the preanalysis intra-prediction result;
First computational submodule, for calculating P, B frame of the down-sampling frame according to the preanalysis intra-prediction result Combination cost;
Submodule is selected, for selecting frame type of the integrated mode of the smallest P, B frame of cost as the down-sampling frame, And using the frame type as the preanalysis result.
The application also provides a kind of frame data compression equipment, which includes:
Memory, for storing computer program;
Processor realizes the step of the method for frame data compression as described in any of the above-described when for executing the computer program Suddenly.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium Machine program is realized as described in any of the above-described when the computer program is executed by processor the step of the method for frame data compression.
The method of frame data compression provided herein, comprising: preanalysis is carried out to each input frame and obtains preanalysis result; The preanalysis intra-prediction result of down-sampling frame is obtained from preanalysis result;It is adopted under being calculated according to preanalysis intra-prediction result The intra-prediction result of sample frame other sizes;Each down-sampling frame is compressed according to the intra-prediction result of each size.
Technical solution provided herein uses primitive frame based on the 8x8 intra prediction in preanalysis result Down-sampling frame, image content is constant, so that the intra prediction knot of the preanalysis intra-prediction result in preanalysis result and standard The degree of correlation of fruit is especially high, thus the application by from preanalysis result obtain down-sampling frame preanalysis intra-prediction result, Then the intra-prediction result that down-sampling frame other sizes are calculated according to preanalysis intra-prediction result, further according in preanalysis frame Prediction result calculates the intra-prediction result of down-sampling frame other sizes, finally according to the intra-prediction result of each size under each Sample frame is compressed, and is not needed the intra-prediction result for each size for successively calculating input frame, is simplified intra prediction mistake Journey realizes the purpose for reducing the computation complexity of frame data compression.The application simultaneously additionally provide a kind of frame data compression device, Equipment and computer readable storage medium have above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the method for frame data compression provided by the embodiment of the present application;
Fig. 2 is a kind of flow chart of practical manifestation mode of S103 in a kind of method of frame data compression provided by Fig. 1;
Fig. 3 is a kind of flow chart of practical manifestation mode of S101 in a kind of method of frame data compression provided by Fig. 1;
Fig. 4 is a kind of structure chart of the device of frame data compression provided by the embodiment of the present application;
Fig. 5 is the structure chart of the device of another kind frame data compression provided by the embodiment of the present application;
Fig. 6 is a kind of structure chart of frame data compression equipment provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide the method, apparatus, equipment and computer readable storage medium of a kind of frame data compression, uses In the computation complexity for reducing frame data compression.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of the method for frame data compression provided by the embodiment of the present application.
It specifically comprises the following steps:
S101: preanalysis is carried out to each input frame and obtains preanalysis result;
Preanalysis is a kind of processing module for Approximation Coding process that current HEVC encoder generallys use, for example, most writing The open source HEVC encoder x265 of name, it realizes the preanalysis function of being collectively referred to as lookahead, and which includes frame types The functions such as judgement, adaptive quantizing AQ, cutree, the intra prediction simplified, the ME simplified.Through Moscow State University MSU public affairs The encoder contest test report opened it is found that x265 in compression efficiency better than other a plurality of similar HEVC encoders, it is most main Wanting reason is exactly its pre-analysis module for possessing an excellent.
However, x265, which realizes the intra prediction simplified in the part lookahead, obtains preanalysis intra-prediction result, but Other than carrying out the judgement of frame type using the preanalysis intra-prediction result, subsequent cataloged procedure is not applied it to In, cause the waste of certain computing resource.
S102: the preanalysis intra-prediction result of down-sampling frame is obtained from preanalysis result;
The down-sampling frame of primitive frame is used based on the intra prediction simplified in preanalysis result, image content is constant, So that the degree of correlation of the preanalysis intra-prediction result in preanalysis result and the intra-prediction result of standard is especially high, therefore this Shen The preanalysis intra-prediction result of down-sampling frame is please obtained from preanalysis result, and is used for the compression to down-sampling frame, So that intra-prediction process simplifies, to reduce the computation complexity of frame data compression;
Optionally, preanalysis intra-prediction result mentioned herein is specifically as follows 8x8 intra-prediction result, and user can also According to demand or personal preference is modified pre-analysis process, so that the preanalysis intra prediction in obtained preanalysis result As a result or 4x4 intra-prediction result, 16x16 intra-prediction result or 32x32 intra-prediction result etc., the application is to this It is not specifically limited.
S103: the intra-prediction result of down-sampling frame other sizes is calculated according to preanalysis intra-prediction result;
The intra-prediction result of down-sampling frame other sizes mentioned herein be remove the preanalysis intra-prediction result with The intra-prediction result of outer other sizes, for example, when preanalysis intra-prediction result be 8x8 intra-prediction result when, under adopt The intra-prediction result of sample frame other sizes can specifically include 4x4 intra-prediction result, 16x16 intra-prediction result and 32x32 intra-prediction result;
The application calculates the intra-prediction result of down-sampling frame other sizes according to preanalysis intra-prediction result, does not need The intra-prediction result for successively calculating each size of input frame, further simplifies intra-prediction process;
Optionally, the intra prediction mentioned herein that down-sampling frame other sizes are calculated according to preanalysis intra-prediction result As a result, it is specifically as follows each pixel value as shown in Figure 2 for determining down-sampling frame according to preanalysis intra-prediction result, then Calculate separately the intra-prediction result of sample frame other sizes;
Referring to FIG. 2, a kind of practical manifestation mode of the Fig. 2 for S103 in a kind of method of frame data compression provided by Fig. 1 Flow chart.
Itself specifically includes the following steps:
S201: each pixel value of down-sampling frame is determined according to preanalysis intra-prediction result;
S202: the reference pixel of the macro block of each size is obtained, and reference pixel is filtered;
S203: the predicted pixel values of the macro block of each size are calculated according to filtered reference pixel, and according to prediction pixel Value calculates the intra-prediction result of down-sampling frame other sizes.
Optionally, the intra-prediction result of down-sampling frame other sizes, tool are calculated according to preanalysis intra-prediction result Body may be simply to be derived according to preanalysis intra-prediction result to the intra-prediction result of down-sampling frame other sizes It obtains.
S104: each down-sampling frame is compressed according to the intra-prediction result of each size.
After the intra-prediction result that each size of down-sampling frame has been determined, using rate-distortion optimization technology, out of several frames The reckling of selection rate distortion costs is as best intra prediction as a result, then according to best intra-prediction result in prediction result The down-sampling frame is compressed.
Based on the above-mentioned technical proposal, the method for a kind of frame data compression provided herein, by from preanalysis result The preanalysis intra-prediction result of down-sampling frame is obtained, other rulers of down-sampling frame are then calculated according to preanalysis intra-prediction result Very little intra-prediction result calculates the intra-prediction result of down-sampling frame other sizes further according to preanalysis intra-prediction result, Finally each down-sampling frame is compressed according to the intra-prediction result of each size, does not need each ruler for successively calculating input frame Very little intra-prediction result, simplifies intra-prediction process, realizes the purpose for reducing the computation complexity of frame data compression.
It is directed to the step S101 of an embodiment, wherein described obtain pre- point to the progress preanalysis of each input frame Analysis is as a result, its detailed process can be with as shown in figure 3, turning next to Fig. 3, Fig. 3 be a kind of side of frame data compression provided by Fig. 1 The flow chart of a kind of practical manifestation mode of S101 in method.
Itself specifically includes the following steps:
S301: down-sampling is carried out to each input frame, obtains down-sampling frame;
S302: carrying out default macro block to down-sampling frame and divide, and is calculated in preanalysis frame according to obtained each default macro block Prediction result;
Optionally, default macro block mentioned herein, is specifically as follows 8 × 8 pieces, or 4 × 4 pieces, can also be 16x16 block or other sizes correspond to and obtain 8x8 intra-prediction result, 4x4 intra-prediction result, 16x16 intra-prediction result, User can according to demand be modified pre-analysis process.
S303: the combination cost of P, B frame of down-sampling frame is calculated according to preanalysis intra-prediction result;
S304: selecting frame type of the integrated mode of the smallest P, B frame of cost as down-sampling frame, and using frame type as Preanalysis result.
It preferably, can also basis after being compressed according to the intra-prediction result of each size to each down-sampling frame The preanalysis result carries out interframe compression to each down-sampling frame.
Referring to FIG. 4, Fig. 4 is a kind of structure chart of the device of frame data compression provided by the embodiment of the present application.
The apparatus may include:
Pre-analysis module 100 obtains preanalysis result for carrying out preanalysis to each input frame;
Module 200 is obtained, for obtaining the preanalysis intra-prediction result of down-sampling frame from preanalysis result;
Computing module 300, for calculating the intra prediction of down-sampling frame other sizes according to preanalysis intra-prediction result As a result;
Compression module 400, for being compressed according to the intra-prediction result of each size to each down-sampling frame.
Referring to FIG. 5, Fig. 5 is the structure chart of the device of another kind frame data compression provided by the embodiment of the present application.
The pre-analysis module 100 may include:
Down-sampling submodule obtains down-sampling frame for carrying out down-sampling to each input frame;
Submodule is divided, is divided for carrying out default macro block to down-sampling frame, and is calculated according to obtained each default macro block Preanalysis intra-prediction result;
First computational submodule, the combination generation of P, B frame for calculating down-sampling frame according to preanalysis intra-prediction result Valence;
Submodule is selected, for selecting frame type of the integrated mode of the smallest P, B frame of cost as down-sampling frame, and will Frame type is as preanalysis result.
The device can also include:
Interframe module, for carrying out interframe compression to each down-sampling frame according to preanalysis result.
The computing module 300 may include:
Submodule is determined, for determining each pixel value of down-sampling frame according to preanalysis intra-prediction result;
Acquisition submodule, the reference pixel of the macro block for obtaining each size, and reference pixel is filtered;
Second computational submodule, the predicted pixel values of the macro block for calculating each size according to filtered reference pixel, And the intra-prediction result of down-sampling frame other sizes is calculated according to predicted pixel values.
Since the embodiment of device part is corresponded to each other with the embodiment of method part, the embodiment of device part is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Referring to FIG. 6, Fig. 6 is a kind of structure chart of frame data compression equipment provided by the embodiment of the present application.
In the present embodiment, frame data compression equipment 1 can be PC (PersonalComputer, PC), can also be with It is smart phone, tablet computer, palm PC, portable computer.
As shown in fig. 6, the frame data compression equipment 1 may include memory 11, processor 12 and bus 13.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 It can be the internal storage unit of frame data compression equipment 1, such as the hard disk of the frame data compression equipment 1 in some embodiments.It deposits Reservoir 11 is also possible in further embodiments on the External memory equipment of frame data compression equipment 1, such as frame data compression equipment 1 The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) Card, flash card (Flash Card) etc..Further, memory 11 can also both include the storage inside of frame data compression equipment 1 Unit also includes External memory equipment.Memory 11 can be not only used for the application software that storage is installed on frame data compression equipment 1 And Various types of data, such as the code of frame data compression program 01 etc., it can be also used for temporarily storing and exported or will be defeated Data out.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute frame data compression program 01 etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 6 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, frame data compression equipment can also include network interface 14, and network interface 14 may include optionally having Line interface and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in the equipment 1 and other electronic equipments it Between establish communication connection.
Optionally, which can also include user interface, and user interface may include display (Display), input Unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It is optional Ground, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Wherein, display can also be appropriate Referred to as display screen or display unit, for being shown in the information handled in frame data compression equipment 1 and for showing visually User interface.
Fig. 6 illustrates only the frame data compression equipment 1 with component 11-14 and frame data compression program 01, art technology Personnel may include than illustrating more it is understood that the structure shown in Fig. 6 does not constitute the restriction to frame data compression equipment 1 Perhaps more component perhaps combines certain components or different component layouts less.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed equipment, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or module It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method of frame data compression, which is characterized in that the described method includes:
Preanalysis is carried out to each input frame and obtains preanalysis result;
The preanalysis intra-prediction result of down-sampling frame is obtained from the preanalysis result;
The intra-prediction result of the down-sampling frame other sizes is calculated according to the preanalysis intra-prediction result;
Each down-sampling frame is compressed according to the intra-prediction result of each size.
2. the method according to claim 1, wherein described obtain preanalysis to the progress preanalysis of each input frame As a result, comprising:
Down-sampling is carried out to each input frame, obtains the down-sampling frame;
Default macro block is carried out to the down-sampling frame to divide, and is calculated in the preanalysis frame in advance according to obtained each default macro block Survey result;
The combination cost of P, B frame of the down-sampling frame is calculated according to the preanalysis intra-prediction result;
Select frame type of the integrated mode of the smallest P, B frame of cost as the down-sampling frame, and using the frame type as The preanalysis result.
3. according to the method described in claim 2, it is characterized in that, according to the intra-prediction result of each size to it is each it is described under After sample frame is compressed, further includes:
Interframe compression is carried out to each down-sampling frame according to the preanalysis result.
4. according to the method described in claim 2, it is characterized in that, the default macro block is specially 8 × 8 pieces.
5. according to the method described in claim 2, it is characterized in that, the default macro block is specially 4 × 4 pieces.
6. the method according to claim 1, wherein according to the preanalysis intra-prediction result calculate it is described under The intra-prediction result of sample frame other sizes, comprising:
Each pixel value of the down-sampling frame is determined according to the preanalysis intra-prediction result;
The reference pixel of the macro block of each size is obtained, and the reference pixel is filtered;
The predicted pixel values of the macro block of each size are calculated according to filtered reference pixel, and according to the predicted pixel values Calculate the intra-prediction result of the down-sampling frame other sizes.
7. a kind of device of frame data compression, which is characterized in that described device includes:
Pre-analysis module obtains preanalysis result for carrying out preanalysis to each input frame;
Module is obtained, for obtaining the preanalysis intra-prediction result of down-sampling frame from the preanalysis result;
Computing module, for calculating the intra prediction of the down-sampling frame other sizes according to the preanalysis intra-prediction result As a result;
Compression module, for being compressed according to the intra-prediction result of each size to each down-sampling frame.
8. device according to claim 7, which is characterized in that the pre-analysis module includes:
Down-sampling submodule obtains the down-sampling frame for carrying out down-sampling to each input frame;
Submodule is divided, is divided for carrying out default macro block to the down-sampling frame, and is calculated according to obtained each default macro block The preanalysis intra-prediction result;
First computational submodule, the group of P, B frame for calculating the down-sampling frame according to the preanalysis intra-prediction result Close cost;
Submodule is selected, for selecting frame type of the integrated mode of the smallest P, B frame of cost as the down-sampling frame, and will The frame type is as the preanalysis result.
9. a kind of frame data compression equipment, which is characterized in that the frame data compression equipment includes:
Memory, for storing computer program;
Processor realizes the method for the frame data compression as described in any one of claim 1 to 6 when for executing the computer program The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program can be executed by one or more processor, to realize as described in any one of claim 1 to 6 The step of method of frame data compression.
CN201811639838.XA 2018-12-29 2018-12-29 Method, device, equipment and computer readable storage medium for intra-frame compression Active CN109587502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811639838.XA CN109587502B (en) 2018-12-29 2018-12-29 Method, device, equipment and computer readable storage medium for intra-frame compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811639838.XA CN109587502B (en) 2018-12-29 2018-12-29 Method, device, equipment and computer readable storage medium for intra-frame compression

Publications (2)

Publication Number Publication Date
CN109587502A true CN109587502A (en) 2019-04-05
CN109587502B CN109587502B (en) 2023-05-09

Family

ID=65933599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811639838.XA Active CN109587502B (en) 2018-12-29 2018-12-29 Method, device, equipment and computer readable storage medium for intra-frame compression

Country Status (1)

Country Link
CN (1) CN109587502B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021068175A1 (en) * 2019-10-10 2021-04-15 Suzhou Aqueti Technology Co., Ltd. Method and apparatus for video clip compression

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090086816A1 (en) * 2007-09-28 2009-04-02 Dolby Laboratories Licensing Corporation Video Compression and Transmission Techniques
CN103517080A (en) * 2012-06-21 2014-01-15 北京数码视讯科技股份有限公司 Real-time video stream encoder and real-time video stream encoding method
US20160205399A1 (en) * 2015-01-09 2016-07-14 Broadcom Corporation Methods For Improving Low-Cost Video/Image Compression
CN105915925A (en) * 2015-07-24 2016-08-31 乐视云计算有限公司 Coding unit construction method based on HEVC and coding unit construction device thereof
CN106961603A (en) * 2017-03-07 2017-07-18 腾讯科技(深圳)有限公司 Intracoded frame code rate allocation method and device
CN108924553A (en) * 2018-06-20 2018-11-30 腾讯科技(深圳)有限公司 Video coding, coding/decoding method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090086816A1 (en) * 2007-09-28 2009-04-02 Dolby Laboratories Licensing Corporation Video Compression and Transmission Techniques
CN103517080A (en) * 2012-06-21 2014-01-15 北京数码视讯科技股份有限公司 Real-time video stream encoder and real-time video stream encoding method
US20160205399A1 (en) * 2015-01-09 2016-07-14 Broadcom Corporation Methods For Improving Low-Cost Video/Image Compression
CN105915925A (en) * 2015-07-24 2016-08-31 乐视云计算有限公司 Coding unit construction method based on HEVC and coding unit construction device thereof
CN106961603A (en) * 2017-03-07 2017-07-18 腾讯科技(深圳)有限公司 Intracoded frame code rate allocation method and device
CN108924553A (en) * 2018-06-20 2018-11-30 腾讯科技(深圳)有限公司 Video coding, coding/decoding method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021068175A1 (en) * 2019-10-10 2021-04-15 Suzhou Aqueti Technology Co., Ltd. Method and apparatus for video clip compression
CN113196779A (en) * 2019-10-10 2021-07-30 无锡安科迪智能技术有限公司 Method and device for compressing video clip
CN113196779B (en) * 2019-10-10 2022-05-20 无锡安科迪智能技术有限公司 Method and device for compressing video clip

Also Published As

Publication number Publication date
CN109587502B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
JP6915105B2 (en) Image data coding method and device and image data decoding method and device
CN104885467B (en) Content-adaptive parameter transformation for next-generation Video coding
JP5797774B2 (en) 32-point conversion for media data coding
WO2015120818A1 (en) Picture coding and decoding methods and devices
CN105100814B (en) Image coding and decoding method and device
CN110268715A (en) Transformation kernel selection is compiled with entropy
CN103957415B (en) CU dividing methods and device based on screen content video
CN104581177B (en) Image compression method and device combining block matching and string matching
CN111866505B (en) Efficient context handling in arithmetic coding
CN107743235B (en) Image processing method, device and electronic equipment
CN110073663A (en) Use the transformation coefficient code of rank figure
CN107302700A (en) Adaptive direction loop filter
CN107071440A (en) Use the motion-vector prediction of previous frame residual error
CN109495742B (en) Video frame coding method, device and equipment
CN106133791A (en) Clustering and coding for color compressed
CN109587502A (en) A kind of method, apparatus of frame data compression, equipment and computer readable storage medium
CN110324668B (en) Transform method in image block coding, inverse transform method and device in decoding
CN107018416A (en) For video and the adaptive chip data size coding of compression of images
Zhang et al. Fast intra bit rate transcoding for HEVC screen content coding
WO2018222239A1 (en) Adaptation of scan order for entropy coding
CN104159106A (en) Video encoding method and device, and video decoding method and device
RU2816154C2 (en) Lossless compression mode for universal video encoding
CN116095308A (en) Image decoding method and device
KR20240006667A (en) Point cloud attribute information encoding method, decoding method, device and related devices
CN118020290A (en) System and method for encoding and decoding video with memory efficient prediction mode selection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant