CN110570793A - testing method and device adaptive to different types of display screens and terminal equipment - Google Patents
testing method and device adaptive to different types of display screens and terminal equipment Download PDFInfo
- Publication number
- CN110570793A CN110570793A CN201910718492.0A CN201910718492A CN110570793A CN 110570793 A CN110570793 A CN 110570793A CN 201910718492 A CN201910718492 A CN 201910718492A CN 110570793 A CN110570793 A CN 110570793A
- Authority
- CN
- China
- Prior art keywords
- pixel data
- cache
- screen
- reading
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/006—Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention discloses a test method, a test device and an equipment terminal adaptive to different types of display screens, wherein the method comprises the following steps: acquiring pixel data of an image source and storing the pixel data into a first cache; reading pixel data from the first cache and storing the pixel data into the second cache, wherein the initial line reading address between two adjacent frames of images moves according to the preset number of spaced lines; reading pixel data from the second cache and storing the pixel data into a third cache, wherein the initial pixel reading address between each line of data of two adjacent frames of images moves according to a preset interval pixel value; respectively reading pixel data corresponding to each split screen from the third cache according to a vertical split screen mode required by the display screen to be tested; performing bit width conversion on pixel data corresponding to each sub-screen according to the number of channels and the clock period required by the display screen to be tested to obtain a test image signal adaptive to the display screen to be tested; the invention can be adapted to various display screens which need different screen splitting modes, channels, resolutions and picture movement.
Description
Technical Field
The invention belongs to the technical field of display panel testing, and particularly relates to a testing method and device adaptive to different types of display screens and terminal equipment.
background
in the field of display panel testing, a testing device needs to output a testing signal to light a screen and test various performances of the display screen; because the screen size, the input interface, the number of the interfaces Lane and the screen splitting mode of the display screen in the current market are diversified, the picture moving function of the screen needs to be realized when part of the display screens are tested. For example: common input interfaces include DP, HDMI, LVDS, VBYONE, MIPI interfaces, and the like; common screen splitting modes comprise non-screen splitting, upper and lower 2 screen splitting, vertical 4 screen splitting, vertical 8 screen splitting, field character screen splitting and the like; common interface Lane numbers are 2, 4, 8, 16, 32, 64Lane, corresponding to a resolution and refresh rate of 1080p 60hz, 4k 30hz, 4k 60hz, 8k 30hz, 8k 60hz, 8k120hz, respectively. In these split screen modes, when the picture moving function is used, it is necessary to perform a movement of the entire frame, not a movement of the split screen picture.
the conventional testing device is usually adapted to a certain type of display screen, outputs a testing signal with a fixed screen splitting mode and a fixed channel number, and cannot be used for testing other types of display panels; in the face of the test requirements of a wide variety of display screens, a special test device needs to be independently equipped for each display screen, the universality of a single test device is poor, and the equipment development cost is high.
disclosure of Invention
the invention provides a test method, a test device and terminal equipment for adapting to different types of display screens, aiming at solving the problems that the existing test device cannot meet different requirements of different types of display screens on screen splitting modes, picture movement, channel numbers and resolution ratios and is poor in universality.
To achieve the above object, according to a first aspect of the present invention, there is provided a test method adapted to different types of display screens, comprising the steps of:
S1: acquiring pixel data of an image source and storing the pixel data into a first cache;
s2: reading pixel data from the first cache and storing the pixel data into a second cache, wherein the initial line reading address between two adjacent frames of images moves according to the preset number of lines at intervals; the second cache receives pixel data written in by the first cache in a row unit;
s3: reading pixel data from the second cache and storing the pixel data into a third cache, wherein the initial pixel reading address between each line of data of two adjacent frames of images moves according to a preset interval pixel value;
s4: respectively reading pixel data corresponding to each split screen from the third cache according to a vertical split screen mode required by the display screen to be tested;
S5: and performing bit width conversion on the pixel data corresponding to each sub-screen according to the number of channels and the clock period required by the display screen to be tested to obtain a test image signal adaptive to the display screen to be tested.
Preferably, the testing method for adapting to different types of display screens further includes, before step S3, the following steps:
when the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, storing the pixel data read from the first cache in a second cache;
when the horizontal screen splitting mode of the display screen to be detected is vertical screen splitting, the upper screen splitting pixel data and the lower screen splitting pixel data in each frame of image read from the first cache are respectively stored in two independent intervals in the second cache, and vertical screen splitting of the image is achieved.
preferably, the step S1 of the testing method for adapting to different types of display screens includes the following sub-steps:
S11: acquiring pixel data of an image source and performing bit width conversion to obtain pixel data adaptive to the bit width of the first cache;
s12: and performing clock domain crossing conversion on the pixel data after the bit width conversion to obtain pixel data matched with the clock of the first cache, and storing the matched pixel data into the first cache in a row unit.
Preferably, in the test method adapted to different types of display screens, the first buffer includes at least three storage spaces for storing pixel data, and each of the storage spaces stores a frame of pixel data;
If the total frame number in the first cache after the current frame is written into one of the storage spaces is not less than the number of the storage spaces, repeatedly writing the current frame into the corresponding storage space; if the number of frames left in the first cache after the current frame is read from one of the storage spaces is less than one frame, the current frame is repeatedly read, so that image frequency multiplication is realized.
preferably, in the testing apparatus adapted to different types of display screens, each storage space in the first buffer includes two independent data buffer areas, which are respectively used for buffering upper split-screen pixel data and lower split-screen pixel data in the upper and lower split-screen image sources.
Preferably, the testing apparatus adapted to different types of display screens further includes, before writing the pixel data of the image source into the first buffer in step S1: and inserting invalid pixel points into the pixel data of the image source with the non-standard resolution to obtain the pixel data with the standard resolution.
According to a second aspect of the present invention, there is also provided a testing apparatus adapted to different types of display screens, comprising a first buffer, a first reading unit, a second buffer, a second reading unit, a third buffer, a third reading unit, and an adapting unit;
The first reading unit is used for reading pixel data of an image source from the first cache and storing the pixel data into the second cache, and the initial line reading address between two adjacent frames of images moves according to the preset number of spaced lines to realize the vertical movement of the images; the second cache receives pixel data written in by the first cache in a row unit;
The second reading unit reads pixel data from the second cache and stores the pixel data into a third cache, and starting pixel reading addresses between each line of data of two adjacent frames of images move according to preset interval pixel values to realize horizontal movement of the images;
The third reading unit is used for respectively reading pixel data corresponding to each split screen from a third cache according to a vertical split screen mode required by the display screen to be tested, so as to realize vertical split screen;
And the adaptation unit is used for performing bit width conversion on the pixel data corresponding to each sub-screen according to the channel number and the clock period required by the display screen to be tested to obtain a test image signal adapted to the display screen to be tested.
Preferably, in the testing apparatus adapted to different types of display screens, the second buffer receives the pixel data sent by the first reading unit in a row unit, and the second buffer includes a second buffer upper module and a second buffer lower module;
when the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, the first reading unit stores the read pixel data in the second cache upper module;
When the horizontal screen splitting mode of the display screen to be detected is vertical screen splitting, the first reading unit stores the read upper screen splitting pixel data in each frame of image in the second upper cache module, and stores the lower screen splitting pixel data in each frame of image in the second lower cache module, so that vertical screen splitting of the image is realized.
preferably, in the testing device adapted to different types of display screens, two second cache upper modules and two second cache lower modules are provided;
The two second cache upper modules alternately store two adjacent lines of data in upper split-screen pixel data in each frame of image output by the first reading unit; the two second lower cache modules alternately store two adjacent lines of data in the lower split-screen pixel data in each frame of image output by the first reading unit; improving the data transmission rate through ping-pong operation;
the third upper cache module and the third lower cache module are both two, and one third upper cache module correspondingly receives the pixel data output by one second upper cache module.
Preferably, the adapting unit of the testing device for adapting to different types of display screens includes a plurality of point screen adapting cache modules equal to the number of split screens of the display screen to be tested, and one of the point screen adapting cache modules is configured to store pixel data required by one split screen picture and perform bit width conversion on the pixel data according to the number of channels of the display screen to be tested, so as to obtain a test image signal matched with the split screen mode and the number of channels of the display screen to be tested.
preferably, the testing device adapted to different types of display screens further comprises an image source conversion unit and a writing unit;
The image source conversion unit is used for acquiring pixel data of an image source and caching the pixel data in a row unit;
the writing unit is used for monitoring the water level line of the image source conversion unit, and when the water level line reaches the data amount of one line, the pixel data of the line is taken out and written into the first cache.
Preferably, in the testing apparatus adapted to different types of display screens, the first buffer includes at least three storage spaces for storing pixel data, and each of the storage spaces stores a frame of pixel data;
If the total frame number in the first cache after the current frame is written into one of the storage spaces is not less than the number of the storage spaces, the writing unit repeatedly writes the current frame into the corresponding storage space; if the number of frames left in the first cache after the current frame is read from one of the storage spaces is less than one frame, the first reading unit repeatedly reads the current frame, so that image frequency doubling is realized.
preferably, in the testing device adapted to different types of display screens, the image source conversion unit includes a first-level line cache module and a second-level line cache module;
the first-level line cache module is used for carrying out bit width conversion on the acquired pixel data to obtain pixel data adaptive to the bit width of the first cache;
And the second-level line cache module is used for performing clock domain crossing conversion on the pixel data after the bit width conversion to obtain the pixel data matched with the clock of the first cache.
Preferably, in the testing apparatus adapted to different types of display screens, the writing unit is further configured to insert an invalid pixel point into pixel data of an image source with a non-standard resolution to obtain pixel data with a standard resolution.
According to a third aspect of the present invention, there is also provided a terminal device comprising at least one processing unit, and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of any of the methods described above.
According to a fourth aspect of the present invention, there is also provided a computer readable medium storing a computer program executable by a terminal device, the program, when run on the terminal device, causing the terminal device to perform the steps of any of the methods described above.
In general, compared with the prior art, the above technical solution contemplated by the present invention can achieve the following beneficial effects:
(1) according to the testing method, the testing device and the terminal equipment which are adaptive to different types of display screens, provided by the invention, the number of the spacing lines and the spacing pixel value are preset, and when data are read, the adjacent frame image data are moved and read according to the number of the spacing lines and the spacing pixel value respectively, so that the image picture can be moved without moving, vertically moved, horizontally moved and moved at any angle, and different requirements of different types of display screens on picture movement are met.
(2) according to the testing method, the testing device and the terminal equipment which are adaptive to different types of display screens, when the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, a first reading unit stores read whole frame pixel data in a second cache upper module according to lines; when the horizontal split screen mode of the display screen to be detected is vertical split screen mode, the first reading unit stores the upper split screen pixel data in each frame of image in the second cache upper module according to lines, and stores the lower split screen pixel data in each frame of image in the second cache lower module according to lines, so that vertical split screen of the image is realized.
(3) According to the test method and device adaptive to different types of display screens and the terminal equipment, the first cache and the first reading unit work cooperatively, and image frequency multiplication is realized while image data input and image output are isolated and subjected to rate matching.
(4) according to the test method, the test device and the terminal equipment for adapting to the different types of display screens, provided by the invention, the third reading unit is used for reading pixel data corresponding to the split screen from the third cache according to a vertical split screen mode required by the display screen to be tested and sending the pixel data to the adaptation unit to realize vertical split screen; the first reading unit, the second cache, the third cache and the third reading unit are cooperatively matched, and any screen splitting mode can be supported, so that the display screen can be adapted to various display screens.
(5) according to the testing method, the testing device and the testing terminal device which are adaptive to different types of display screens, an image source is input into an image source conversion unit in a vertical split screen mode, upper split screen data are stored into a first-level line cache upper module, and lower split screen data are stored into a first-level line cache lower module; by the method, the bandwidth requirement of large-capacity image source data on the data input interface can be effectively reduced, and the data transmission efficiency is improved.
(6) according to the testing method, the testing device and the terminal equipment which are adaptive to different types of display screens, before the pixel data of the image source are written into the first cache, the invalid pixel points are inserted into the pixel data with the non-standard resolution, and the pixel data with the non-standard resolution is converted into the standard resolution in a form, so that the testing device can support the screen with the special resolution.
Drawings
FIG. 1 is a flow chart of a testing method provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of an implementation method for vertical image shifting according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an implementation method for horizontal image shifting provided by an embodiment of the present invention;
FIG. 4 is a logic block diagram of a testing apparatus provided in an embodiment of the present invention;
Fig. 5 is a logic block diagram of an image caching unit according to an embodiment of the present invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
the testing method, the testing device and the equipment terminal for adapting to different types of display screens provided by the invention can meet different requirements of different display screens for frequency doubling, screen splitting modes, picture movement, resolution and refresh rate, are adapted to various screen types, and have strong universality.
Fig. 1 is a flowchart of a testing method adapted to different types of display screens provided in this embodiment, and as shown in fig. 1, the method includes the following steps:
S1: acquiring pixel data of an image source and storing the pixel data into a first cache; before storing the pixel data into the first buffer, the following conversion operation is also required to be performed on the pixel data:
S11: acquiring pixel data of an image source and performing bit width conversion to obtain pixel data adaptive to the bit width of the first cache; that is, each beat of x pixel points of the image source is converted into each beat of y pixel points, and the purpose of doing so is to match the number of pixel points which can be stored in the unit address of the first cache; in a typical application, x is 2, y is 16;
S12: performing clock domain crossing conversion on the pixel data after bit width conversion to obtain pixel data matched with a clock of a first cache, namely converting the clock domain of the received pixel into the clock domain of the first cache; and storing the matched pixel data into a first buffer.
as a preferable example of this embodiment, the first buffer includes at least three storage spaces for storing pixel data, and each storage space stores one frame of pixel data;
the first cache is mainly used for isolating image data input and image output, and in practical application, the rate of image input and the rate of image output cannot be completely consistent, so that the first cache plays a role in rate matching; if the total frame number in the first cache after the current frame is written into one of the storage spaces is not less than the number of the storage spaces, repeatedly writing the current frame into the corresponding storage space; if the number of frames left in the first cache after the current frame is read from one of the storage spaces is less than one frame, the current frame is repeatedly read, so that the problem of inconsistent input and output rates is solved, and image frequency multiplication is realized; for example, the writing unit writes the pixel data into the first buffer at a rate of 60 frames per second, and the first reading unit reads the data in the first buffer at a rate of 120 frames per second, where the read data frames have a repeated phenomenon.
S2: reading pixel data from the first cache and storing the pixel data into the second cache, wherein the initial line reading address between two adjacent frames of images moves according to the preset number of lines at intervals, so that the images vertically move; the second buffer receives the pixel data written in by the first buffer by line unit;
As shown in fig. 2, the start line reading address of each image is adjusted in units of lines, for example: the reading address of the initial line of the first frame image is the first line, the reading address of the initial line of the second frame image is the second line, …, and so on, and the reading address of the initial line of the Nth frame image is the Nth line; the image frames generated in this way will move vertically upwards; on the contrary, if the reading address of the initial line of the first frame image is line N, the reading address of the initial line of the second frame image is line N-1, …, and the reading address of the initial line of the N frame image is line N; the image frames generated in this way will move vertically downwards; the speed of the vertical movement depends on the number of spacing lines of the reading addresses of the initial lines of two adjacent frames, namely the preset spacing line value, and the larger the number of spacing lines is, the faster the speed of the vertical movement of the image picture is; if the display screen to be tested does not need to vertically move the picture, the number of the interval lines is set to be zero, and the reading is started from the first line of each frame of image when the data is read.
In this embodiment, the second cache includes two independent storage sections, and when the horizontal split screen mode of the display screen to be tested is non-split screen mode, the whole pixel data read from the first cache is stored in the second cache;
when the horizontal screen splitting mode of the display screen to be detected is vertical screen splitting, the upper screen splitting pixel data and the lower screen splitting pixel data in each frame of image read from the first cache are respectively stored in two independent intervals in the second cache, and therefore vertical screen splitting of the image is achieved.
S3: reading pixel data from the second cache and storing the pixel data into a third cache, wherein the initial pixel reading address between each line of data of two adjacent frames of images moves according to a preset interval pixel value to realize the horizontal movement of the images; as shown in fig. 3, the start pixel reading address of each line of data is adjusted in units of pixels, for example, the first pixel of each line of the first frame image is used as the start pixel reading address to read, the second pixel of each line of the second frame image is used as the start pixel reading address to read, …, and so on, and the nth pixel of each line of the nth frame image is used as the start pixel reading address to read; the image frames generated in this way will move horizontally to the right; on the contrary, if the nth pixel of each line of the first frame image is taken as the initial pixel reading address for reading, the nth-1 pixel of each line of the second frame image is taken as the initial pixel reading address for reading, …, and the first pixel of each line of the nth frame image is taken as the initial pixel reading address for reading, the generated image picture moves horizontally to the left; the horizontal moving speed depends on the interval pixel value of the initial pixel reading address of each line of data of two adjacent frames of images, namely the preset interval pixel value, and the larger the interval pixel value is, the faster the image picture moves horizontally; if the display screen to be tested does not need to perform horizontal movement of the picture, the interval pixel value is set to be zero, and the reading is started from the first pixel of each line of each frame of image when the data is read.
S4: respectively reading pixel data corresponding to each split screen from the third cache according to a vertical split screen mode required by the display screen to be tested, and realizing vertical split screen;
for example: if the screen splitting mode of the display screen to be detected is field-shaped screen splitting, firstly, the upper and lower screen splitting of the image is realized through a second cache; on the basis, the upper left data and the upper right data in the upper split-screen pixel data are respectively read from the second buffer, the lower left data and the lower right data in the lower split-screen pixel data are read from the second buffer and are separately stored, and therefore the pixel data corresponding to each split screen are stored in a partitioned mode.
S5: and performing bit width conversion on the pixel data corresponding to each sub-screen according to the number of channels and the clock period required by the display screen to be tested to obtain a test image signal adaptive to the display screen to be tested.
in order to enable the testing device of the invention to support the testing signal with special resolution, before writing the pixel data of the image source into the first cache in the step S1, inserting an invalid pixel point in the pixel data of the image source with non-standard resolution, and formally converting the pixel data with non-standard resolution into standard resolution; for example, a display screen to be tested needs to input 4 pixels per pixel clock (such as a DP interface), but the image display resolution of the display screen to be tested is 1366 × 768, and 1366 cannot be divided by 4, which causes difficulty in data processing. In this embodiment, before writing the pixel data of the image source into the first buffer, two invalid pixel points are inserted into each line of data, that is, the resolution is increased from 1366 to 1368 in each line, then 1368 can be divided by 4, so that the number of channels of the output test signal can be matched with the display screen to be tested; the embodiment facilitates the dot filling operation and reduces the processing difficulty of the pixel data with the nonstandard resolution.
The embodiment also provides a testing device adapted to different types of display screens, fig. 4 is a logic block diagram of the testing device, and as shown in fig. 4, the testing device includes an image source conversion unit, a writing unit, a first cache, a first reading unit, a second cache, a second reading unit, a third cache, a third reading unit and an adaptation unit;
the image source conversion unit acquires pixel data of an image source through a data input interface, caches the pixel data in a row unit and adapts; the type of the data input interface is not particularly limited, and the data input interface can be an HDMI interface, a DP interface, a V-By-One interface, an MIPI interface, an LVDS interface and the like; referring to fig. 5, the image source conversion unit includes a first-level line cache module and a second-level line cache module;
The first-level line cache module is used for performing bit width conversion on the acquired pixel data to obtain pixel data adaptive to the bit width of the first cache; the purpose of this is to match the number of pixel points that can be stored in the unit address of the first cache; the second-level line cache module is used for performing clock domain crossing conversion on the pixel data after bit width conversion to obtain pixel data matched with a clock of the first cache; i.e. from the clock domain of the receiving pixel to the clock domain of the first buffer;
as a preferred embodiment of the present invention, the upper level line cache module includes a first level line cache upper module and a first level line cache lower module; the second-level line cache module comprises a second-level line cache upper module and a second-level line cache lower module;
the first-level line cache upper module and the second-level line cache upper module are used for sequentially caching upper split screen pixel data in an upper split screen image source and a lower split screen image source in a line unit; the first-level line cache lower module and the second-level line cache lower module are used for sequentially caching lower split screen pixel data in an upper split screen image source and a lower split screen image source in a line unit;
In the embodiment, an image source is preferably input into an image source conversion unit in a vertical split screen mode, wherein the vertical split screen data is stored in a first-level line cache upper module, and the vertical split screen data is stored in a first-level line cache lower module; by the method, the bandwidth requirement of large-capacity image source data on the data input interface can be effectively reduced, and the data transmission efficiency is improved. Of course, although the testing device is provided with the primary line cache upper module and the primary line cache lower module to support the image source input in the mode of upper and lower split screens, the device can also receive the image source without split screens, the image source without split screens is directly input into any one of the primary line cache upper module and the primary line cache lower module, and the rest is idle.
The writing unit is used for monitoring the water level line of the image source conversion unit, and when the water level line reaches the data amount of one line, the pixel data of the line is taken out and written into the first cache; the first cache comprises at least three storage spaces for storing pixel data, and each storage space sequentially stores a frame of pixel data, namely each frame of image is sequentially stored from top to bottom and from left to right;
the first cache is mainly used for isolating image data input and image output, and in practical application, the rate of image input and the rate of image output cannot be completely consistent, so that the first cache plays a role in rate matching; when the number of the image frames stored in the first cache reaches 1 frame, the first reading unit starts to operate, image data are continuously taken out from the first cache, and if the number of the frames left in the first cache after the current frame is read from one of the storage spaces is more than one frame, the next frame of data is continuously taken out; if the number of the remaining frames is less than or equal to one frame, the first reading unit repeatedly reads the current frame; similarly, if the total frame number in the first cache after the current frame is written into one of the storage spaces is less than the number of the storage spaces, continuing to write the next frame into the next storage space; if the total frame number is not less than the number of the storage spaces, the writing unit repeatedly writes the current frame into the corresponding storage space; therefore, the problem of inconsistent input and output rates is solved, and image frequency multiplication is realized.
After the first reading unit reads a frame of data, whether a complete frame of data exists in the first cache needs to be judged; similarly, after the write-in unit finishes writing a frame, it needs to judge whether there is free storage space in the first buffer to write the next frame; due to the fact that time delay exists in reading and writing of data, the time delay can cause the difference between the counting result of the data frame and the actual situation, and further cause the error in boundary judgment; in the embodiment, at least three storage spaces are adopted to realize at least 3 frames of cache, so that the condition of boundary error can be avoided, the data frame output can be smoother, and unnecessary frame loss is reduced.
each storage space in the first cache comprises two independent data cache regions of a frame cache upper module and a frame cache lower module; the frame buffer upper module is used for storing upper split screen pixel data in each frame of image; and the frame buffer lower module is used for storing lower split-screen pixel data in each frame of image.
In this embodiment, the first cache adopts DDR4, but other common video memory or memory chips may also be adopted, which is not limited in this embodiment.
the first reading unit is used for reading the pixel data from the first cache and sending the pixel data to the second cache, and when the pixel data is read, the initial line reading address between two adjacent frames of images moves according to the preset number of spaced lines to realize the vertical movement of the images; the second reading unit reads the pixel data from the second cache and sends the pixel data to a third cache, and when the pixel data is read, the initial pixel reading address between each line of data of two adjacent frames of images moves according to a preset interval pixel value to realize the horizontal movement of the images;
the spacing line number and the spacing pixel value are preset, the image picture can be moved in a non-moving mode, a vertical moving mode, a horizontal moving mode and an arbitrary angle moving mode through the first reading unit and the second reading unit, and the requirements of different display screens for picture moving are met.
as a preferable preference of this embodiment, in the testing apparatus adapted to different types of display screens, the second buffer receives the pixel data sent by the first reading unit in a row unit, and the size of the second buffer can only store one row of data, and includes a second buffer upper module and a second buffer lower module;
when the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, the first reading unit stores the output whole frame of pixel data in the second cache upper module according to lines;
When the horizontal split screen mode of the display screen to be detected is vertical split screen mode, the first reading unit stores the upper split screen pixel data in each frame of image in the second cache upper module according to lines, and stores the lower split screen pixel data in each frame of image in the second cache lower module according to lines, and vertical split screen of the image is achieved.
The third cache receives and stores the pixel data output by the second cache in a row unit, and comprises a third cache upper module and a third cache lower module; the third on-buffer module is used for storing the pixel data taken out from the second on-buffer module by the second reading unit; the third lower cache module is used for storing the pixel data which is fetched by the second reading unit from the second lower cache module. When the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, the third upper cache module stores the whole frame of pixel data taken out from the second upper cache module, and the third lower cache module is idle; when the horizontal screen splitting mode of the display screen to be tested is vertical screen splitting, the upper cache upper module stores the upper screen splitting pixel data in each frame of image taken out from the second cache upper module; and the third lower cache module stores the lower split-screen pixel data in each frame of image taken out from the second lower cache module.
As a preferred embodiment of the present invention, in the testing device adapted to different types of display screens, two second cache upper modules and two second cache lower modules are provided;
the two second cache upper modules alternately store two adjacent lines of data in upper split screen pixel data in each frame of image output by the first reading unit; the two second lower cache modules alternately store two adjacent lines of data in the lower split-screen pixel data in each frame of image output by the first reading unit; the second upper module for cache can read data to the lower level while the second upper module for cache stores the data; the data transmission rate and the processing efficiency are improved through ping-pong operation, the first reading unit can continuously read the pixel data from the image source buffer unit and store the pixel data into the second buffer, and the second reading unit can continuously read the pixel data from the second buffer.
the third upper cache module and the third lower cache module are both two, and one third upper cache module correspondingly receives the pixel data output by one second upper cache module.
in this embodiment, both the second cache and the third cache employ RAMs, and certainly, other common memory chips may also be employed, which is not specifically limited in this embodiment.
The third reading unit is used for reading pixel data corresponding to split screens from the third cache according to a vertical split screen mode required by the display screen to be tested and sending the pixel data to the adapting unit to realize vertical split screens; for example: if the screen splitting mode of the display screen to be tested is field-shaped screen splitting, the third reading unit respectively reads the upper left data and the upper right data in the upper split-screen pixel data from the second cache upper module and sends the upper left data and the upper right data to the adaptation unit, and respectively reads the lower left data and the lower right data in the lower split-screen pixel data from the second cache lower module and sends the lower left data and the lower right data to the adaptation unit.
the adaptation unit is used for carrying out bit width conversion on the pixel data output by the third reading unit according to the number of channels and the clock period required by the display screen to be tested to obtain a test image signal adapted to the display screen to be tested; the adaptive unit comprises a plurality of point screen adaptive cache modules with the same number as the split screens of the display screen to be detected, and one point screen adaptive cache module is used for storing pixel data required by one split screen picture; if the display screen to be tested is a field-shaped split screen, the adaptation unit comprises four dot screen adaptation cache modules which are used for respectively storing pixel data of the upper left part, the upper right part, the lower left part and the lower right part; each point screen adaptive cache module is also used for carrying out bit width conversion on respective pixel data according to the channel number of the display screen to be tested, and obtaining a test image signal matched with the screen splitting mode and the channel number of the display screen to be tested. After the adaptation is completed, each point screen adaptation cache module simultaneously sends the stored pixel data to the display screen to be tested through the test interface, and the point screen test is carried out on the display screen to be tested.
In order to enable the testing device of the invention to support the testing signal with special resolution, the writing unit inserts invalid pixel points into the pixel data with non-standard resolution before writing the pixel data of the image source into the first buffer, and converts the pixel data with non-standard resolution into standard resolution formally.
After the converted pixel data is subjected to frequency multiplication, vertical movement, vertical screen division, horizontal movement and vertical screen division through a first reading unit, a second reading unit, a third cache and a third reading unit, channel number adaptation is performed in an adaptation unit, and then invalid pixel points in the pixel data are removed by the adaptation unit to obtain a test signal corresponding to the pixel data with the non-standard resolution.
In addition, the testing device provided by the embodiment also has the advantages of convenience in cascading and expansion, and due to the fact that the testing interface of a single testing device is limited, batch testing can not be carried out on a large number of display screens at the same time, and testing efficiency is reduced; in order to solve one problem, in this embodiment, one of the test interfaces in the previous stage of test device is connected to the data input interface of the next stage of test device, the test signal output by the previous stage of test device serves as the image source of the next stage of test device, if the previous stage of test device and the image source device transmit pixel data in a vertical split screen manner, the previous stage of test device and the next stage of test device also transmit pixel data in a vertical split screen manner, and any split screen manner can be adopted between the next stage of test device and the display terminal, depending on the type of the display screen to be tested.
The present embodiment also provides a terminal device, which includes at least one processor and at least one memory, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method; the type of processor and memory are not particularly limited, for example: the processor may be a microprocessor, digital information processor, on-chip programmable logic system, or the like; the memory may be volatile memory, non-volatile memory, a combination thereof, or the like.
The present embodiment also provides a computer-readable medium, in which a computer program executable by a terminal device is stored, which computer program, when run on the terminal device, causes the terminal device to perform the steps of the above-mentioned method.
it will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A test method for adapting to different types of display screens is characterized by comprising the following steps:
s1: acquiring pixel data of an image source and storing the pixel data into a first cache;
s2: reading pixel data from the first cache and storing the pixel data into a second cache, wherein the initial line reading address between two adjacent frames of images moves according to the preset number of lines at intervals;
s3: reading pixel data from the second cache and storing the pixel data into a third cache, wherein the initial pixel reading address between each line of data of two adjacent frames of images moves according to a preset interval pixel value;
S4: respectively reading pixel data corresponding to each split screen from the third cache according to a split screen mode required by the display screen to be tested;
S5: and performing bit width conversion on the pixel data corresponding to each sub-screen according to the number of channels and the clock period required by the display screen to be tested to obtain a test image signal adaptive to the display screen to be tested.
2. The testing method for adapting to different types of display screens of claim 1, wherein the step S3 is preceded by the steps of:
When the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, storing the pixel data read from the first cache in a second cache;
when the horizontal screen splitting mode of the display screen to be detected is vertical screen splitting, the upper screen splitting pixel data and the lower screen splitting pixel data in each frame of image read from the first cache are respectively stored in two independent intervals in the second cache, and vertical screen splitting of the image is achieved.
3. A test method for adapting different types of display screens according to claim 1 or 2, characterized in that step S1 comprises the following sub-steps:
S11: acquiring pixel data of an image source and performing bit width conversion to obtain pixel data adaptive to the bit width of the first cache;
s12: and performing clock domain crossing conversion on the pixel data after the bit width conversion to obtain pixel data matched with the clock of the first cache, and storing the matched pixel data into the first cache in a row unit.
4. The testing method for adapting to different types of display screens according to claim 1 or 2, wherein the first buffer comprises at least three storage spaces for storing pixel data, and each storage space stores a frame of pixel data;
If the total frame number in the first cache after the current frame is written into one of the storage spaces is not less than the number of the storage spaces, repeatedly writing the current frame into the corresponding storage space; if the number of frames left in the first cache after the current frame is read from one of the storage spaces is less than one frame, the current frame is repeatedly read, so that image frequency multiplication is realized.
5. the testing device for adapting to different types of display screens of claim 3, wherein each storage space in the first buffer comprises two independent data buffer areas for buffering upper split screen pixel data and lower split screen pixel data in upper and lower split screen image sources respectively.
6. The testing apparatus for adapting different types of display screens of claim 1 or 5, wherein before writing the pixel data of the image source into the first buffer in step S1, the method further comprises: and inserting invalid pixel points into the pixel data of the image source with the non-standard resolution to obtain the pixel data with the standard resolution.
7. A testing device adaptive to different types of display screens is characterized by comprising a first reading unit, a second reading unit, a third reading unit and an adaptive unit;
the first reading unit is used for reading pixel data of an image source from the first cache and storing the pixel data into the second cache, and the initial line reading address between two adjacent frames of images moves according to the preset number of spaced lines;
The second reading unit reads pixel data from the second cache and stores the pixel data into a third cache, and starting pixel reading addresses between each line of data of two adjacent frames of images move according to preset interval pixel values;
The third reading unit is used for respectively reading pixel data corresponding to each split screen from a third cache according to a vertical split screen mode required by the display screen to be detected;
and the adaptation unit is used for performing bit width conversion on the pixel data corresponding to each sub-screen according to the channel number and the clock period required by the display screen to be tested to obtain a test image signal adapted to the display screen to be tested.
8. The test device for adapting different types of display screens of claim 7, wherein the second cache comprises a second cache upper module and a second cache lower module;
When the horizontal screen splitting mode of the display screen to be tested is non-screen splitting, the first reading unit stores the read pixel data in the second cache upper module;
when the horizontal screen splitting mode of the display screen to be detected is vertical screen splitting, the first reading unit stores the read upper screen splitting pixel data in each frame of image in the second upper cache module, and stores the lower screen splitting pixel data in each frame of image in the second lower cache module, so that vertical screen splitting of the image is realized.
9. The test device for adapting different types of display screens according to claim 7 or 8, wherein the first buffer comprises at least three storage spaces for storing pixel data, and each storage space stores a frame of pixel data;
if the total frame number in the first cache after the current frame is written into one of the storage spaces is not less than the number of the storage spaces, repeatedly writing the current frame into the corresponding storage space; if the number of frames left in the first cache after the current frame is read from one of the storage spaces is less than one frame, the first reading unit repeatedly reads the current frame, so that image frequency doubling is realized.
10. A terminal device, comprising at least one processing unit and at least one memory unit, wherein the memory unit has stored therein a computer program which, when executed by the processing unit, causes the processing unit to carry out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910718492.0A CN110570793B (en) | 2019-08-05 | 2019-08-05 | Testing method and device adaptive to different types of display screens and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910718492.0A CN110570793B (en) | 2019-08-05 | 2019-08-05 | Testing method and device adaptive to different types of display screens and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110570793A true CN110570793A (en) | 2019-12-13 |
CN110570793B CN110570793B (en) | 2022-05-13 |
Family
ID=68774598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910718492.0A Active CN110570793B (en) | 2019-08-05 | 2019-08-05 | Testing method and device adaptive to different types of display screens and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110570793B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501096A (en) * | 2020-10-27 | 2022-05-13 | 西安钛铂锶电子科技有限公司 | Image display method, image display device, and image display system |
WO2023116320A1 (en) * | 2021-12-20 | 2023-06-29 | 北京镁伽科技有限公司 | Fpga-based data flow processing method and apparatus, and pg device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040227708A1 (en) * | 2003-05-16 | 2004-11-18 | Huelson Phillip Wayne | System and method for testing displays |
JP2006053585A (en) * | 2005-10-07 | 2006-02-23 | Seiko Epson Corp | Display controller, display unit and electronic equipment |
CN103050073A (en) * | 2012-12-26 | 2013-04-17 | 武汉精测电子技术有限公司 | DP (Digital Processing) decoding and automatic resolution adjusting liquid crystal display module testing method and device |
CN105023549A (en) * | 2015-07-15 | 2015-11-04 | 武汉精测电子技术股份有限公司 | Resolution-adaptive MIPI (mobile industry processor interface) graph signal generation device and method |
CN105721818A (en) * | 2016-03-18 | 2016-06-29 | 武汉精测电子技术股份有限公司 | Signal conversion method and device |
US20170018213A1 (en) * | 2014-11-10 | 2017-01-19 | Boe Technology Group Co., Ltd. | Display module detection device |
-
2019
- 2019-08-05 CN CN201910718492.0A patent/CN110570793B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040227708A1 (en) * | 2003-05-16 | 2004-11-18 | Huelson Phillip Wayne | System and method for testing displays |
JP2006053585A (en) * | 2005-10-07 | 2006-02-23 | Seiko Epson Corp | Display controller, display unit and electronic equipment |
CN103050073A (en) * | 2012-12-26 | 2013-04-17 | 武汉精测电子技术有限公司 | DP (Digital Processing) decoding and automatic resolution adjusting liquid crystal display module testing method and device |
US20170018213A1 (en) * | 2014-11-10 | 2017-01-19 | Boe Technology Group Co., Ltd. | Display module detection device |
CN105023549A (en) * | 2015-07-15 | 2015-11-04 | 武汉精测电子技术股份有限公司 | Resolution-adaptive MIPI (mobile industry processor interface) graph signal generation device and method |
CN105721818A (en) * | 2016-03-18 | 2016-06-29 | 武汉精测电子技术股份有限公司 | Signal conversion method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501096A (en) * | 2020-10-27 | 2022-05-13 | 西安钛铂锶电子科技有限公司 | Image display method, image display device, and image display system |
WO2023116320A1 (en) * | 2021-12-20 | 2023-06-29 | 北京镁伽科技有限公司 | Fpga-based data flow processing method and apparatus, and pg device |
Also Published As
Publication number | Publication date |
---|---|
CN110570793B (en) | 2022-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200145607A1 (en) | Image processing system, image display method, display device and storage medium | |
CN116453455B (en) | Pixel multiplexing method, data transmission system and display screen control system and method | |
US20020012006A1 (en) | Image display device and driver circuit therefor | |
US11574614B2 (en) | Switching method and switching device for display channel, display driving device and display device | |
US20220345769A1 (en) | Image data processing device and method, and display device | |
CN101155288A (en) | High-definition image display device and method of converting frame rate thereof | |
CN110570793B (en) | Testing method and device adaptive to different types of display screens and terminal equipment | |
US7489316B2 (en) | Method for frame rate conversion | |
US8269786B2 (en) | Method for reading and writing image data in memory | |
CN113205779A (en) | Multi-screen synchronous control method, device and system suitable for electronic ink screen | |
US11037530B2 (en) | Video processing circuit and method for handling multiple videos using single video processing path capable of increasing processing data rate and saving circuit area | |
CN104268098A (en) | On-chip cache system for transformation on ultrahigh-definition video frame rates | |
CN115834874A (en) | Real-time monitoring method and device for display bandwidth errors of GPU | |
JPH11282437A (en) | Interface device of liquid-crystal display panel | |
JP2000224477A (en) | Video display device and method | |
CN111768732B (en) | Display driving device, display device and display driving method | |
US8081257B2 (en) | Method and system for processing image data in LCD by integrating de-interlace and overdrive operations | |
CN113658049A (en) | Image transposition method, equipment and computer readable storage medium | |
US20050179826A1 (en) | Method and apparatus for compensating for interlaced-scan type video signal | |
JP2002014645A (en) | Picture data converting device into intra-frame time- division gradation display system | |
CN113141481A (en) | Video time sequence conversion method and device and computer readable medium | |
TW202002604A (en) | Image processing method and electronic device | |
US20230237971A1 (en) | Circuit and method for video data conversion and display device | |
CN117255164A (en) | Data processing method, device, electronic equipment and readable storage medium | |
CN117424989A (en) | Image data processing method, device, electronic equipment and readable storage medium |
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 |