CN106941596B - Signal processing method and device - Google Patents
Signal processing method and device Download PDFInfo
- Publication number
- CN106941596B CN106941596B CN201710154784.7A CN201710154784A CN106941596B CN 106941596 B CN106941596 B CN 106941596B CN 201710154784 A CN201710154784 A CN 201710154784A CN 106941596 B CN106941596 B CN 106941596B
- Authority
- CN
- China
- Prior art keywords
- data
- period
- group
- video
- format
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0125—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/06—Systems for the simultaneous transmission of one television signal, i.e. both picture and sound, by more than one carrier
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a signal processing method, which comprises the steps of carrying out parallel conversion and decoding on received HDMI signals comprising five paths of data to obtain five groups of data, wherein each group of data in the three groups of data comprises: video data, data packets and control data; judging whether the format of the video data is YCbCr4:2:2 format or not; if not, converting the format of the video data into a YCbCr4:2:2 format; determining a pre-designated group of data from the three groups of data, and respectively processing data positioned in each period in the pre-designated group of data, wherein the processing at least comprises the following steps: and storing the data in the period to a pre-designated position in the data in the same period. Through the scheme, the processed HDMI signals can be transmitted through 4 channels.
Description
Technical Field
The present application relates to the field of information data processing technologies, and in particular, to a signal processing method and apparatus.
Background
HDMI (High Definition Multimedia Interface) is a digital video/audio Interface technology, is a special digital Interface suitable for image transmission, can simultaneously transmit audio and video signals, and is widely used in various electronic products.
The HDMI interface transmits signals by using five transmission channels, wherein one transmission Channel transmits a clock signal, three transmission channels transmit video Data and Data packets, the Data includes audio Data and auxiliary Data, and one transmission Channel transmits DDC (Display Data Channel) Data, that is, at least five pairs of differential Data lines are required to transmit audio and video Data signals.
Since the transmission cost is high by using five pairs of differential data lines to transmit HDMI signals, it is desirable to provide a method for reducing HDMI transmission channels.
Disclosure of Invention
In view of the above, the present application provides a signal processing method and apparatus, which can reduce channels used in HDMI signal transmission.
In order to achieve the above object, the following solutions are proposed:
a method of signal processing, the method comprising:
carrying out parallel conversion and decoding on the received HDMI signals containing five paths of data to obtain five groups of data, wherein each group of data in the three groups of data comprises: video data, data packets and control data;
judging whether the format of the video data is YCbCr4:2:2 format or not;
if not, converting the format of the video data into a YCbCr4:2:2 format;
determining a pre-designated group of data from the three groups of data, and respectively processing data positioned in each period in the pre-designated group of data, wherein the processing at least comprises the following steps: and storing the data in the period to a pre-designated position in the data in the same period.
The present application further provides a signal processing method, including:
carrying out parallel conversion and decoding on the received HDMI signals containing four paths of data to obtain four groups of data, wherein each group of data in the two groups of data comprises: video data, data packets and control data in YCbCr4:2:2 format;
respectively processing the data in the pre-designated period in the two groups of data, wherein the processing comprises the following steps: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data;
judging whether the original video format of the video data is YCbCr4:2:2 format or not;
if not, converting the format of the video data into the original video format.
The present application provides a signal processing apparatus, characterized in that the signal processing apparatus includes:
the first conversion decoding unit is used for performing parallel conversion and decoding on the received HDMI signals containing five paths of data to obtain five groups of data, wherein each group of data in the three groups of data comprises: video data, data packets and control data;
the first judging unit is used for judging whether the format of the video data is YCbCr4:2:2 format or not;
a first format conversion unit, for converting the format of the video data into YCbCr4:2:2 format when the judgment result is negative;
the first processing unit determines a pre-designated group of data from the three groups of data, and respectively processes data located in each period in the pre-designated group of data, wherein the processing at least comprises: and storing the data in the period to a pre-designated position in the data in the same period.
The present application provides a signal processing apparatus, the apparatus comprising:
the second conversion decoding unit is used for performing parallel conversion and decoding on the received HDMI signal containing four paths of data to obtain four groups of data, wherein each group of data in the two groups of data comprises: video data, data packets and control data in YCbCr4:2:2 format;
the second processing unit is configured to process data in a pre-specified period in the two sets of data, respectively, where the processing includes: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data;
the judging unit is used for judging whether the original video format of the video data is YCbCr4:2:2 format or not;
and the second format conversion unit is used for converting the format of the video data into the original video format when the judgment result is negative.
According to the technical scheme, the received HDMI signals comprising five paths of data are subjected to parallel conversion and decoding, five groups of data are obtained, wherein each group of data in the three groups of data comprises: video data, data packets and control data; judging whether the format of the video data is YCbCr4:2:2 format or not; if not, converting the format of the video data into a YCbCr4:2:2 format; determining a pre-designated group of data from the three groups of data, and respectively processing data positioned in each period in the pre-designated group of data, wherein the processing at least comprises the following steps: in the scheme, the format of a video signal is converted into YCbCr4:2:2 format, the video data in YCbCr4:2:2 format occupies two transmission channels during transmission, so that the video data in YCbCr4:2:2 format, a data packet and control data can be recombined, the video data, the data packet and the control data can be transmitted in two transmission channels, and the HDMI signal adopts 4 pairs of differential data lines, namely 4 channels are utilized to transmit audio and video data signals, so that the signal transmission cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a basic flowchart of a signal processing method disclosed in an embodiment of the present application;
FIG. 2 is a diagram of three sets of data component forms disclosed in another embodiment of the present application;
FIG. 3 is a flowchart of a method for processing a pre-specified set of data as disclosed in an embodiment of the present application;
FIG. 4 is a diagram of a two-set data format as disclosed in another embodiment of the present application;
FIG. 5 is a flow chart of a method for processing a pre-specified set of data as disclosed in another embodiment of the present application;
fig. 6 is a basic flowchart of a signal processing method disclosed in an embodiment of the present application;
FIG. 7 is a flow chart illustrating the processing of the two sets of data as disclosed in another embodiment of the present application;
FIG. 8 is a flow chart illustrating the processing of the two sets of data as disclosed in another embodiment of the present application;
fig. 9 is a basic block diagram of a signal processing apparatus according to an embodiment of the present disclosure;
fig. 10 is a basic block diagram of a signal processing apparatus according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The HDMI signal is transmitted using five channels, one of which transmits a clock signal, three of which transmit video and data packets (audio data and auxiliary data), and one of which transmits DDC data. Five data transmitted by 5 channels are received when the HDMI signal is received. According to the HDMI protocol, when video signals in RGB format and YCbCr4:4:4 format are transmitted, in a video data period, three channels transmit video data, namely, the data bandwidths of the three channels are fully utilized, but when video data in YCbCr4:2: 28-bit format are transmitted, in the video data period, the Channel 0 does not transmit the video data, namely, the Channel is not utilized and is in an idle state; channel 1 and Channel2 also use only half of their data bandwidth when audio data and data packets are transmitted during the video blanking period, i.e. during the island data period. Therefore, the Channel 0 Channel is wasted when transmitting video data including the YCbCr4:2: 28-bit format. Based on this, the present application provides a signal processing method capable of implementing HDMI signal transmission using 4 channels.
An embodiment of the present application provides a signal processing method, as shown in fig. 1, specifically including:
s100, carrying out parallel conversion and decoding on the received HDMI signals comprising the five paths of data to obtain five groups of data, wherein each group of data in the three groups of data comprises: video data, data packets and control data;
specifically, a receiving end receives a standard HDMI signal, wherein the signal comprises five paths of data, one path of data is clock data, one path of data is DDC data, and the other three paths of data all comprise video data, data packets and control data; because standard HDMI data is received, the standard data can be further combined only by processing, wherein the processing comprises parallel conversion to obtain parallel data, and then the parallel data is decoded; since HDCP encryption is usually performed in the standard data, HDCP decryption may be performed in this case, so as to obtain five sets of data, and then three sets of data including video data, data packets and control data are mainly processed.
S110, judging whether the format of the video data is YCbCr4:2:2 format or not; if not, executing step S120, otherwise, executing step S130;
among the data packets, there is an avi (audio Video information frame) data packet, which has special data bits to indicate the Video color space of the current Video data, that is, RGB, YCbCr4:4:4, or YCbCr4:2:2, and further, whether the format of the Video data is the YCbCr4:2:2 format can be determined by searching the indication data.
S120, converting the format of the video data into a YCbCr4:2:2 format;
specifically, the format of three groups of data including video data, data packets and control data in YCbCr4:2:2 format is shown in fig. 2: a first group of Data corresponding to channel 0, where no Data exists at a position located in a video Data period, that is, a position Null Data is in an idle state; in the second and third sets of data corresponding to channel 1 and channel2, respectively, Active video pixels (Y) data and Active video pixels (CbCr) data occupying 8 bits are located at positions in the video data cycle, respectively; at the positions located in the island data period, packet 1 and packet2, which occupy only 4 bits, and HSYNC (line sync) data, VSYNC (field sync) data, and packetfeader (header of packet) data, respectively; among the three sets of data, at the position located in the control cycle, there are control data occupying 2 bits each, among which HSYNC (line sync) data, VSYNC (field sync) data, and Preamble (header) data, the Preamble data at the last stage of each control cycle is composed of CTL0, CTL1, CTL2, and CTL3, which indicates whether the next cycle is a video data cycle or an island data cycle, among which CTL0 and CTL1 are in the second set of data, and CTL2 and CTL3 are in the third set of data.
S130, determining a pre-designated group of data from the three groups of data, and respectively processing the data positioned in each period in the pre-designated group of data, wherein the processing at least comprises the following steps: and storing the data in the period to a pre-designated position in the data in the same period.
The data in each period in the group of data is stored in a pre-designated position in the same period in the data, for example, the pre-designated group of data is the second group of data, the data in the video data period in the second group of data may be stored in the position in the same video data period in the first group of data, or the data in the video data period in the second group of data may be stored in the video data period in the first group of data first, and the data in the video data period in the third group of data may be stored in the video data period in the second group of data.
The data in the other two periods of the second group of data are stored in the pre-designated positions of the same period of the data, for example, the data packets of the island data period are stored in the positions of D4-D7 of the same island data period of the first group of data, or the data packets of the island data period are stored in the positions of D4-D7 of the same island data period of the third group of data, or the data packets of the island data period are divided into 2 portions, one portion is stored in the positions of D4-D7 of the same island data period of the first group of data, and the other portion is stored in the positions of D4-D7 of the same island data period of the third group of data.
It can be seen that the above processing procedure is to essentially combine a pre-specified set of data with 2 other sets of data, i.e. combine three sets of data to obtain 2 sets of data. Here, the application does not limit the data in the pre-specified group of data to be stored in the location, and it is within the scope of the application to combine the predetermined group of data with the other 2 groups of data to obtain 2 groups of data.
Through the above embodiment, the received HDMI signal including five channels of data is subjected to parallel conversion and decoding, so as to obtain five groups of data, where each group of data in the three groups of data includes: video data, data packets and control data; judging whether the format of the video data is YCbCr4:2:2 format or not; if not, converting the format of the video data into a YCbCr4:2:2 format; determining a pre-designated group of data from the three groups of data, and respectively processing data positioned in each period in the pre-designated group of data, wherein the processing at least comprises the following steps: in the scheme, the format of a video signal is converted into YCbCr4:2:2 format, the video data in YCbCr4:2:2 format occupies two transmission channels during transmission, so that the video data in YCbCr4:2:2 format, a data packet and control data can be recombined, the video data, the data packet and the control data can be transmitted in two transmission channels, and the HDMI signal adopts 4 pairs of differential data lines, namely 4 channels are utilized to transmit audio and video data signals, so that the signal transmission cost is reduced.
After a pre-designated group of data is processed, 4 groups of data are obtained, the 4 groups of data are further processed, namely the four groups of data are coded and serially converted to obtain a serial HDMI signal and the serial HDMI signal is transmitted, and further the HDMI signal is transmitted through a 4-differential-pair data line.
In another embodiment of the present application, the step of processing the data located in each period in the pre-designated group of data determined from the three groups of data at least includes storing the data in the period to a pre-designated position in the same period in the data, as shown in fig. 3, the processing step includes:
s300, storing the video data of the video data period in the third group of data to the idle position in the same video data period in the first group of data;
as can be seen from fig. 2, Active video pixels (CbCr) data of a video data cycle in the third set of data is stored in an idle position in the first set of data, that is, a position labeled with NullData;
s310, storing a data packet of an island data period in the third group of data to a free position of the same island data period in the second group of data;
as can be seen from FIG. 2, Packet 1 and Packet2 of an island data cycle in the third set of data are stored at positions D4-D7 of the same island data cycle in the second set of data.
S320, storing the control data of the control data period in the third group of data to the position of the control data of the same control period in the second group of data;
wherein, the Preamble data of the control cycle in the second set of data includes CTL0 and CTL1, and the Preamble data of the control cycle in the third set of data includes CTL2 and CTL3, and the 4 control data indicate whether the next cycle is a video data cycle or an island data cycle, as shown in the following table:
CTL0 | CTL1 | CTL2 | CTL3 | type of |
1 | 0 | 0 | 0 | Period of |
1 | 0 | 1 | 0 | Island data cycle |
1000 denotes that the next cycle is a video data cycle and 1010 denotes that the next cycle is an island data cycle, and it can be seen that of the 4 data, it is substantially the CTL2 and CTL3 that play a role, because whether it is a video data cycle or an island data cycle, CTL0 and CTL1 are 10, and therefore, the control signal in the second set of data is redundant, and thus, storing CTL2 and CTL3 in the third set of data at the positions of CTL0 and CTL1 in the second set of data is equivalent to replacing CTL0 and CTL1 in the second set of data with CTL2 and CTL3 in the third set of data.
Alternatively, this step may also store CTL2 and CTL3 directly into the second data at idle locations of the control cycle, such as at the D2 and D3 locations.
After combination, the 3 sets of data become 2 sets of data, the composition form of which is shown in fig. 4. Wherein, the data of the control period, i.e. the data marked 401 in the figure, still adopts the encoding mode of CLT, i.e. the 2B10B encoding mode; two encoding methods are adopted for the data of the island data period, including: the data of the island data period, namely the data of the label 402 in the first group of data is coded by TERC4, and the data of the island data period, namely the data of the label 403 in the second group of data is coded by TMDS; the data for the video data period, i.e., the data for the callout 404, is also TMDS encoded.
Through the embodiment, the data of each period in the third group of data is stored in the first group of data or the second group of data, that is, the third group of data is combined into the other two groups of data, and finally the combined two groups of data are obtained.
In another embodiment of the present application, the processing of the data located in each cycle in the pre-specified group of data determined from the three groups of data further includes: the data in the cycle is deleted.
Specifically, the processing of the data located in each period in the pre-specified group of data, as shown in fig. 5, includes:
s500, storing the video data of the video data period in the second group of data to the idle position of the same video data period in the first group of data;
the second group of Data is a pre-specified group of Data, and as shown in fig. 2, Active video pixels (Y) in the video Data period in the second group of Data are stored in a free position in the first group of Data, that is, a position labeled with Null Data.
S510, storing the data packet of the data packet period in the second group of data to the idle position of the same island data period in the third group of data;
as can be seen from FIG. 2, Packet 1 and Packet2 of an island data cycle in the second set of data are stored at positions D4-D7 of the same island data cycle in the third set of data.
And S520, deleting the control data of the control period in the second group of data.
As can be seen from the above, since the Preamble data in the second set of data is redundant data, the data is directly deleted here.
Through the embodiment, the data of each period of the second group of data is processed respectively, including storing the data of the island data period and the data of the video data period in the pre-designated positions in the data, deleting the data in the control period, and finally obtaining two groups of data, wherein the encoding forms of the two groups of data are not changed much compared with the encoding forms of the prior art when a standard HDMI signal is formed.
As shown in fig. 6, the method for recovering the HDMI signal transmitted by 4 channels in the foregoing embodiment includes:
s600, carrying out parallel conversion and decoding on the received HDMI signals comprising four paths of data to obtain four groups of data, wherein each group of data in the two groups of data comprises: video data, data packets and control data in YCbCr4:2:2 format;
the received HDMI signals comprise four paths of data, wherein one path of data is DDC data, one path of data is clock data, and the other two paths of data comprise video data, data packets and control data in YCbCr4:2:2 format. The HDMI signals are subjected to parallel conversion to obtain parallel data, then the parallel data are decoded, wherein HDCP decryption is possibly required in standard data because HDCP encryption is usually carried out in the standard data, four groups of data are obtained, and then two groups of data including video data, data packets and control data in YCbCr4:2:2 format are mainly processed.
S610, respectively processing the data in the pre-designated period in the two groups of data, wherein the processing at least comprises the following steps: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data;
in the two sets of data, the data in the pre-designated period is processed, and the processing may be to store the data in the pre-designated position in the pre-designated period in one set of data to the corresponding position in the same period in the newly added set of data, for example, with reference to fig. 4, the video data in the video period of the first set of data corresponding to the channel o is stored to the position in the same video period of the newly added set of data.
S620, judging whether the original video format of the video data is YCbCr4:2:2 format; if not, go to step S630.
Among the data packets, there is an avi (automatic Video information info frame) data packet, which has special data bits to indicate the Video color space of the current Video data, that is, RGB, or YCbCr4:4:4, or YCbCr4:2:2, so that it is determined whether the original format of the Video data is the YCbCr4:2:2 format by searching the indication data, and if so, the conversion of the Video data format is not performed.
And S630, converting the format of the video data into an original video format.
With the above-described embodiment, the received HDMI signal including 4 channels of data is subjected to adjustment processing, and a standard HDMI signal is restored.
In another embodiment of the present application, data in a pre-specified period of the two sets of data are respectively processed, where the processing includes: storing the data in the group of data at the pre-specified position in the period to the corresponding position in the newly added group of data in the same period, that is, restoring the data composition shown in fig. 4 to the data composition shown in fig. 2, as shown in fig. 7, includes:
s700, storing the video data of the video data period in the first group of data to the corresponding position of the same video data period in the newly added data;
specifically, the video data in the video data period in the first group of data corresponding to channel 0 is stored in the newly added group of data, that is, the corresponding position of the same video period in the group of data corresponding to channel 3, and since the video data occupies 8 bits, the data at the positions D0-D7 in the video data period in the first group of data is stored in the positions D0-D7 in the same video period in the newly added group of data.
S710, storing a data packet at a preset specified position of an island data period in the second group of data to a corresponding position of the same island data period in the newly added data;
and storing the data at the positions D4-D7 in the island data period in the second group of data corresponding to channel 1 into the positions D0-D3 in the same island data period in the newly added data.
S720, storing the data of the control period in the second group of data to the corresponding position of the same control period in the newly added data.
And storing the data at the positions D0-D1 in the control period in the second group of data to the positions D0-D1 in the newly added data in the same control period, wherein the data at the positions D0-D1 in the control period in the second group of data are stored to other positions, so that preset CLT0 and CLT1 are added to the positions D0-D1.
In another embodiment of the present application, the data processing method further includes: and adding the preset data to the corresponding position of the pre-designated period in the newly added group data.
Specifically, the processing of the data in the two sets of data in the pre-designated period in the two sets of data, and the adding of the preset data to the corresponding position of the pre-designated period in the newly added set of data, as shown in fig. 8, includes:
s800, storing the video data of the video data period in the first group of data to the corresponding position of the same video data period in the newly added data;
and storing the video data of the video data period in the first group of data to the corresponding position of the same video period in the newly added group of data.
S810, storing the data packet at the pre-specified position of the data cycle of the second data island to the corresponding position of the same island data cycle in the newly-added group of data;
and storing the data packets at the positions D4-D7 of the data cycle of the second data island into the positions D0-D3 of the data cycle of the same island in the newly added group of data.
S820: and adding the preset data to the corresponding position of the control period in the newly added group data.
When the standard HDMI signal is processed into an HDMI signal including 4 sets of data, the data of the control period in the second set of data corresponding to the original channel2 is deleted, so that when the standard HDMI signal is restored to the standard HDMI data, the preset data, namely, the CLT0 and the CLT1 are directly added to the positions of the control periods D0 and D1 in the newly added set of data.
The present application also provides a signal processing apparatus, as shown in fig. 9, the signal processing apparatus including:
the first conversion decoding unit 900 is configured to perform parallel conversion and decoding on the received HDMI signal including five channels of data to obtain five groups of data, where each group of data in the three groups of data includes: video data, data packets and control data;
a first judging unit 910, configured to judge whether a format of the video data is a YCbCr4:2:2 format;
a first format conversion unit 920, configured to convert the format of the video data into the YCbCr4:2:2 format when the determination result is negative;
the first processing unit 930, determining a pre-designated group of data from the three groups of data, and respectively processing data located in each cycle in the pre-designated group of data, where the processing at least includes: and storing the data in the period to a pre-designated position in the data in the same period.
Preferably, the first processing unit 930 includes:
the first storage unit is used for storing the video data of the video data period in the third group of data to the idle position of the same video data period in the first group of data;
the second storage unit is used for storing the data packets of the island data period in the third group of data into the idle position of the same island data period in the second group of data;
and the third storage unit is used for storing the control data of the control period in the third group of data to the position of the control data of the same control period in the second group of data.
Preferably, the first processing unit 930 determines a pre-designated group of data from the three groups of data, and respectively processes data located in each cycle in the pre-designated group of data, and the processing further includes: the data in the cycle is deleted. Then, the first processing unit comprises:
the fourth storage unit is used for storing the video data of the video data period in the second group of data to the idle position of the same video data period in the first group of data;
a fifth storage unit, configured to store a data packet of an island data period in the second set of data into an idle position of the same island data period in the third set of data;
and the deleting unit is used for deleting the control data of the control period in the second group of data.
The present application also provides a signal processing apparatus, as shown in fig. 10, the apparatus including:
a second conversion decoding unit 1000, configured to perform parallel conversion and decode on the received HDMI signal including four paths of data to obtain four groups of data, where each group of data in the two groups of data includes: video data, data packets and control data in YCbCr4:2:2 format;
a second processing unit 1100, configured to process data located in a pre-designated period in the two sets of data, respectively, where the processing includes: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data;
a judging unit 1200, configured to judge whether an original video format of the video data is an YCbCr4:2:2 format;
and a second format conversion unit 1300, configured to convert the format of the video data into an original video format when the determination result is negative.
Preferably, the second processing unit 1100 includes:
the sixth storage unit is used for storing the video data of the video data period in the first group of data to the corresponding position of the same video data period in the newly added data;
a seventh storage unit, configured to store a data packet located at a predetermined position in an island data period in the second set of data into a corresponding position in the same island data period in the newly added data;
and the eighth storage unit is used for storing the data positioned at the pre-specified position in the control period in the second group of data to the corresponding position of the same control period in the newly added data.
Preferably, the apparatus further includes an adding unit, configured to add preset data to a corresponding position of a pre-specified period in the newly added group data. Then, the second processing unit 1100 includes:
the sixth storage unit is used for storing the video data of the video data period in the first group of data to the corresponding position of the same video data period in the newly added data;
a seventh storage unit, configured to store a data packet located at a predetermined position in an island data period in the second set of data into a corresponding position in the same island data period in the newly added data;
and the adding unit is used for adding the preset data to the corresponding position of the control period in the newly added group data.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A method of signal processing, the method comprising:
carrying out parallel conversion and decoding on the received HDMI signals containing five paths of data to obtain five groups of data, wherein each group of data in the three groups of data comprises: video data, data packets and control data;
judging whether the format of the video data is YCbCr4:2:2 format or not;
if not, converting the format of the video data into a YCbCr4:2:2 format;
determining a pre-designated group of data from the three groups of data, and respectively processing data positioned in each period in the pre-designated group of data, wherein the processing at least comprises the following steps: storing the data in the period to a pre-designated position in the data in the same period, wherein the processing further comprises: deleting the data in the period;
determining a pre-designated group of data from the three groups of data, and respectively processing data located in each period in the pre-designated group of data, wherein the processing at least comprises: storing the data in the period to a pre-specified position in the data in the same period comprises:
storing the video data of the video data period in the third group of data to the idle position of the same video data period in the first group of data;
storing data packets of an island data period in the third group of data into a free position of the same island data period in the second group of data;
storing the control data of the control period in the third group of data to the position of the control data of the same control period in the second group of data;
or the like, or, alternatively,
the determining a pre-designated group of data from the three groups of data, and the processing the data in each period in the pre-designated group of data respectively comprises:
storing the video data of the video data period in the second group of data to the idle position of the same video data period in the first group of data;
storing data packets of an island data period in the second group of data into a free position of the same island data period in the third group of data;
and deleting the control data of the control period in the second group of data.
2. The method of claim 1, wherein after the processing of the data in each cycle in the pre-specified set of data, the method further comprises:
and encoding and serially converting the four groups of data, and transmitting.
3. A method of signal processing, the method comprising:
carrying out parallel conversion and decoding on the received HDMI signals containing four paths of data to obtain four groups of data, wherein each group of data in the two groups of data comprises: video data, data packets and control data in YCbCr4:2:2 format;
respectively processing the data in the pre-designated period in the two groups of data, wherein the processing comprises the following steps: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data;
judging whether the original video format of the video data is YCbCr4:2:2 format or not;
if not, converting the format of the video data into the original video format
The method further comprises the following steps: adding preset data to a corresponding position of a pre-designated period in the newly added group data;
respectively processing data in a pre-designated period in the two groups of data, wherein the processing comprises: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data, including:
storing the video data of the video data period in the first group of data to the corresponding position of the same video data period in the newly added data;
storing the data packet at the pre-specified position in the island data period in the second group of data to the corresponding position of the same island data period in the newly added data;
and storing the control data positioned at the pre-designated position in the control period in the second group of data into the corresponding position of the same control period in the newly added data.
4. The method of claim 3, further comprising:
and encoding and serially converting the five groups of data and transmitting the five groups of data.
5. The method of claim 3, wherein the processing the data in the pre-specified period of the two sets of data respectively comprises:
storing the data packet of the data period of the second data island into the corresponding position of the same island data period in the newly added data;
then, adding the preset data to the corresponding position of the pre-designated period in the newly added group data includes:
and adding the preset data to the corresponding position of the control period in the newly added group data.
6. A signal processing apparatus, characterized in that the signal processing apparatus comprises:
the first conversion decoding unit is used for performing parallel conversion and decoding on the received HDMI signals containing five paths of data to obtain five groups of data, wherein each group of data in the three groups of data comprises: video data, data packets and control data;
the first judging unit is used for judging whether the format of the video data is YCbCr4:2:2 format or not;
a first format conversion unit, for converting the format of the video data into YCbCr4:2:2 format when the judgment result is negative;
the first processing unit determines a pre-designated group of data from the three groups of data, and respectively processes data located in each period in the pre-designated group of data, wherein the processing at least comprises: storing the data in the period to a pre-designated position in the data in the same period; the processing further comprises: deleting the data in the period;
the first processing unit includes:
the first storage unit is used for storing the video data of the video data period in the third group of data to the idle position of the same video data period in the first group of data;
the second storage unit is used for storing the data packets of the island data period in the third group of data into the idle position of the same island data period in the second group of data;
the third storage unit is used for storing the control data of the control period in the third group of data to the position of the control data of the same control period in the second group of data;
or, the first processing unit includes:
the fourth storage unit is used for storing the video data of the video data period in the second group of data to the idle position of the same video data period in the first group of data;
a fifth storage unit, configured to store a data packet of an island data period in the second set of data into an idle position of the same island data period in the third set of data;
and the deleting unit is used for deleting the control data of the control period in the second group of data.
7. A signal processing apparatus, characterized in that the apparatus comprises:
the second conversion decoding unit is used for performing parallel conversion and decoding on the received HDMI signal containing four paths of data to obtain four groups of data, wherein each group of data in the two groups of data comprises: video data, data packets and control data in YCbCr4:2:2 format;
the second processing unit is configured to process data in a pre-specified period in the two sets of data, respectively, where the processing includes: storing the data at the pre-designated position in the period in the group of data to the corresponding position in the same period in the newly added group of data;
the judging unit is used for judging whether the original video format of the video data is YCbCr4:2:2 format or not;
the second format conversion unit is used for converting the format of the video data into the original video format when the judgment result is negative;
the device also comprises an adding unit, a processing unit and a processing unit, wherein the adding unit is used for adding preset data to a corresponding position of a pre-specified period in the newly added group data;
the second processing unit includes:
the sixth storage unit is used for storing the video data of the video data period in the first group of data to the corresponding position of the same video data period in the newly added data;
a seventh storage unit, configured to store a data packet located at a predetermined position in an island data period in the second set of data into a corresponding position in the same island data period in the newly added data;
and the eighth storage unit is used for storing the data positioned at the pre-specified position in the control period in the second group of data to the corresponding position of the same control period in the newly added data.
8. The apparatus of claim 7, wherein the second processing unit comprises:
and the adding unit is used for adding the preset data to the corresponding position of the control period in the newly added group data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710154784.7A CN106941596B (en) | 2017-03-15 | 2017-03-15 | Signal processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710154784.7A CN106941596B (en) | 2017-03-15 | 2017-03-15 | Signal processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106941596A CN106941596A (en) | 2017-07-11 |
CN106941596B true CN106941596B (en) | 2020-05-22 |
Family
ID=59469727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710154784.7A Active CN106941596B (en) | 2017-03-15 | 2017-03-15 | Signal processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106941596B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104582A (en) * | 2009-12-18 | 2011-06-22 | 陈红 | Transmission control protocol and method for sharing channel by paths of real-time multimedia streams |
CN102714753A (en) * | 2010-01-14 | 2012-10-03 | 晶像股份有限公司 | Transmission and detection of multi-channel signals in reduced channel format |
CN103543977A (en) * | 2008-01-04 | 2014-01-29 | 晶像股份有限公司 | Method, apparatus and system for generating and facilitating mobile high-definition multimedia interface |
CN105052137A (en) * | 2013-01-24 | 2015-11-11 | 美国莱迪思半导体公司 | Auxiliary data encoding in video data |
CN106162026A (en) * | 2015-04-21 | 2016-11-23 | 佛山芯珠微电子有限公司 | A kind of HDMI IP system and architecting method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI395476B (en) * | 2006-12-20 | 2013-05-01 | Princeton Technology Corp | Method and related device for determining timing sequence of video and audio data for high density multimedia interface |
-
2017
- 2017-03-15 CN CN201710154784.7A patent/CN106941596B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103543977A (en) * | 2008-01-04 | 2014-01-29 | 晶像股份有限公司 | Method, apparatus and system for generating and facilitating mobile high-definition multimedia interface |
CN102104582A (en) * | 2009-12-18 | 2011-06-22 | 陈红 | Transmission control protocol and method for sharing channel by paths of real-time multimedia streams |
CN102714753A (en) * | 2010-01-14 | 2012-10-03 | 晶像股份有限公司 | Transmission and detection of multi-channel signals in reduced channel format |
CN105052137A (en) * | 2013-01-24 | 2015-11-11 | 美国莱迪思半导体公司 | Auxiliary data encoding in video data |
CN106162026A (en) * | 2015-04-21 | 2016-11-23 | 佛山芯珠微电子有限公司 | A kind of HDMI IP system and architecting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106941596A (en) | 2017-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11792377B2 (en) | Transmission apparatus, method of transmitting image data in high dynamic range, reception apparatus, method of receiving image data in high dynamic range, and program | |
US10999554B2 (en) | Communication device and communication method | |
US9906765B2 (en) | Transmitting display management metadata over HDMI | |
CN101395904B (en) | Transmitting device, receiving device and transmitting/receiving device | |
US9967599B2 (en) | Transmitting display management metadata over HDMI | |
JP5573361B2 (en) | Transmission device, reception device, transmission method, reception method, and transmission / reception device | |
US10136127B2 (en) | Image transmission device, image transmission method, image reception device, and image reception method | |
US8675682B2 (en) | Wireless communication device for processing packet including at least one of video output format of video data and audio output format of audio data | |
JP2008283561A (en) | Communication system, video signal transmission method, transmitter, transmitting method, receiver, and receiving method | |
CN101998132A (en) | Transmission device, receiving device, program, and communication system | |
US10134356B2 (en) | Transmission apparatus, method of transmitting image data with wide color gamut, reception apparatus, method of receiving image data with color gamut | |
CN108694339B (en) | Signal switching device and signal switching method | |
CN106941596B (en) | Signal processing method and device | |
TW201444372A (en) | Method, apparatus and system for communicating sideband data with non-compressed video | |
CN105472467A (en) | Interface display method and system | |
KR100690617B1 (en) | PROCESSING METHOD FOR OSD DATA BASED DTVLink |
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 |