CN114281631A - Method and device for testing image processing chip and electronic equipment - Google Patents

Method and device for testing image processing chip and electronic equipment Download PDF

Info

Publication number
CN114281631A
CN114281631A CN202111636864.9A CN202111636864A CN114281631A CN 114281631 A CN114281631 A CN 114281631A CN 202111636864 A CN202111636864 A CN 202111636864A CN 114281631 A CN114281631 A CN 114281631A
Authority
CN
China
Prior art keywords
processing chip
test
image data
image processing
cyclic redundancy
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.)
Pending
Application number
CN202111636864.9A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111636864.9A priority Critical patent/CN114281631A/en
Publication of CN114281631A publication Critical patent/CN114281631A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method and a device for testing an image processing chip and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: in response to a test request for the image processing chip, replacing preview image data acquired by the camera with test image data through the central processing chip; sending the test image data to the image processing chip through the central processing chip, so that the image processing chip transmits the test image data back to the central processing chip; and verifying the returned test image data through the central processing chip to obtain a test result of the image processing chip.

Description

Method and device for testing image processing chip and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for testing an image processing chip and electronic equipment.
Background
Along with the development of intelligent electronic equipment, the functions of the electronic equipment are diversified, the intelligent electronic equipment is formed by assembling various components of different types, and after the components are assembled, the basic functions of the components are usually tested by some testing methods so as to accurately judge whether the components have adverse conditions.
Taking an intelligent electronic device as an example of a mobile phone, in the related art, most of the devices in the mobile phone are tested by a manual testing method to detect whether the corresponding devices are abnormal. However, the manual detection standard is not easy to grasp, and the human eye cannot easily observe the fine problems, so that the test efficiency and the test accuracy are not high.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for testing an image processing chip and electronic equipment, and the purpose of detecting the usability of the image processing chip hardware is achieved by replacing manual verification through a software testing method.
In a first aspect, an embodiment of the present application provides a method for testing an image processing chip, where the method includes:
in response to a test request for the image processing chip, replacing preview image data acquired by the camera with test image data through the central processing chip;
sending the test image data to the image processing chip through the central processing chip, so that the image processing chip transmits the test image data back to the central processing chip;
and verifying the returned test image data through the central processing chip to obtain a test result of the image processing chip.
In a second aspect, an embodiment of the present application provides an apparatus for testing an image processing chip, the apparatus including:
the replacing module is used for responding to a test request of the image processing chip and replacing preview image data acquired by the camera with test image data;
the sending module is used for sending the test image data to the image processing chip so that the image processing chip sends the test image data back to the central processing chip;
and the checking module is used for checking the returned test image data to obtain a test result of the image processing chip.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, after receiving a test request for an image processing chip, an electronic device replaces preview image data acquired by a camera with test image data through a central processing chip, and sends the test image data to the image processing chip, the image processing chip returns the test image data to the central processing chip, and the central processing chip verifies the returned test image data to obtain a test result of the image processing chip. Namely, the usability of the image display chip hardware is detected through a video recording software channel of the electronic equipment, and the software testing method replaces a manual testing method, so that the testing efficiency and the testing accuracy of the image processing chip are improved.
Drawings
FIG. 1 is a flowchart of a method for testing an image processing chip according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a display interface provided by an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a testing apparatus for an image processing chip according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a method for testing an image processing chip according to an embodiment of the present application with reference to the accompanying drawings.
Please refer to fig. 1, which is a flowchart illustrating a method for testing an image processing chip according to an embodiment of the present disclosure. The method can be applied to electronic equipment, and the electronic equipment can be a mobile phone, a tablet computer, a notebook computer and the like. As shown in fig. 1, the method may include steps 1100-1300, which are described in detail below.
Step 1100, in response to a test request to the image processing chip, replacing preview image data collected by the camera with test image data through the central processing chip.
For example, a tester may send a test request for the image processing chip to the electronic device through the test tool, and after receiving the test request for the image processing chip, the electronic device may control the electronic device to start the camera application program, and replace preview image data acquired by the camera with test image data through the central processing chip when the camera application program is in an open state.
For example, a tester may send a test request for the image processing chip to the electronic device through the test tool, and after receiving the test request for the image processing chip, the electronic device replaces preview image data acquired by the camera with test image data through the central processing chip when the camera application is in an open state.
The test image is a fixed picture pre-stored in the camera application.
For example, when a camera application of the electronic device is in an open state, the electronic device may display a video recording interface, so that the camera captures preview image data in real time. Here, the central processing chip replaces each frame of preview image data collected by the camera with the fixed test image data.
After executing the test request responding to the image processing chip and replacing the preview image data collected by the camera by the central processing chip with the test image data, entering:
step 1200, sending the test image data to the image processing chip through the central processing chip, so that the image processing chip sends the test image data back to the central processing chip.
In this embodiment, replacing the preview image data collected by the camera with the test image data through the central processing chip in step 1200 may further include the following steps 1210 to 1220:
step 1210, separating the test image data from the operation interface data of the camera application program through the central processing chip.
The operation interface data of the camera application program is interface data of a video recording interface, and the video recording interface includes, for example and without limitation, a "photograph" button, a "video recording" button, a "night scene" button, a "portrait" button, and the like.
In this step 1210, the central processing chip includes the operation interface data and the test image data of the camera application program, where the central processing chip is required to separate the operation interface data and the test image data of the camera application program, and send the operation interface data and the test image data of the camera application program to the image processing chip through different data paths.
Step 1220, sending the separated test image data to the image processing chip through the central processing chip.
The image processing chip may be an external image processing chip (i.e., a chip dedicated to image enhancement processing) that may be processed by the external image processing chip in the electronic device. The image enhancement processing functions described above include, for example and without limitation, noise reduction functions, motion estimation motion compensation functions.
It can be understood that, under the condition that the image enhancement processing function of the image processing chip is in an on state, the image processing chip performs effect enhancement processing on each frame of received test image data, and in order to avoid affecting the received test image data, the electronic device closes the image enhancement processing function of the image processing chip. Under the condition that the image enhancement processing function of the image processing chip is in a closed state, the image processing chip only transmits the received test image data and does not change the content of the test image data.
In this embodiment, the central processing chip sends the separated test image data to the image processing chip through the first data path, and sends the separated operation interface data of the camera application program to the image processing chip through the second data path. The RX1 interface of the image processing chip receives the separated test image data transmitted by the first data path, and the RX0 interface of the image processing chip receives the operation interface data of the separated camera application program.
In this embodiment, after receiving the test image data sent by the central processing chip, the image processing chip divides the test image data into two paths of data, one path of the test image data is transmitted back to the central processing chip for data verification, and the other path of the test image data is mixed with the operation interface data of the camera application program and is superimposed on the operation interface data and sent to the display screen for display.
After the central processing chip sends the test image data to the image processing chip so that the image processing chip sends the test image data back to the central processing chip, entering:
step 1300, verifying the returned test image data through the central processing chip to obtain a test result of the image processing chip.
In this embodiment, after receiving each frame of test image data returned by the image processing chip, the central processing chip verifies each frame of test image data, and further obtains a test result of the image processing chip.
In this embodiment, the step 1300 of verifying the returned test image data by the central processing chip to obtain the test result of the image processing chip may further include the following steps 1310 to 1350:
step 1310, performing cyclic redundancy check analysis on each frame of returned test image data through the central processing chip to obtain a cyclic redundancy check code of each frame of test image data.
The central processing chip performs Cyclic Redundancy Check (CRC) analysis on each frame of the returned test image data to obtain a CRC code of each frame of the test image data.
Step 1320, comparing the cyclic redundancy check code of each frame of the test image data with a preset cyclic redundancy check code through the central processing chip.
The predetermined Cyclic Redundancy Check (CRC) code may be pre-stored in the camera application, and the electronic device has a one-to-one correspondence with the predetermined CRC code.
Illustratively, the central processing chip compares the CRC code of the returned 20 frames of test image data with a preset CRC code, for example.
Step 1330, determining that the test result of the image processing chip is a test pass under the condition that the cyclic redundancy check code of each frame of test image data is the same as the preset cyclic redundancy check code.
Continuing with the example of step 1320, if the CRC code of the 20 frames of the returned test image data is compared with the preset CRC code, and the CRC codes of the 20 frames of the test image data are all the same as the preset CRC code, the central processing chip indicates that the test result of the image processing chip is that the test is passed, that is, the image processing chip has no abnormality.
Step 1340, determining that the test result of the image display chip is that the test is failed under the condition that the cyclic redundancy check code of the at least one frame of test image data is different from a preset cyclic redundancy check code.
Continuing with the example of step 1320, the central processing chip compares the CRC code of the 20 frames of the returned test image data with the preset CRC code, and when the CRC code of at least one frame of the 20 frames of the test image data is different from the preset CRC code, it indicates that the test result of the image processing chip is that the test is failed, that is, the image processing chip is abnormal.
According to the embodiment of the application, after the electronic equipment receives a test request for the image processing chip, the preview image collected by the camera is replaced by the test image data through the central processing chip, the test image data are sent to the image processing chip, the image processing chip transmits the test image data back to the central processing chip, and the central processing chip verifies the transmitted test image data to obtain the test result of the image processing chip. Namely, after the electronic equipment receives the test request of the image processing chip, the test of the image processing chip can be automatically carried out, the usability of the image display chip hardware is detected through the video recording software channel of the electronic equipment, the whole test replaces a manual test method through a software test method, and the test efficiency and the test accuracy of the image processing chip are improved.
For convenience of explanation, the following describes a method for testing an image processing chip according to an internal data processing procedure of an electronic device and a processing architecture diagram shown in fig. 2. Fig. 2 is a schematic view of an electronic device according to an embodiment of the present application. As shown in fig. 2, the electronic device includes a central processing chip 20, an image processing chip 23, and a display screen 24. The central processing chip 20 includes: camera application 21, display framework (surface flicker) 22. The various modules may perform the following functions:
(1) the camera application 21 creates a preview view (surfeview) while in the on state, and fills each frame image captured in real time by the camera in the surfview.
(2) The camera application 21 replaces the frame image data filled in the surfeview with the same frame test image data.
(3) The display frame (surface flicker) 22 separates the operation interface data from the test image data of each frame, and transmits the separated test image data to an RX1(Receive X1) interface of the image processing chip 23 through a first data path, and transmits the separated operation interface data to an RX0(Receive X0) interface of the image processing chip 23 through a second data path.
(4) And the image processing chip 23 divides the received test image data into two paths of data under the condition that the image enhancement processing function is closed, wherein one path of test image data is mixed and superposed with the received operation interface data and is transmitted to the display screen 24 for displaying. The other path of test image data is passed back to the camera application 21 for verification.
(5) After receiving each frame of test image data returned by the image processing chip 23, the camera application 21 performs cyclic redundancy check analysis on each frame of returned test image data to obtain a cyclic redundancy check code of each frame of test image data. And comparing the cyclic redundancy check code of each frame of test image data with a preset cyclic redundancy check code, and determining the test result of the image processing chip as a test pass under the condition that the cyclic redundancy check code of each frame of test image data is the same as the preset cyclic redundancy check code. And under the condition that the cyclic redundancy check code of at least one frame of test image data is different from the preset cyclic redundancy check code, determining that the test result of the image display chip is that the test does not pass.
According to the test method of the image processing chip provided by the embodiment of the application, the execution main body can be a test device of the image processing chip. In the embodiment of the present application, a method for executing a test of an image processing chip by using a test apparatus of the image processing chip is taken as an example, and an apparatus for testing the image processing chip provided in the embodiment of the present application is described.
Corresponding to the above embodiments, referring to fig. 3, an embodiment of the present application further provides a testing apparatus 300 for an image processing chip, which includes a replacing module 301, a sending module 302, and a verifying module 303.
A replacing module 301, configured to replace, in response to a test request for the image processing chip, preview image data acquired by the camera with test image data.
A sending module 302, configured to send the test image data to the image processing chip, so that the image processing chip sends the test image data back to the central processing chip.
The verification module 303 is configured to verify the returned test image data to obtain a test result of the image processing chip.
In one embodiment, the apparatus 300 further comprises a shutdown module (not shown). And the closing module is used for closing the image enhancement processing function of the image processing chip before the central processing chip sends the test image data to the image processing chip.
In an embodiment, the sending module 302 is specifically configured to: separating the test image data from the operational interface data of the camera application; and sending the separated test image data to the image processing chip.
In an embodiment, the verification module 303 is specifically configured to: carrying out cyclic redundancy check analysis on each frame of returned test image data to obtain cyclic redundancy check codes of each frame of test image data; comparing the cyclic redundancy check code of each frame of test image data with a preset cyclic redundancy check code; and under the condition that the cyclic redundancy check code of each frame of test image data is the same as the preset cyclic redundancy check code, determining that the test result of the image processing chip is a test pass.
In an embodiment, the verification module 303 is specifically configured to: and under the condition that the cyclic redundancy check code of at least one frame of test image data is different from the preset cyclic redundancy check code, determining that the test result of the image display chip is that the test does not pass.
In the embodiment of the application, after receiving a test request for an image processing chip, an electronic device replaces preview image data acquired by a camera with test image data through a central processing chip, and sends the test image data to the image processing chip, the image processing chip returns the test image data to the central processing chip, and the central processing chip verifies the returned test image data to obtain a test result of the image processing chip. Namely, the usability of the image display chip hardware is detected through a video recording software channel of the electronic equipment, and the software testing method replaces a manual testing method, so that the testing efficiency and the testing accuracy of the image processing chip are improved.
The testing device of the image processing chip in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The test device of the image processing chip in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The test device for the image processing chip provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in an embodiment of the present application, and includes a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and when the program or the instruction is executed by the processor 401, the steps of the embodiment of the method for testing an image processing chip are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, an image processing chip, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 510 is configured to, in response to a test request for the image processing chip, replace, by the central processing chip, preview image data acquired by the camera with test image data; sending the test image data to the image processing chip through the central processing chip, so that the image processing chip transmits the test image data back to the central processing chip; and verifying the returned test image data through the central processing chip to obtain a test result of the image processing chip.
In the embodiment of the application, after receiving a test request for an image processing chip, an electronic device replaces preview image data acquired by a camera with test image data through a central processing chip, and sends the test image data to the image processing chip, the image processing chip returns the test image data to the central processing chip, and the central processing chip verifies the returned test image data to obtain a test result of the image processing chip. Namely, the usability of the image display chip hardware is detected through a video recording software channel of the electronic equipment, and the software testing method replaces a manual testing method, so that the testing efficiency and the testing accuracy of the image processing chip are improved.
In one embodiment, the processor 510 is configured to turn off the image enhancement processing function of the image processing chip.
In one embodiment, a processor 510 for separating the test image data from the operator interface data of the camera application by the central processing chip; and sending the separated test image data to the image processing chip through the central processing chip.
In an embodiment, the processor 510 is configured to perform cyclic redundancy check analysis on each frame of returned test image data through the central processing chip to obtain a cyclic redundancy check code of each frame of test image data; comparing the cyclic redundancy check code of each frame of test image data with a preset cyclic redundancy check code through the central processing chip; and determining that the test result of the image processing chip is a test pass under the condition that the cyclic redundancy check code of each frame of test image data is the same as the preset cyclic redundancy check code.
In an embodiment, the processor 510 is configured to determine that the test result of the image display chip is a test failure if the cyclic redundancy check code of at least one frame of test image data is different from a preset cyclic redundancy check code.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or non-volatile memory, or the memory 509 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 509 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor, which mainly handles operations related to the operating system, user interface, and applications, and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the test method for an image processing chip, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the test method for an image processing chip, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
The present application provides a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above-mentioned embodiment of the testing method for an image processing chip, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for testing an image processing chip, the method comprising:
in response to a test request for the image processing chip, replacing preview image data acquired by the camera with test image data through the central processing chip;
sending the test image data to the image processing chip through the central processing chip, so that the image processing chip transmits the test image data back to the central processing chip;
and verifying the returned test image data through the central processing chip to obtain a test result of the image processing chip.
2. The method according to claim 1, wherein before the sending the test image data to the image processing chip by the central processing chip, the method further comprises:
and closing the image enhancement processing function of the image processing chip.
3. The method of claim 1, wherein sending the test image data to the image processing chip by the central processing chip comprises:
separating the test image data from the operation interface data of the camera application program through the central processing chip;
and sending the separated test image data to the image processing chip through the central processing chip.
4. The method according to claim 1, wherein the verifying the returned test image data by the cpu chip to obtain the test result of the image processing chip comprises:
performing cyclic redundancy check analysis on each frame of returned test image data through the central processing chip to obtain cyclic redundancy check codes of each frame of test image data;
comparing the cyclic redundancy check code of each frame of test image data with a preset cyclic redundancy check code through the central processing chip; and the number of the first and second groups,
and under the condition that the cyclic redundancy check code of each frame of test image data is the same as the preset cyclic redundancy check code, determining that the test result of the image processing chip is a test pass.
5. The method according to claim 4, wherein the sequentially verifying the test image data by the central processing chip to obtain the test result of the image processing chip comprises:
and under the condition that the cyclic redundancy check code of at least one frame of test image data is different from the preset cyclic redundancy check code, determining that the test result of the image display chip is that the test does not pass.
6. An apparatus for testing an image processing chip, the apparatus comprising:
the replacing module is used for responding to a test request of the image processing chip and replacing preview image data acquired by the camera with test image data;
the sending module is used for sending the test image data to the image processing chip so that the image processing chip can transmit the test image data back to the central processing chip;
and the checking module is used for checking the returned test image data to obtain a test result of the image processing chip.
7. The apparatus of claim 6, further comprising a shutdown module,
the closing module is used for closing the image enhancement processing function of the image processing chip before the central processing chip sends the test image data to the image processing chip.
8. The apparatus of claim 6, wherein the sending module is specifically configured to:
separating the test image data from the operation interface data of the camera application program; and the number of the first and second groups,
and sending the separated test image data to the image processing chip.
9. The apparatus of claim 6, wherein the verification module is specifically configured to:
carrying out cyclic redundancy check analysis on each frame of returned test image data to obtain cyclic redundancy check codes of each frame of test image data;
comparing the cyclic redundancy check code of each frame of test image data with a preset cyclic redundancy check code;
and under the condition that the cyclic redundancy check code of each frame of test image data is the same as the preset cyclic redundancy check code, determining that the test result of the image processing chip is a test pass.
10. The apparatus of claim 9, wherein the verification module is specifically configured to:
and under the condition that the cyclic redundancy check code of at least one frame of test image data is different from the preset cyclic redundancy check code, determining that the test result of the image display chip is that the test does not pass.
11. An electronic device, comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of testing an image processing chip according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the method of testing an image processing chip according to any one of claims 1 to 5.
CN202111636864.9A 2021-12-28 2021-12-28 Method and device for testing image processing chip and electronic equipment Pending CN114281631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111636864.9A CN114281631A (en) 2021-12-28 2021-12-28 Method and device for testing image processing chip and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111636864.9A CN114281631A (en) 2021-12-28 2021-12-28 Method and device for testing image processing chip and electronic equipment

Publications (1)

Publication Number Publication Date
CN114281631A true CN114281631A (en) 2022-04-05

Family

ID=80877839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111636864.9A Pending CN114281631A (en) 2021-12-28 2021-12-28 Method and device for testing image processing chip and electronic equipment

Country Status (1)

Country Link
CN (1) CN114281631A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567685A (en) * 2022-09-09 2023-01-03 维沃移动通信有限公司 Image transmission method and device, image processing chip, main control chip and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567685A (en) * 2022-09-09 2023-01-03 维沃移动通信有限公司 Image transmission method and device, image processing chip, main control chip and equipment

Similar Documents

Publication Publication Date Title
CN107704356B (en) Exception stack information acquisition method, device and computer readable storage medium
CN111026645A (en) User interface automatic testing method and device, storage medium and electronic equipment
JP6214824B2 (en) Automatic test equipment
CN109165167A (en) A kind of test method and device of response time
CN111816139A (en) Screen refresh rate switching method and electronic equipment
CN114387398A (en) Three-dimensional scene loading method, loading device, electronic equipment and readable storage medium
CN116126580B (en) Touch display control method, device, equipment and storage medium
CN108021816B (en) Electronic device test method and device, storage medium and electronic device
US20130290938A1 (en) Testing applications
CN114281631A (en) Method and device for testing image processing chip and electronic equipment
CN113553261B (en) Software automated testing method, device and computer readable storage medium
CN115856705A (en) Electronic equipment, current detection method and device
CN115514860A (en) Dynamic frame rate compensation method, image processing circuit and electronic device
CN115426350A (en) Image uploading method, image uploading device, electronic equipment and storage medium
CN104579825A (en) Method and device for monitoring server of application in real time and computer equipment
CN115543831A (en) Test script generation method, device, equipment and storage medium
CN106407062B (en) Industry control chip debugging system and adjustment method
CN114461479A (en) Method and device for debugging multimedia processing chip, storage medium and electronic equipment
CN112068756A (en) Steering engine debugging method, device, equipment and storage medium
CN112019686A (en) Display method and device and electronic equipment
CN111552634A (en) Method and device for testing front-end system and storage medium
KR100710997B1 (en) Apparatus and method for capturing test picture
CN113218419B (en) Method and device for detecting abnormality of gyroscope, electronic equipment and storage medium
CN110109819A (en) Using processing method, device, equipment and the readable storage medium storing program for executing debugged extremely
CN115237845A (en) Signal processing method, signal processing device and mobile equipment

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