CN110570793B - 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 PDF

Info

Publication number
CN110570793B
CN110570793B CN201910718492.0A CN201910718492A CN110570793B CN 110570793 B CN110570793 B CN 110570793B CN 201910718492 A CN201910718492 A CN 201910718492A CN 110570793 B CN110570793 B CN 110570793B
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.)
Active
Application number
CN201910718492.0A
Other languages
Chinese (zh)
Other versions
CN110570793A (en
Inventor
肖哲靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Jingce Electronic Group Co Ltd
Wuhan Jingli Electronic Technology Co Ltd
Original Assignee
Wuhan Jingce Electronic Group Co Ltd
Wuhan Jingli Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Jingce Electronic Group Co Ltd, Wuhan Jingli Electronic Technology Co Ltd filed Critical Wuhan Jingce Electronic Group Co Ltd
Priority to CN201910718492.0A priority Critical patent/CN110570793B/en
Publication of CN110570793A publication Critical patent/CN110570793A/en
Application granted granted Critical
Publication of CN110570793B publication Critical patent/CN110570793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/006Electronic 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

Test method and device adaptive to different types of display screens and terminal equipment
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 numbers of Lane interfaces are 2, 4, 8, 16, 32, 64Lane, which correspond to resolutions and refresh rates 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, device and terminal equipment adaptive to different types of display screens, provided by the invention, the spacing line number and the spacing pixel value are preset, and when data are read, the adjacent frame image data are moved and read according to the spacing line number 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 respective 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 further provides a testing device adapted to different types of display screens, fig. 4 is a logic block diagram of the testing device, and referring to 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 uses DDR4, but other common video memory or memory chips may also be used, 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 detected 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 and horizontal screen division, horizontal movement and vertical screen division by 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 method as claimed in claim 4, wherein each of the memory spaces of the first buffer comprises two independent data buffers for buffering the upper split-screen pixel data and the lower split-screen pixel data of the upper and lower split-screen image sources respectively.
6. The testing method for adapting to different types of display screens as claimed in claim 1 or 5, wherein before writing the pixel data of the image source into the first buffer in step S1, further comprising: 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 read upper screen splitting pixel data in each frame of image in the second upper cache module, and stores 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.
CN201910718492.0A 2019-08-05 2019-08-05 Testing method and device adaptive to different types of display screens and terminal equipment Active CN110570793B (en)

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 CN110570793A (en) 2019-12-13
CN110570793B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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
CN114245029B (en) * 2021-12-20 2023-08-01 北京镁伽科技有限公司 FPGA-based data stream processing method and device and PG equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7573286B2 (en) * 2003-05-16 2009-08-11 E.I. Du Pont De Nemours And Company System and method for testing displays
CN104318882A (en) * 2014-11-10 2015-01-28 京东方科技集团股份有限公司 Display module testing equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN110570793A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
US10798334B2 (en) Image processing system, image display method, display device and storage medium
US6593939B2 (en) Image display device and driver circuit therefor
CN116453455B (en) Pixel multiplexing method, data transmission system and display screen control system and method
US11574614B2 (en) Switching method and switching device for display channel, display driving device 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
US20220345769A1 (en) Image data processing device and method, and display device
US8269786B2 (en) Method for reading and writing image data in memory
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
JP2000224477A (en) Video display device and method
JPH11282437A (en) Interface device of liquid-crystal display panel
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
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
TW202002604A (en) Image processing method and electronic device
US20230237971A1 (en) Circuit and method for video data conversion and display device
US20100254618A1 (en) Method for Accessing Image Data and Related Apparatus
KR100875839B1 (en) Image output device and method capable of preventing image tearing
JP4735448B2 (en) Video signal processing device
JPH075834A (en) Liquid crystal display device
CN117255164A (en) Data processing method, device, electronic equipment and readable storage medium
CN111757036A (en) Horizontal mirror image display method and device based on FPGA
JPH11338408A (en) Scan converter

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