Display processing device, front and back field signal distinguishing method and display device
By receiving and analyzing the vertical interval values of two consecutive fields of media data signals in the display processing device, the preceding and following field signals in the interlaced scanning mode are accurately judged, which solves the problem of misjudgment in the existing technology and achieves correct judgment of the interlaced scanning mode. Handling and compatibility.
Patent Information
- Application Number
- CN202410789844.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology cannot accurately judge the front and rear field signals in the interlaced scanning mode, leading to possible misjudgments, and is not compatible with non-standard signals from different transmitters, affecting the stability of the screen display.
By receiving and analyzing the vertical interval values of two consecutive fields of media data signals in the display processing device, if they are different, the interlaced scanning mode is determined, and the front and rear field signals are determined according to the size of the interval values, and a field identification signal is generated for correct processing.
It realizes the correct processing of images in interlaced scanning mode, is compatible with signals from different transmitters, and ensures the stability and accuracy of screen display.
Smart Images

Figure CN118538146A
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuits, and in particular to a display processing device, a method for distinguishing front and back field signals, and a display device. Background Art
[0002] There are generally two types of display timings for monitors: progressive scanning and interlaced scanning. High Definition Multimedia Interface (HDMI), as one of the most widely used multimedia interfaces in the market, can support the transmission of the above two display timings. Interlaced scanning refers to dividing a frame into two images: odd field (also called front field, top field) and even field (also called back field, bottom field), so as to achieve the purpose of saving transmission bandwidth while keeping the frame rate unchanged. In interlaced scanning mode, the receiving end of the HDMI signal (which can be called Sink, such as a monitor, TV, etc.) needs to determine whether the HDMI signal is an odd field or an even field, and perform different processing to ensure that the image can be displayed normally without jitter. The HDMI specification does not provide a specific method for how the display receiving end can detect and restore the interlace signal. The signal sending end may send non-standard interlace signals based on its own capabilities. The judgment mechanism of some receiving ends is unreasonable and cannot be compatible with all interlace signals sent by the sending end. It is possible to misjudge the front field and the back field, and cannot accurately restore the image in the interlaced scanning mode. Summary of the invention
[0003] The present application provides a display processing device, a method for distinguishing front and back field signals, and a display device.
[0004] The technical solution of this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a display processing device, wherein the display processing device is applied to a display device, the display device supports an interlaced scanning mode, and the display processing device includes:
[0006] A receiving module, configured to receive a plurality of continuous media data signals sent by an external signal source, and each media data signal can generate at least a vertical synchronization signal, a video data enable signal and a pixel clock signal after parsing;
[0007] The control module is configured to, after receiving a first field media data signal, count a preset clock signal in a time period from an effective edge of the vertical synchronization signal generated by parsing to an effective edge of the video data enable signal to generate a first vertical interval value; after receiving a second field media data signal, count the preset clock signal in a time period from an effective edge of the vertical synchronization signal generated by parsing to an effective edge of the video data enable signal to generate a second vertical interval value; if the first vertical interval value is different from the second vertical interval value, determine that the received media data signal corresponds to the interlaced scanning mode, and determine that the nth field media data signal is a top field signal or a bottom field signal, where n is a positive integer greater than 2; the first field media data signal and the second field media data signal are any two adjacent field media data signals.
[0008] In some embodiments, when the display device supports the progressive scanning mode, the control module is further configured to determine that the received media data signal corresponds to the progressive scanning mode if the first vertical interval value is the same as the second vertical interval value.
[0009] In some embodiments, the control module is specifically configured as follows: if the first vertical interval value is less than the second vertical interval value, it is determined that: when n is an odd number, the nth field media data signal is a front field signal, and when n is an even number, the nth field media data signal is a back field signal; if the first vertical interval value is greater than the second vertical interval value, it is determined that: when n is an odd number, the nth field media data signal is a back field signal, and when n is an even number, the nth field media data signal is a front field signal.
[0010] In some embodiments, the receiving module is specifically configured to pre-process each field media data signal to generate an initial clock signal and an intermediate data signal; the control module includes a decoding module, a phase-locked loop, and a timing signal generator; the decoding module is connected to the receiving module and configured to receive the initial clock signal, decode the intermediate data signal based on the initial clock signal, and generate a vertical synchronization signal, a horizontal synchronization signal, a video data enable signal, and an initial image data signal; the phase-locked loop is connected to the receiving module and configured to receive the initial clock signal and output a pixel clock signal, and the pixel clock signal is used as the preset clock signal; the timing signal generator is connected to the receiving module and the decoding module and configured to count the pixel clock signal in a time period from the valid edge of the vertical synchronization signal generated by the first field media data signal parsing to the valid edge of the video data enable signal to generate the first vertical interval value; the pixel clock signal is counted in a time period from the valid edge of the vertical synchronization signal generated by the second field media data signal parsing to the valid edge of the video data enable signal to generate the second vertical interval value.
[0011] In some embodiments, the timing signal generator is further configured to generate a field identification signal of a first state for the nth field media data signal where n is an odd number, and to generate a field identification signal of a second state for the nth field media data signal where n is an even number, if the first vertical interval value is less than the second vertical interval value; or, if the first vertical interval value is greater than the second vertical interval value, generate a field identification signal of a second state for the nth field media data signal where n is an odd number, and to generate a field identification signal of a first state for the nth field media data signal where n is an even number.
[0012] In some embodiments, the display processing device also includes a first-in-first-out register; the first-in-first-out register is connected to the decoding module and configured to cache the initial image data signal and convert the initial image data signal corresponding to the initial clock signal into a target image data signal corresponding to the pixel clock signal for output; the timing signal generator is also configured to receive the pixel clock signal from the phase-locked loop and the vertical synchronization signal, horizontal synchronization signal and video data enable signal from the decoding module for the nth field media data signal, and output the pixel clock signal, the vertical synchronization signal, the horizontal synchronization signal, the video data enable signal and the generated field identification signal.
[0013] In some embodiments, the display processing device also includes a display processing unit; the display processing unit is connected to the first-in first-out register and the timing signal generator, and is configured to receive the nth field media data signal and drive the display panel in the display device to display the target image based on the pixel clock signal, the vertical synchronization signal, the horizontal synchronization signal, the video data enable signal, the field identification signal and the target image data signal.
[0014] In a second aspect, an embodiment of the present application provides a method for distinguishing front and back field signals, which is applied to a display device, and the display device supports an interlaced scanning mode, and the method includes:
[0015] Receive multiple fields of continuous media data signals sent by an external signal source, and each field of media data signal generates at least a vertical synchronization signal, a video data enable signal and a pixel clock signal after parsing;
[0016] After receiving the first field media data signal, counting a preset clock signal in a period from the valid edge of the vertical synchronization signal generated by parsing to the valid edge of the video data enable signal to generate a first vertical interval value;
[0017] After receiving the second field media data signal, counting the preset clock signal in a period from the valid edge of the vertical synchronization signal generated by parsing to the valid edge of the video data enable signal to generate a second vertical interval value;
[0018] If the first vertical interval value is different from the second vertical interval value, it is determined that the received media data signal corresponds to the interlaced scanning mode, and the nth field media data signal is determined to be a front field signal or a back field signal, where n is a positive integer greater than 2; the first field media data signal and the second field media data signal are any two adjacent field media data signals.
[0019] In some embodiments, the display device further supports a progressive scanning mode; the method further comprises: if the first vertical interval value is the same as the second vertical interval value, determining that the received media data signal corresponds to the progressive scanning mode.
[0020] In some embodiments, determining whether the nth field media data signal is a front field signal or a back field signal includes: if the first vertical interval value is less than the second vertical interval value, determining: when n is an odd number, the nth field media data signal is a front field signal, and when n is an even number, the nth field media data signal is a back field signal; if the first vertical interval value is greater than the second vertical interval value, determining: when n is an odd number, the nth field media data signal is a back field signal, and when n is an even number, the nth field media data signal is a front field signal.
[0021] In some embodiments, the method further includes: when the nth field media data signal is a front field signal, generating a field identification signal of a first state for the nth field media data signal; when the nth field media data signal is a back field signal, generating a field identification signal of a second state for the nth field media data signal.
[0022] In some embodiments, the method also includes: after receiving the first field media data signal or the second field media data signal, preprocessing the media data signal to generate an initial clock signal and an intermediate data signal; sending the initial clock signal to a phase-locked loop to generate the pixel clock signal, and the pixel clock signal is used as the preset clock signal; decoding the intermediate data signal to at least generate the vertical synchronization signal and the video data enable signal; counting the pixel clock signal in the time period from the valid edge of the vertical synchronization signal to the valid edge of the video data enable signal to generate the first vertical interval value or the second vertical interval value.
[0023] In some embodiments, the method further includes: after receiving the nth field media data signal, preprocessing the media data signal to generate an initial clock signal and an intermediate data signal; decoding the intermediate data signal based on the initial clock signal to generate a vertical synchronization signal, a horizontal synchronization signal, a video data enable signal and an initial image data signal; sending the initial clock signal into a phase-locked loop to generate a pixel clock signal; converting the initial image data signal corresponding to the initial clock signal into a target image data signal corresponding to the pixel clock signal; and displaying a target image based on the field identification signal, the vertical synchronization signal, the horizontal synchronization signal, the video data enable signal, the pixel clock signal and the target image data signal.
[0024] In a third aspect, an embodiment of the present application provides a display device, comprising the display processing device as described in the first aspect.
[0025] The present application provides a display processing device, a method for distinguishing front and back field signals, and a display device. By counting and comparing the vertical interval values of media data signals of two consecutive fields, the front field signal and the back field signal are accurately determined. The present application is compatible with media data signals sent by different sending ends in an interlaced scanning mode with different timings, and the correct processing of images in the interlaced scanning mode is achieved. The implementation process is simple and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram showing a screen display;
[0027] Figure 2 A timing diagram of a video data enable signal and a horizontal synchronization signal;
[0028] Figure 3 A schematic diagram of the structure of a display processing device provided in an embodiment of the present application;
[0029] Figure 4 It is a timing diagram of various signals in the display process;
[0030] Figure 5 A schematic diagram of the structure of another display processing device provided in an embodiment of the present application;
[0031] Figure 6 A schematic diagram of the structure of another display processing device provided in an embodiment of the present application;
[0032] Figure 7A to Figure 7F A timing diagram of a video data enable signal, a horizontal synchronization signal, and a vertical synchronization signal provided in an embodiment of the present application;
[0033] Figure 8A schematic diagram of a flow chart of a method for distinguishing front and back field signals provided in an embodiment of the present application;
[0034] Fig. 9 A schematic diagram of the structure of a display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the relevant application, not to limit the application. It should also be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present application. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application. In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict. It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that shown or described.
[0036] HDMI (High-Definition Multimedia Interface);
[0037] HSYNC (horizontal synchronize, horizontal synchronization signal);
[0038] VSYNC (vertical synchronize, vertical synchronization signal or frame synchronization signal);
[0039] DE (Data Enable, video data enable);
[0040] Htotal (horizontal total pixel, total number of pixels in the row);
[0041] Vtotal (vertical total line, total number of vertical lines in the frame);
[0042] Vstart (vertical start, the number of pixel clocks from the VSYNC valid edge to the first DE valid edge);
[0043] Hblank (horizontal blanking, horizontal line blanking area);
[0044] Hactive (horizontal active, the number of effective pixels in a row in the horizontal direction of the effective display area);
[0045] Vblank (vertical blanking, vertical blanking area);
[0046] Vactive (vertical active, the number of valid lines in the vertical direction of the effective display area);
[0047] DPU (Display Path Unit).
[0048] TMDS (Transition Minimized Differential Signaling).
[0049] In order to facilitate the understanding of this embodiment, the display principle of the display is briefly described below. After the receiving end (i.e., the receiving module in the display) receives the HDMI signal, the control signal and the image data signal can be generated by preprocessing and decoding the HDMI signal. The control signal may include a video data enable signal DE, a horizontal synchronization signal HSYNC, and a vertical synchronization signal VSYNC, which are used to indicate the corresponding pixel point, and the image data signal is used to indicate the display data (such as RGB color value) of the pixel point. Here, please refer to Figure 1 , which shows a schematic diagram of the display screen. A brief description of the display principle is as follows:
[0050] (a) Display pointer from Figure 1 Starting from the first point of the first row in the upper left corner of the overall rectangle, the image data signal is displayed on the screen one point at a time when the video data enable signal is valid; when the display pointer is displayed to the last point of this line, the line ends, and the action of this line is also called 1Line;
[0051] (b) Then, the display pointer returns to the first point of the second row on the left side of the overall rectangle and continues to display the next row. The width of Hsync corresponds to the pulse width of the horizontal synchronization signal HSYNC, so that the receiving end can correctly identify the horizontal synchronization signal HSYNC;
[0052] (c) Similarly, the display pointer is displayed line by line to the lower right corner of the rectangle, and the display of one picture is completed;
[0053] (d) After the current picture is displayed, it is necessary to switch to another picture. These images are called frames. The width of Vsync corresponds to the pulse width of the vertical synchronization signal VSYNC, so that the receiving end can correctly identify the vertical synchronization signal VSYNC.
[0054] In addition, if Figure 1 As shown, part of the screen area is the effective display area (displaying the effective picture). In the vertical direction, there are also the vertical back blanking area Vback, the vertical front blanking area Vfront, and the pulse width of the vertical synchronization signal Vsync; in the horizontal direction, there are also the horizontal back blanking area Hback, the horizontal front blanking area Hfront, and the pulse width of the horizontal synchronization signal Hsync. Figure 2 , which shows a timing diagram of the video data enable signal DE and the horizontal synchronization signal HSYNC. Figure 2 The timing of the horizontal synchronization signal HSYNC and the video data enable signal DE can be controlled Figure 1 The size and position of Hback, Hfront, and Hsync in the video data enable signal DE are shown in Figure 1. In simple terms, this part of the video data enable signal DE is low, that is, no data is displayed, and the whole part can also be called Hblank. In contrast, the Hactive part has a high video data enable signal DE, and can display pixels according to the image data signal (not shown). Figure 2 The effective display area. At the same time, the units of various quantities in the horizontal direction (such as Htotal, Hactive, Hfront, Hsync, Hback) are all pixels (Pixel), Htotal = Hblank + Hactive = Hfront + Hsync + Hback + Hactive. The display principle in the vertical direction is similar to the above, please understand it adaptively. At the same time, except for the Vstart mentioned below, the units of various quantities in the vertical direction (such as Vtotal, Vactive, Vfront, Vsync, Vback) are all lines (Line).
[0055] Meanwhile, in the interlaced scanning mode, the prior art generally determines the front field Top (i.e., odd field) and the back field Bottom (i.e., even field) by whether the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC are aligned. For example, in some common scenarios, the valid edges of the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC generated by decoding the HDMI signal belonging to the front field sent by the transmitter (Source) are aligned, and the valid edges of the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC generated by decoding the HDMI signal belonging to the back field are not aligned, so the receiver often judges the front and back field signals based on this, and then delays the back field signal by 1 / 2Htotal to achieve correct display.
[0056] However, since there is no unified standard for the signal timing of the transmitter, it is possible that some transmitters do not send the front and back field signals according to the above mechanism. Instead, the valid edges of the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC generated by the HDMI signal decoding belonging to the front field may not be aligned, while the valid edges of the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC generated by the HDMI signal decoding belonging to the back field may be aligned. This causes the receiving end to misjudge the front and back field signals in some scenarios, and the final picture display is incorrect.
[0057] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0058] In one embodiment, see Figure 3 , which shows a schematic diagram of the structure of a display processing device 30 provided in an embodiment of the present application. Figure 3 As shown, the display processing device 30 is applied to a display device, and the display device supports an interlaced scanning mode. The display processing device 30 specifically includes:
[0059] The receiving module 31 is configured to receive a plurality of continuous media data signals sent by an external signal source (i.e., a transmitting end Source), and each media data signal can generate at least a vertical synchronization signal VSYNC, a video data enable signal DE and a pixel clock signal Pixel clock after parsing;
[0060] The control module 32 is configured to count the preset clock signal in the period from the valid edge of the vertical synchronization signal VSYNC generated by the analysis to the valid edge of the video data enable signal DE after receiving the first field media data signal, and generate the first vertical interval value Vstart1; after receiving the second field media data signal, count the preset clock signal in the period from the valid edge of the vertical synchronization signal VSYNC generated by the analysis to the valid edge of the video data enable signal DE, and generate the second vertical interval value Vstart2; if the first vertical interval value Vstart1 is different from the second vertical interval value Vstart2, it is determined that the received media data signal corresponds to the interlaced scanning mode, and it is determined that the nth field media data signal is the top field signal or the bottom field signal, and n is a positive integer greater than 2. Here, the first field media data signal and the second field media data signal are any two adjacent field media data signals, the nth field media data signal is received after the second field media data signal, and the received media data signals are numbered in sequence starting from the first field media data signal.
[0061] Here, the preset clock signal may be a pixel clock signal Pixel clock, see Figure 4 , which shows a timing diagram between the vertical synchronization signal VSYNC, the video data enable signal DE and the pixel clock signal Pixel clock.
[0062] It should be noted that the effective edge can be a rising edge or a falling edge, depending on the type of signal sent by the transmitter. For the convenience of explanation, this embodiment will be explained and illustrated as a rising edge, but this does not constitute a relevant limitation. At the same time, the preset clock signal of each clock cycle can be regarded as 1 preset clock signal, that is, "counting the preset clock signal" specifically refers to "counting the number of cycles of the preset clock signal".
[0063] It should be noted that the media data signal may include but is not limited to an HDMI signal, which will be explained later using the HDMI signal as an example, but other data formats may also be understood and implemented according to subsequent embodiments.
[0064] It should be noted that, taking the media data signal as an HDMI signal as an example, Figure 5 As shown, the receiving module 31 can also be called HDMI RX Phy, that is, the receiver physical layer; the control module 32 is also called HDMI RX Controller, which is specifically used to perform various processing and decoding on the received media data signal and output the signal that meets the specified timing required by the subsequent modules. Figure 5As shown, the source is a device that can send HDMI signals, such as a graphics card, a signal generator, etc. The source is connected to the display processing device 30 via an HDMI cable (i.e., an HDMI cable) for sending HDMI signals; at the same time, the receiving module 31 and the control module 32 are connected via a transmission bus bus for outputting corresponding signals. The display processing device 30 can be specifically a display driver chip Display Drive IC.
[0065] It should be understood that since the top field signal is used to display odd-numbered lines of the picture and the bottom field signal is used to display even-numbered lines of the picture, the first line of the picture corresponding to the top field signal and the first line of the picture corresponding to the bottom field signal differ by one line.
[0066] See also Figure 1 For the front field, the vertical interval value Vstart can be regarded as the number of pixels from the Vsync part in the current frame to the first pixel in the effective display area in the current frame. According to current industry standards, the vertical interval values of the front and back fields always differ by 1 / 2Htotal. Therefore, the present application uses the vertical interval value to judge the front and back field signals, and defines the HDMI signal with a small vertical interval value as the front field signal, and the HDMI signal with a large vertical interval value as the back field signal, that is, the Vstart of the front field signal is always 1 / 2Htotal less than the Vstart of the back field signal. At the same time, after the receiving end delays the back field signal by 1 / 2Htotal, the first line of the back field signal is always one line lower than the first line of the front field signal (i.e., Htotal), thereby realizing the display of odd and even lines.
[0067] That is to say, no matter what timing the transmitter uses to send the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC, the vertical interval value Vstart of the front field and the back field always differs by 1 / 2Htotal. Therefore, this embodiment distinguishes the front and back fields by measuring the vertical interval value Vstart of two consecutive field signals. Therefore, no matter what timing the transmitter uses, the receiver can accurately judge the front and back field signals, thereby achieving normal display of the picture.
[0068] In some embodiments, the control module 32 is specifically configured as follows:
[0069] If the first vertical interval value Vstart1 is less than the second vertical interval value Vstart2, it is determined that:
[0070] When n is an odd number, the nth field media data signal is the front field signal.
[0071] When n is an even number, the nth field media data signal is the back field signal;
[0072] If the first vertical interval value Vstart1 is greater than the second vertical interval value Vstart2, it is determined that:
[0073] When n is an odd number, the nth field media data signal is the back field signal.
[0074] When n is an even number, the nth field media data signal is a top field signal.
[0075] That is to say, for the display processing device 30, after receiving the HDMI signal, it determines the first vertical interval value Vstart1 of the first field HDMI signal and the second vertical interval value Vstart2 of the second field HDMI signal. If Vstart1<Vstart2, it means that the odd-numbered ones are the front field signals, and the even-numbered ones are the back field signals, that is, the third field, the fifth field, the seventh field HDMI signals... are all the front field signals of the corresponding picture frames, and the fourth field, the sixth field, the eighth field HDMI signals... are all the back field signals of the corresponding picture frames; conversely, if Vstart1>Vstart2, it means that the even-numbered ones are the front field signals, and the odd-numbered ones are the back field signals, that is, the third field, the fifth field, the seventh field HDMI signals... are all the back field signals of the corresponding picture frames, and the fourth field, the sixth field, the eighth field HDMI signals... are all the front field signals of the corresponding picture frames. Therefore, no matter what implementation the sending end adopts, the receiving end can accurately judge the front and back field signals, thereby realizing normal display of the picture.
[0076] In some embodiments, the receiving module 31 is specifically configured to pre-process each field of media data signal (eg, signal enhancement, signal quality reconfiguration, clock and data recovery) to generate an initial clock signal TMDS clock and an intermediate data signal.
[0077] See also Figure 6 , the control module 32 includes a decoding module 321, a phase-locked loop 322, and a timing signal generator 323;
[0078] The decoding module 321 is connected to the receiving module 31 and is configured to receive the initial clock signal TMDS clock and decode the intermediate data signal based on the initial clock signal TMDS clock to generate a vertical synchronization signal VSYNC, a horizontal synchronization signal HSYNC, a video data enable signal DE and an initial image data signal (such as R / G / B, or other color format signals such as Y / CB / CR);
[0079] The phase-locked loop 322 is connected to the receiving module 31 and is configured to receive the initial clock signal TMDS clock and output a pixel clock signal Pixel clock, and the pixel clock signal Pixel clock is used as a preset clock signal;
[0080] The timing signal generator 323 is connected to the receiving module 31 and the decoding module 321, and is configured to count the pixel clock signal Pixel clock in a time period from the valid edge of the vertical synchronization signal VSYNC generated by the analysis of the first field media data signal to the valid edge of the video data enable signal DE, and generate a first vertical interval value Vstart1; count the pixel clock signal Pixel clock in a time period from the valid edge of the vertical synchronization signal VSYNC generated by the analysis of the second field media data signal to the valid edge of the video data enable signal DE, and generate a second vertical interval value Vstart2.
[0081] It should be noted that a phase locked loop (PLL) is a negative feedback control system that uses the voltage generated by phase synchronization to tune a voltage controlled oscillator to generate a target frequency. The timing signal generator 323 can also be called a Timing Generator, which is used to generate and output various signals required by the back-end module, such as the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC, the video data enable signal DE...
[0082] It should be noted that the transmitter sends the initial image data signal (such as the red signal value R[7:0], the green signal value G[7:0] and the blue signal value B[7:0]) at the effective edge (such as the rising edge) of the initial clock signal TMDS clock. Figure 4 , the above is only an example, and it can also be other color formats such as Y / CB / CR format). The receiving end stores the received initial image data signal in the first-in first-out register FIFO and then reads it out in sequence to generate the target image data signal. The write clock of the first-in first-out register FIFO is the initial clock signal TMDS clock, and the read clock of the first-in first-out register FIFO is the pixel clock signal Pixel clock. It should be understood that the period of the pixel clock signal Pixel clock is significantly less than 1 / 2Htotal, and the resolution of the display screen determines the period of the pixel clock signal Pixel clock. For example, taking the display screen of 1920x1080p (frame rate of 60Hz) as an example,
[0083] Htotal=Hback+Hactive+Hfront+Hsync=148+1920+88+44=2200(Pixel),
[0084] Ytotal=Vback+Vactive+Vfront+Vsync=36+1080+4+5=1125(Line), Pixelclock=Htotal×Vtotal×60Hz=2200×1125×60=148.5MHz, which means that there are 2200 pixels in each row, 2200×1125 pixels in each frame, 60 frames are sent every second, so 148.5M pixels are sent every second, and the frequency of the pixel clock signal Pixel clock must be 148.5MHz.
[0085] It should be understood that the preset clock signal may also be other clock signals, but the clock period of the preset clock signal is at least less than 1 / 2 of the line transmission time, which refers to the time used to transmit a line of pixel data in the horizontal direction of each frame of the image, that is, the number of pixels transmitted during the line transmission time is recorded as Htotal. In other words, the period of the preset clock signal can at least make the first vertical interval value and the second vertical interval value differ by 1 (if the preset clock signal adopts the pixel clock signal Pixel clock, the first vertical interval value and the second vertical interval value differ by 1 / 2Htotal), so as to determine the front and rear field signals according to the size of the first vertical interval value and the second vertical interval value.
[0086] In some embodiments, the timing signal generator 323 is further configured to generate a field identification signal Field of a first state for the nth field media data signal when n is an odd number, and to generate a field identification signal Field of a second state for the nth field media data signal when n is an even number, if the first vertical interval value Vstart1 is less than the second vertical interval value Vstart2, that is, the odd-numbered media data signal is a front field signal, and the even-numbered media data signal is a back field signal; or, if the first vertical interval value Vstart1 is greater than the second vertical interval value Vstart2, then the field identification signal Field of a second state is generated for the nth field media data signal when n is an odd number, and to generate a field identification signal Field of a first state for the nth field media data signal when n is an even number.
[0087] Exemplarily, the first state is a high level, and the second state is a low level; or the first state is a low level, and the second state is a high level.
[0088] Specifically, when the first HDMI signal and the second HDMI signal are received, the order of receiving the front and rear fields is determined according to the first vertical interval value and the second vertical interval value, and a corresponding field identification signal can be generated for each HDMI signal starting from the third HDMI signal, and the state of the field identification signal represents whether the HDMI signal in this field is the front field or the rear field. It should be understood that the front field and the rear field cannot be determined during the reception process of the first HDMI signal and the second HDMI signal (the first vertical interval value and the second vertical interval value have not been calculated at this time), and there is no valid field identification data itself, and the two HDMI signals are actually discarded and will not be displayed on the screen.
[0089] In some embodiments, Figure 6 As shown, the control module 32 also includes a first-in first-out register (First Input First Output, FIFO) 324;
[0090] The first-in first-out register 324 is connected to the decoding module 321 and is configured to cache the initial image data signal and convert the initial image data signal corresponding to the initial clock signal TMDS clock into a target image data signal corresponding to the pixel clock signal Pixel clock for output;
[0091] The timing signal generator 323 is also configured to receive the pixel clock signal Pixel clock from the phase-locked loop 322 for the n-th field media data signal, receive the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC and the video data enable signal DE from the decoding module 321, and output the pixel clock signal Pixel clock, the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC, the video data enable signal DE and the generated field identification signal Field.
[0092] In some feasible embodiments, the display processing device 30 may further include a display processing unit 33, such as Figure 5 or Figure 6As shown; the display processing unit 33 is connected to the first-in first-out register 324 and the timing signal generator 323, and is configured to receive the nth field media data signal and drive the display panel (i.e., Panel) 34 of the display device to display the target image based on the pixel clock signal Pixel clock, the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC, the video data enable signal DE, the field identification signal Field and the target image data signal R / G / B. In other feasible embodiments, the display processing device 30 may also not include the display processing unit 33, but only include the receiving module 31 and the control module 32. In this case, the display processing unit DPU may exist as a module parallel to the display processing device 30 in this embodiment.
[0093] It should be noted that the first-in first-out register 324 is also called First Input First Output, or FIFO, which is used to cache the image data signals R / G / B and convert the initial image data signal corresponding to the initial clock signal TMDS clock into a target image data signal corresponding to the pixel clock signal Pixel clock for output, thereby processing the data synchronization problem of the TMDS clock and the Pixel clock across clock domains.
[0094] In this way, for the nth field HDMI signal, based on the field identification signal Field, the display processing unit DPU can know whether the current field HDMI signal is a front field signal or a back field signal, and execute the corresponding processing method (for example, 1 / 2Htotal) respectively, and then display the screen according to the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC, the video data enable signal DE and the target image data signal (R / G / B), thereby displaying the target image.
[0095] It should be understood that even for the first and second HDMI signals, decoding the intermediate data signal actually also generates the horizontal synchronization signal HSYNC and the initial image data signal. However, since the first and second HDMI signals do not output valid display images, they are not mentioned above.
[0096] The above-mentioned embodiment is described in detail below in conjunction with the sending timing of the media data signal that may be selected by the sending end:
[0097] (1) Sending sequence 1:
[0098] See also Fig. 7A In interlaced scanning mode, the Vtotal of two adjacent fields differs by 1 bar. The field with smaller Vtotal is defined as Field 1 (which can be regarded as the first HDMI signal), and the field with larger Vtotal is defined as Field 2 (which can be regarded as the second HDMI signal). Fig. 7AIn the display, the rising edge of both VSYNC and HSYNC is the effective edge. The effective edge of VSYNC of Field 1 is aligned with the effective edge of HSYNC, and the effective edge of VSYNC of Field 2 is 1 / 2Htotal away from the effective edge of HSYNC. At the same time, the second vertical interval value Vstart2 is 1 / 2Htotal larger than the first vertical interval value Vstart1, so that the odd-numbered field is the front field signal and the even-numbered field is the back field signal. At this time, the even-numbered field is delayed by 1 / 2Htotal (equivalent to 0.5line, i.e. 0.5 in the vertical direction), which just realizes interlaced display.
[0099] (2) Sending sequence 2:
[0100] See also Figure 7B In interlaced scanning mode, the Vtotal of two adjacent fields differs by 1 bar. The field with smaller Vtotal is defined as Field 1 (which can be regarded as the first field HDMI signal), and the field with larger Vtotal is defined as Field 2 (which can be regarded as the second field HDMI signal). Figure 7B In the example, the rising edge of VSYNC and HSYNC is the effective edge. The effective edge of VSYNC of Field 1 is aligned with the effective edge of HSYNC, and the effective edge of VSYNC of Field 2 is 1 / 2Htotal away from HSYNC. At the same time, the first vertical interval value Vstart1 is 1 / 2Htotal larger than the second vertical interval value Vstart2, so the odd-numbered field is the back field signal, and the even-numbered field is the front field signal. At this time, the odd-numbered field is delayed by 1 / 2Htotal (equivalent to 0.5line, i.e. 0.5 in the vertical direction), which just realizes interlaced display.
[0101] (3) Sending sequence three:
[0102] See also Figure 7C In interlaced scanning mode, the Vtotal of two adjacent fields differs by 1 line. The field with smaller Vtotal is defined as Field 1 (i.e., the odd-numbered field), and the field with larger Vtotal is defined as Field 2 (i.e., the even-numbered field). Figure 7C In the example, the rising edge of VSYNC and HSYNC is the effective edge. The difference between the effective edge of VSYNC and HSYNC of Field 1 is 1 / 2Htotal, and the effective edge of VSYNC and HSYNC of Field2 are aligned. At the same time, the second vertical interval value Vstart2 is 1 / 2Htotal larger than the first vertical interval value Vstart1, so that the odd-numbered field is the front field signal and the even-numbered field is the back field signal; at this time, the even-numbered field is delayed by 1 / 2Htotal (equivalent to 0.5line, i.e. 0.5 in the vertical direction), which just realizes interlaced display.
[0103] (4) Sending sequence 4:
[0104] See also Fig.7D In interlaced scanning mode, the Vtotal of two adjacent fields differs by 1 line. The field with smaller Vtotal is defined as Field 1 (i.e., the odd-numbered field), and the field with larger Vtotal is defined as Field 2 (i.e., the even-numbered field). Fig.7D In the display, the rising edge of both VSYNC and HSYNC is the effective edge. The difference between the effective edge of VSYNC and HSYNC of Field 1 is 1 / 2Htotal, and the effective edge of VSYNC and HSYNC of Field2 are aligned. At the same time, the first vertical interval value Vstart1 is 1 / 2Htotal larger than the second vertical interval value Vstart2, so that the odd-numbered field is the back field signal and the even-numbered field is the front field signal; at this time, the odd-numbered field is delayed by 1 / 2Htotal (equivalent to 0.5line, i.e. 0.5 in the vertical direction), which just realizes interlaced display.
[0105] (5) Sending sequence 5:
[0106] See also Fig. 7E In interlaced scanning mode, the Vtotal of two adjacent fields is the same. Any one of the fields is Field 1 (i.e., the odd-numbered field), and the next adjacent field is Field 2 (i.e., the even-numbered field). Fig. 7E In the example, the rising edge of VSYNC and HSYNC is the effective edge. The effective edge of VSYNC of Field 1 is aligned with the effective edge of HSYNC, and the effective edge of VSYNC of Field 2 is 1 / 2Htotal away from the effective edge of HSYNC. At the same time, the second vertical interval value Vstart2 is 1 / 2Htotal larger than the first vertical interval value Vstart1, so that the odd-numbered field is the front field signal and the even-numbered field is the back field signal; at this time, the even-numbered field is delayed by 1 / 2Htotal (equivalent to 0.5line, i.e. 0.5 in the vertical direction), which just realizes interlaced display.
[0107] (6) Sending sequence six:
[0108] See also Figure 7F In interlaced scanning mode, the Vtotal of two adjacent fields is the same. Any one of the fields is Field 1 (i.e., the odd-numbered field), and the next adjacent field is Field 2 (i.e., the even-numbered field). Figure 7FIn the display, the rising edge of VSYNC and HSYNC is the effective edge. The difference between the effective edge of VSYNC of Field 1 and the effective edge of HSYNC is 1 / 2Htotal, and the effective edge of VSYNC of Field2 is aligned with HSYNC. At the same time, the first vertical interval value Vstart1 is 1 / 2Htotal larger than the second vertical interval value Vstart2, so that the odd-numbered field is the back field signal and the even-numbered field is the front field signal. At this time, the odd-numbered field is delayed by 1 / 2Htotal (equivalent to 0.5line, i.e. 0.5 in the vertical direction), which just realizes interlaced display.
[0109] In particular, Figure 7A to Figure 7F In the example, L refers to an integer number of lines, and ±L means adding or subtracting L lines. The main function of L is to indicate that the sender may shift the vertical synchronization signal VSYNC left or right by L lines, so Vfront±L and .
[0110] From the above, it can be seen that no matter what timing the transmitter adopts to send the HDMI signal in interlaced scanning, the vertical interval value Vstart1 of the front field is always 1 / 2Htotal different from the vertical interval value Vstart2 of the back field. Therefore, no matter how the transmitter sets the timing parameters of the HDMI signal, the display processing device only needs to measure the vertical interval value Vstart of two consecutive fields to clearly determine the front field signal and the back field signal, thereby generating a field mark signal Field for the subsequently received HDMI signal, which can be applied to all scenarios of Interlace Timing and greatly simplifies the circuit design.
[0111] In some embodiments, the display device also supports a progressive scanning mode; the control module 32 is further configured to determine that the received media data signal corresponds to the progressive scanning mode if the first vertical interval value Vstart1 is the same as the second vertical interval value Vstart2.
[0112] In this way, if the vertical interval values of two consecutive fields are equal, it means that the media data signal sent this time is in progressive scanning mode, and the progressive scanning mode can be easily distinguished from the line-by-line scanning mode to achieve correct display of the picture.
[0113] From the above, it can be seen that Figure 5As shown, the HDMI signal is transmitted from the transmitting end to the display driver chip in the display processing device 30 via the transmission line HDMI cable, and the receiving module 31 and the control module 32 decode the HDMI to obtain various signals required subsequently (such as VSYNC / HSYNC / DE / R / G / B / Pixel clock / Field), and then the display processing unit (DPU) 33 processes the information and transmits it to the display panel 34 for display; at the same time, the core of the embodiment of the present application is mainly concentrated on the internal implementation of the control module 32.
[0114] Specifically, the overall signal transmission and processing process is as follows:
[0115] (1) The initial clock signal TMDS clock sent by the external signal source Source is used as the reference clock reference clock of the phase-locked loop (PLL) 322. The phase-locked loop (PLL) 322 generates and outputs the pixel clock signal Pixel clock, which is sent to the timing signal generator (Timing Generator) 323 and the first-in first-out register (FIFO) 324.
[0116] (2) The first-in first-out register (FIFO) 324 is responsible for buffering the image data signal and correctly converting it from the TMDS clock domain to the Pixel clock domain.
[0117] (3) The timing signal generator (Timing Generator) 323 is responsible for outputting the pixel clock signal Pixelclock, the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC, the video data enable signal DE and the field identification signal Field, where the Pixel clock, VS, HS and DE are sent in by the previous module, and the field identification signal Field is generated by the Timing Generator. The method for generating the field identification signal Field is as follows: in the interval between two consecutive HDMI fields (e.g. Field 1 and Field 2), the number of cycles of the pixel clock signal Pixel clock between the effective edge of the vertical synchronization signal VSYNC and the effective edge of the video data enable signal DE is counted using the pixel clock signal Pixel clock, i.e. the vertical interval value Vstart, the vertical interval value of Field 1 is recorded as Vstart1, and the vertical interval value of Field 2 is recorded as Vstart2; compare the values of Vstart1 and Vstart2, if Vstart1 is not equal to Vstart2, it is determined to be the interlace scanning mode Interlace Timing, and if Vstart1 is less than Vstart2, Field 1 is called the top field, and Field 2 is called the bottom field; conversely, if Vstart1 is greater than Vstart2, Field 1 is called the bottom field, and Field 2 is called the top field. The field identification signal Field signal generated by the timing signal generator (Timing Generator) 323 is used to indicate whether the current HDMI signal is the top field or the bottom field. Based on this rule, the Vstart of the original Bottom Field is 1 / 2Htotal larger than the Vstart of the Top Field.
[0118] In summary, in the internal processing of the display driver chip Display Drive IC of the display processing device 30, the receiving module and the control module are the first-level modules of the display system, and the signal information output by the receiving module and the control module must meet the requirements of the back-end module in order to correctly display the picture information on the panel. Because the vertical interval value Vstart between adjacent fields in the interlace scanning mode is different, the total number of vertical lines Vtotal in the frame may also be different, which is bound to cause difficulties in the processing of the back-end module. Furthermore, some external signal sources Source cannot directly send the timing signal in the standard interlaced scanning mode due to their own reasons, and may modify the position relationship between the vertical synchronization signal VSYNC and the horizontal synchronization signal HSYNC and the video data enable signal DE. At this time, the receiving end may misjudge the front and back field attributes of the field signal. Therefore, it is necessary to discuss the possible situations of the signal timing in various interlaced scanning modes, and propose a simple, efficient and compatible processing mechanism for detecting the front and back field signals in the interlaced scanning mode and the corresponding generation of the field identification signal Field.
[0119] The embodiment of the present application can correctly detect and determine whether the HDMI signal belongs to the signal in the interlace scanning mode Interlace Timing by measuring the vertical interval value Vstart of each of two consecutive HDMI signals. At the same time, the display processing device 30 can correctly output the field identification signal Field for each subsequent HDMI signal, thereby solving the problem of which HDMI signal the display receiving end should delay the image data signal by 1 / 2Htotal due to different definitions of the vertical interval value Vstart of the top field signal and the bottom field signal by different external signal sources Source. The implementation method is simple and efficient.
[0120] In another embodiment of the present application, see Figure 8 , which is a flow chart of a method for distinguishing front and back field signals provided in an embodiment of the present application. Figure 8 As shown, the method is applied to various types of display devices, such as televisions, projectors, computers, 3D display devices, etc., and the display device at least supports an interlaced scanning mode.
[0121] The method includes:
[0122] S11: receiving a plurality of continuous fields of media data signals sent by an external signal source, and each field of the media data signal generates at least a vertical synchronization signal, a video data enable signal and a pixel clock signal after being parsed.
[0123] S12: after receiving the first field media data signal, counting a preset clock signal in a period from an effective edge of the vertical synchronization signal generated by the analysis to an effective edge of the video data enable signal to generate a first vertical interval value;
[0124] Here, the preset clock signal is a pixel clock signal or other clock signal. S13: After receiving the second field media data signal, count the preset clock signal in the period from the valid edge of the vertical synchronization signal generated by the analysis to the valid edge of the video data enable signal to generate a second vertical interval value.
[0125] S14: If the first vertical interval value is different from the second vertical interval value, determining that the received media data signal corresponds to an interlaced scanning mode, and determining whether the n-th field media data signal is a top field signal or a bottom field signal.
[0126] Here, n is a positive integer greater than 2, and the first field media data signal and the second field media data signal are any two adjacent fields of media data signals.
[0127] In some embodiments, step S14 specifically includes:
[0128] If the first vertical interval value is less than the second vertical interval value, determine:
[0129] When n is an odd number, the nth field media data signal is the front field signal.
[0130] When n is an even number, the nth field media data signal is the back field signal;
[0131] If the first vertical interval value is greater than the second vertical interval value, determine:
[0132] When n is an odd number, the nth field media data signal is the back field signal.
[0133] When n is an even number, the nth field media data signal is a top field signal.
[0134] In some embodiments, when the n-th field media data signal is a front field signal, a field identification signal of a first state is generated for the n-th field media data signal; when the n-th field media data signal is a back field signal, a field identification signal of a second state is generated for the n-th field media data signal, thereby facilitating subsequent modules to perform signal processing.
[0135] In some embodiments, the aforementioned step S12 (or step S13) specifically includes:
[0136] After receiving the first field media data signal (or the second field media data signal), pre-processing the media data signal to generate an initial clock signal TMDS clock and an intermediate data signal;
[0137] Sending the initial clock signal TMDS clock to a phase-locked loop to generate a pixel clock signal Pixel clock, and the pixel clock signal Pixel clock is used as a preset clock signal;
[0138] Decoding the intermediate data signal to generate at least a vertical synchronization signal and a video data enable signal;
[0139] During a period from the effective edge of the vertical synchronization signal to the effective edge of the video data enable signal, the pixel clock signal Pixel clock is counted to generate a first vertical interval value (or a second vertical interval value).
[0140] In some embodiments, the method further comprises:
[0141] After receiving the nth field media data signal, the media data signal is preprocessed to generate an initial clock signal TMDS clock and an intermediate data signal; based on the initial clock signal TMDS clock, the intermediate data signal is decoded to generate a vertical synchronization signal VSYNC, a horizontal synchronization signal HSYNC, a video data enable signal DE and an initial image data signal; the initial clock signal TMDS clock is sent to a phase-locked loop to generate a pixel clock signal Pixel clock; the initial image data signal corresponding to the initial clock signal TMDS clock is converted into a target image data signal corresponding to the pixel clock signal Pixel clock; based on the field identification signal Field, the vertical synchronization signal VSYNC, the horizontal synchronization signal HSYNC, the video data enable signal DE, the pixel clock signal Pixel clock and the target image data signal, the target image is displayed.
[0142] In some embodiments, the method further comprises:
[0143] If the first vertical interval value is the same as the second vertical interval value, it is determined that the received media data signal corresponds to the progressive scanning mode.
[0144] In summary, the embodiment of the present application provides a method for distinguishing front and back field signals, and uses the existing pixel clock signal Pixel clock to measure the vertical interval value Vstart of two consecutive HDMI signals. If the first vertical interval value Vstart1 and the second vertical interval value Vstart2 of the first HDMI signal are different (specifically, the difference is 1 / 2Htotal), the HDMI signal is in the interlaced scanning mode Interlace Timing, and if Vstart1 and Vstart2 are the same, it is a progressive scanning mode. The implementation is simple and the cost is low. At the same time, for two consecutive HDMI signals, the vertical interval value is defined; the smaller V-start in the two fields is defined as the Top Field, and the larger V-start corresponds to the Bottom Field, and the corresponding field identification signal Field is generated, so that no matter what timing the sending end uses to send the HDMI signal in the interlaced scanning mode, the receiving end can align and process it correctly, so as to correctly display the corresponding image.
[0145] In another embodiment of the present application, see Fig. 9 , which is a schematic diagram of the structure of a display device 40 provided in an embodiment of the present application. Fig. 9 As shown, the display device 40 includes the aforementioned display processing device 30 .
[0146] The display device 40 may be various types of displays, such as a television, a projector, a computer, a mobile phone, a head-mounted 3D device, etc., and the display at least supports an interlaced scanning mode.
[0147] The above are only preferred embodiments of the present application and are not intended to limit the scope of protection of the present application. It should be noted that in the present application, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the element. The above serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided in the present application can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided in the present application can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided in the present application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments. The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A display processing device, characterized in that: The display processing device is applied to a display device, the display device supports an interlaced scanning mode, and the display processing device includes: A receiving module, configured to receive a plurality of continuous media data signals sent by an external signal source, and each media data signal can generate at least a vertical synchronization signal, a video data enable signal and a pixel clock signal after parsing; The control module is configured to, after receiving a first field media data signal, count a preset clock signal in a time period from an effective edge of the vertical synchronization signal generated by parsing to an effective edge of the video data enable signal to generate a first vertical interval value; after receiving a second field media data signal, count the preset clock signal in a time period from an effective edge of the vertical synchronization signal generated by parsing to an effective edge of the video data enable signal to generate a second vertical interval value; if the first vertical interval value is different from the second vertical interval value, determine that the received media data signal corresponds to the interlaced scanning mode, and determine that the nth field media data signal is a top field signal or a bottom field signal, where n is a positive integer greater than 2; the first field media data signal and the second field media data signal are any two adjacent field media data signals.
2. The display processing device according to claim 1, characterized in that: In the case where the display device supports a progressive scan mode; The control module is further configured to determine that the received media data signal corresponds to the progressive scanning mode if the first vertical interval value is the same as the second vertical interval value.
3. The display processing device according to claim 1, characterized in that: The control module is specifically configured as follows: If the first vertical interval value is less than the second vertical interval value, determine: When n is an odd number, the nth field media data signal is the front field signal. When n is an even number, the nth field media data signal is the back field signal; If the first vertical interval value is greater than the second vertical interval value, determine: When n is an odd number, the nth field media data signal is the back field signal. When n is an even number, the nth field media data signal is a top field signal.
4. The display processing device according to any one of claims 1 to 3, characterized in that: The receiving module is specifically configured to pre-process each field of media data signal to generate an initial clock signal and an intermediate data signal; The control module includes a decoding module, a phase-locked loop, and a timing signal generator; The decoding module is connected to the receiving module and is configured to receive the initial clock signal, decode the intermediate data signal based on the initial clock signal, and generate a vertical synchronization signal, a horizontal synchronization signal, a video data enable signal and an initial image data signal; A phase-locked loop, connected to the receiving module, configured to receive the initial clock signal and output a pixel clock signal, wherein the pixel clock signal is used as the preset clock signal; The timing signal generator is connected to the receiving module and the decoding module, and is configured to count the pixel clock signal during a time period from the valid edge of the vertical synchronization signal generated by the analysis of the first field media data signal to the valid edge of the video data enable signal to generate the first vertical interval value; and count the pixel clock signal during a time period from the valid edge of the vertical synchronization signal generated by the analysis of the second field media data signal to the valid edge of the video data enable signal to generate the second vertical interval value.
5. The display processing device according to claim 4, characterized in that: The timing signal generator is further configured to generate a field identification signal of a first state for an n-th field media data signal where n is an odd number, and generate a field identification signal of a second state for an n-th field media data signal where n is an even number, if the first vertical interval value is less than the second vertical interval value; or If the first vertical interval value is greater than the second vertical interval value, a field identification signal of a second state is generated for the nth field media data signal when n is an odd number, and a field identification signal of a first state is generated for the nth field media data signal when n is an even number.
6. The display processing device according to claim 5, characterized in that: Also includes first-in, first-out registers; The first-in first-out register is connected to the decoding module and is configured to cache the initial image data signal and convert the initial image data signal corresponding to the initial clock signal into a target image data signal corresponding to the pixel clock signal for output; The timing signal generator is also configured to receive the pixel clock signal from the phase-locked loop and the vertical synchronization signal, horizontal synchronization signal and video data enable signal from the decoding module for the nth field media data signal, and output the pixel clock signal, the vertical synchronization signal, the horizontal synchronization signal, the video data enable signal and the generated field identification signal.
7. The display processing device according to any one of claim 6, characterized in that: The display processing device also includes a display processing unit; the display processing unit is connected to the first-in first-out register and the timing signal generator, and is configured to receive the nth field media data signal and drive the display panel in the display device to display the target image based on the pixel clock signal, the vertical synchronization signal, the horizontal synchronization signal, the video data enable signal, the field identification signal and the target image data signal.
8. A method for distinguishing front and back field signals, characterized in that: Applied to a display device, and the display device supports an interlaced scanning mode, the method comprises: Receive a continuous multi-field media data signal sent by an external signal source, and each field of the media data signal generates at least a vertical synchronization signal, a video data enable signal and a pixel clock signal after parsing; After receiving the first field media data signal, counting a preset clock signal in a period from the valid edge of the vertical synchronization signal generated by parsing to the valid edge of the video data enable signal to generate a first vertical interval value; After receiving the second field media data signal, counting the preset clock signal in a period from the valid edge of the vertical synchronization signal generated by parsing to the valid edge of the video data enable signal to generate a second vertical interval value; If the first vertical interval value is different from the second vertical interval value, it is determined that the received media data signal corresponds to the interlaced scanning mode, and the nth field media data signal is determined to be a front field signal or a back field signal, where n is a positive integer greater than 2; the first field media data signal and the second field media data signal are any two adjacent field media data signals.
9. The method according to claim 8, characterized in that The display device also supports a progressive scanning mode; the method further includes: If the first vertical interval value is the same as the second vertical interval value, it is determined that the received media data signal corresponds to the progressive scanning mode.
10. The method according to claim 8, characterized in that The step of determining whether the nth field media data signal is a front field signal or a back field signal comprises: If the first vertical interval value is less than the second vertical interval value, determine: When n is an odd number, the nth field media data signal is the front field signal. When n is an even number, the nth field media data signal is the back field signal; If the first vertical interval value is greater than the second vertical interval value, determine: When n is an odd number, the nth field media data signal is the back field signal. When n is an even number, the nth field media data signal is a top field signal.
11. The method according to claim 10, characterized in that The method further comprises: When the n-th field media data signal is a top field signal, generating a field identification signal of a first state for the n-th field media data signal; When the n-th field media data signal is a rear-field signal, a field identification signal of a second state is generated for the n-th field media data signal.
12. The method according to claim 8, characterized in that The method further comprises: After receiving the first field media data signal or the second field media data signal, preprocessing the media data signal to generate an initial clock signal and an intermediate data signal; Sending the initial clock signal to a phase-locked loop to generate the pixel clock signal, and the pixel clock signal is used as the preset clock signal; Decoding the intermediate data signal to generate at least the vertical synchronization signal and the video data enable signal; During a period from an effective edge of the vertical synchronization signal to an effective edge of the video data enable signal, the pixel clock signal is counted to generate the first vertical interval value or the second vertical interval value.
13. The method according to claim 11, characterized in that The method further comprises: After receiving the nth field media data signal, preprocessing the media data signal to generate an initial clock signal and an intermediate data signal; Decoding the intermediate data signal based on the initial clock signal to generate a vertical synchronization signal, a horizontal synchronization signal, a video data enable signal and an initial image data signal; Sending the initial clock signal into a phase-locked loop to generate a pixel clock signal; converting the initial image data signal corresponding to the initial clock signal into a target image data signal corresponding to the pixel clock signal; A target image is displayed based on the field identification signal, the vertical synchronization signal, the horizontal synchronization signal, the video data enable signal, the pixel clock signal, and the target image data signal.
14. A display device, characterized in that: The invention comprises the display processing device as described in any one of claims 1 to 7.
Citation Information
Cited By
Execution method and device of display processing task, equipment and storage medium
CN121411728A
