Display method, display device, electronic device, and storage medium
By acquiring RAW data from the image sensor and processing it into YUV data, a SurfaceView component is created to directly display thumbnails, solving the problem of long thumbnail display time in existing technologies and improving display efficiency.
Patent Information
- Application Number
- CN202310666260.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-06-06
AI Technical Summary
In existing technologies, when using the Android built-in ImageView component to display thumbnails, the time it takes for a user to go from taking a photo to displaying the thumbnail is relatively long.
By acquiring RAW data generated by the image sensor, processing it into YUV data, and creating a SurfaceView component in the shooting interface, the thumbnail is directly associated with the YUV data, thus avoiding the conversion process from YUV data to bitmap image.
It reduces the time spent displaying thumbnails and improves the user experience.
Smart Images

Figure CN119094885B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of photographing, and more particularly to a display method, a display device, an electronic device, and a nonvolatile computer readable storage medium. BACKGROUND
[0002] The terminal has a photo instant display function, that is, a photo just taken by the terminal is instantaneously displayed in the form of a thumbnail in a certain specific area of the terminal screen, so as to facilitate the user to confirm the completion of the photographing action. The user can preview the photo just taken by clicking the thumbnail.
[0003] At present, the display of the thumbnail is displayed by using the imageview component of the android. However, this method will result in a long time spent by the user in triggering the terminal to take a photo and display the thumbnail. SUMMARY
[0004] The display method, the display device, the electronic device, and the nonvolatile computer readable storage medium provided by the present application can reduce the time spent in displaying the thumbnail.
[0005] The display method of the present application comprises the following steps: acquiring RAW data generated by an image sensor; processing the RAW data to generate YUV data; and creating a Surfaceview component corresponding to a thumbnail area in a photographing interface and associating the YUV data, so as to display a thumbnail of the YUV data through the thumbnail area.
[0006] The display device of the present application comprises a first acquisition module, a first processing module, and a creation module. The first acquisition module is configured to acquire RAW data generated by an image sensor. The first processing module is configured to process the RAW data to generate YUV data. The creation module is configured to create a Surfaceview component corresponding to a thumbnail area in a photographing interface and associate the YUV data, so as to display a thumbnail of the YUV data through the thumbnail area.
[0007] The electronic device of the present application comprises a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the processor can acquire RAW data generated by an image sensor; process the RAW data to generate YUV data; and create a Surfaceview component corresponding to a thumbnail area in a photographing interface and associate the YUV data, so as to display a thumbnail of the YUV data through the thumbnail area.
[0008] The non-volatile computer readable storage medium of the embodiment of the present application has a computer program stored thereon, and the computer program is executed by a processor to enable the processor to acquire RAW data generated by an image sensor, process the RAW data to generate YUV data, and create a Surfaceview component corresponding to a thumbnail area in a shooting interface and associate the YUV data to display a thumbnail of the YUV data through the thumbnail area.
[0009] The display method, display device, electronic equipment and non-volatile computer readable storage medium of the embodiment of the present application acquire RAW data generated by an image sensor after the electronic equipment is shot, then generate YUV data through image signal processing (ISP), then create a Surfaceview component and associate an ISP processing channel, so that the YUV data is transmitted to the Surfaceview component, and finally the Surfaceview component can draw a thumbnail according to the YUV data and display the thumbnail of the shot image in a thumbnail area in a shooting interface. Compared with converting the YUV data into a bitmap image after acquiring the YUV data and then displaying the thumbnail based on the bitmap image, the conversion process from the YUV data to the bitmap image is reduced, and the time spent by the terminal in displaying the thumbnail is reduced.
[0010] Additional aspects and advantages of the embodiments of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0011] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, including the accompanying drawings, wherein:
[0012] Figure 1 is a flowchart of a display method according to some embodiments of the present application;
[0013] Figure 2 is a structural schematic diagram of an electronic equipment according to some embodiments of the present application;
[0014] Figure 3 is a structural schematic diagram of an electronic equipment according to some embodiments of the present application;
[0015] Figure 4 is a flowchart of a display method according to some embodiments of the present application;
[0016] Figure 5 is a flowchart of a display method according to some embodiments of the present application;
[0017] Figure 6 is a flowchart of a display method according to some embodiments of the present application;
[0018] Figure 7 is a scenario diagram of an electronic device according to some embodiments of the present application;
[0019] Figure 8 is a scenario diagram of an electronic device according to some embodiments of the present application;
[0020] Figure 9 is a flowchart of a display method according to some embodiments of the present application;
[0021] Figure 10 is a flowchart of a display method according to some embodiments of the present application;
[0022] Figure 11 is a flowchart of a display method according to some embodiments of the present application;
[0023] Figure 12 is a scenario diagram of an electronic device according to some embodiments of the present application;
[0024] Figure 13 is a module diagram of a display device according to some embodiments of the present application;
[0025] Figure 14 is a connection state diagram of a non-volatile computer readable storage medium and a processor according to some embodiments of the present application. DETAILED DESCRIPTION
[0026] Embodiments of the present application are described in detail below with reference to the accompanying drawings. Examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals are used throughout to designate the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are examples for explaining the present application, and should not be understood as limiting the embodiments of the present application.
[0027] Referring to Figures 1 to 3 , the display method according to some embodiments of the present application comprises:
[0028] Step 011: obtaining RAW data generated by the image sensor 50;
[0029] The image sensor 50 is located in the electronic device 100, and the image sensor 50 is a photoelectric conversion device that converts a light image on a photosensitive surface into an electrical signal in a corresponding proportional relationship. The RAW data is original image data that has not been processed. The electronic device 100 can be a device with a camera, such as a mobile phone, a tablet computer, a digital camera, etc., which can display a shooting interface V0.
[0030] Specifically, the processor 30 in the electronic device 100 is controlled to start a camera application, an image sensor 50 of the camera application generates RAW data from which a preview image T1 can be generated. For example, a light signal of a target scene can be converted into an electrical signal by the image sensor 50, and RAW data of the target scene is generated, which includes original image data of the target scene, i.e., an image data format that is not processed and compressed.
[0031] In this way, by obtaining the RAW data generated by the image sensor 50, the data of the target image can be recorded completely, and the adjustment space for the target image can be increased.
[0032] Step 012: processing the RAW data to generate YUV data;
[0033] YUV is a color encoding method, "Y" represents brightness, i.e., a gray scale value, "U" and "V" represent chrominance, "U" represents a blue projection, and "V" represents a red projection. YUV is used to describe the color and saturation of an image and to specify the color of a pixel.
[0034] Specifically, after the processor 30 obtains the RAW data, if a photograph is not taken, a preview image generated according to the RAW data is displayed on a shooting interface V0 at this time, and then after a user takes a photograph (e.g., the user clicks a shooting button on the shooting interface V0), the RAW data needs to be processed to convert the format, i.e., to convert the RAW format data into YUV format data, so as to generate YUV format data of the target image. Since the RAW data is original data converted by the image sensor 50 from a light signal captured by the image sensor 50 into a digital signal, each pixel unit on the image sensor 50 that performs photoelectric conversion cannot identify different color components in the light source, so a color filter array needs to be overlaid above the image sensor 50, so that each pixel only obtains one color component of three primary colors. Therefore, the color of the pixel value of the RAW data is missing, and the processor 30 needs to transmit the RAW data to an image signal processing (ISP) for processing. The ISP has functions such as defect correction, noise removal, sharpening, and automatic white balance. After processing by the ISP, the RAW data can generate YUV data.
[0035] In this way, the RAW data can be processed by the ISP to generate YUV data, so that the original data is more real to the image data of the target image.
[0036] Step 013: creating a Surfaceview component corresponding to a thumbnail area V2 in the shooting interface V0 and associating the YUV data, so as to display a thumbnail T2 of the YUV data through the thumbnail area V2.
[0037] The Surfaceview component is a subclass of view, and can directly obtain image data from a hardware interface such as memory or DMA, and is a drawing view. The Surfaceview component can draw to the shooting interface V0 in a thread other than the main thread. The Surfaceview component can implement the SurfaceHolder.Callback interface. The SurfaceHolder.Callback interface has three methods, namely surfaceCreated(), surfaceChanged(), and surfaceDestroyed(). The surfaceCreated() method is executed when the Surfaceview component is created. The surfaceChanged() method is executed when the Surfaceview component changes. The surfaceDestroyed() method is executed when the Surfaceview component is destroyed. In the surfaceDestroyed() method, resource release operations need to be performed.
[0038] Specifically, after the processor 30 obtains the YUV data, the picture control Imageview component in the electronic device 100 does not support YUV format data. At this time, the YUV format data needs to be converted into a bitmap image. In the conversion process, the YUV data is compressed to obtain a bitmap image with a smaller size. Then, the bitmap image is drawn by the Imageview component to form a thumbnail T2. In this way, a long time is required to display the thumbnail T2 of the shooting image. Therefore, the processor 30 creates a Surfaceview component corresponding to the thumbnail area V2 in the shooting interface V0 of the electronic device 100, and associates the Surfaceview component with a channel for transmitting YUV data by the ISP. Thus, the YUV data can be transmitted to the Surfaceview component through the channel for drawing. After the drawing is completed, the Surfaceview component can display the thumbnail T2 corresponding to the YUV data in the thumbnail area V2.
[0039] Thus, by acquiring the RAW data generated by the image sensor 50 after the electronic device 100 takes a picture, then generating YUV data by processing the RAW data through image signal processing (ISP), then creating a Surfaceview component and associating the ISP processing channel, so that the YUV data is transmitted to the Surfaceview component, and finally the Surfaceview component can draw the thumbnail T2 according to the YUV data, and display the thumbnail T2 of the photographed image in the thumbnail area V2 in the shooting interface V0, compared with converting the YUV data into a bitmap image and then displaying the thumbnail T2 based on the bitmap image, the conversion process from YUV data to bitmap image is reduced, and the time spent by the terminal to display the thumbnail T2 is reduced.
[0040] Referring to Figure 3 and Figure 4 In some embodiments, the display method further comprises:
[0041] Step 014: determining the sampling coefficient of downsampling according to the size of the YUV data and the size of the thumbnail area V2.
[0042] Step 015: downsampling the YUV data to obtain downsampling data matching the size of the thumbnail area V2.
[0043] Step 016: drawing the downsampling data through the Surfaceview component to obtain the thumbnail T2.
[0044] Specifically, the processor 30 needs to call a downsampling algorithm to perform scan sampling processing on the YUV data when transmitting the YUV data to the Surfaceview component through the channel, wherein the YUV data can be a YUV image. By comparing the size of the YUV image with the size of the thumbnail area V2, the value of the sampling coefficient in the downsampling algorithm can be determined, and then the YUV image is converted according to the sampling coefficient, so that the downsampling data matching the size of the thumbnail area V2 can be obtained. Finally, the Surfaceview component draws according to the downsampling data, so that the thumbnail T2 of the target scene in the shooting interface V0 can be obtained. For example, the size of the YUV image is 2000 pixels*1000 pixels, and the size of the thumbnail area V2 is 100 pixels*100 pixels. By comparing the length of the YUV image with the length of the thumbnail area V2, the sampling coefficient of the length of the YUV image in the downsampling algorithm is obtained as 20. By comparing the width of the YUV image with the width of the thumbnail area V2, the sampling coefficient of the width of the YUV image in the downsampling algorithm is obtained as 10. By obtaining the sampling coefficient of the downsampling algorithm, the YUV image of 2000 pixels*1000 pixels is converted into downsampling data of 100 pixels*100 pixels. Finally, by drawing the downsampling data of 100 pixels*100 pixels through the Surfaceview component, the thumbnail T2 of the target image can be obtained.
[0045] Referring to Figures 5 to 8 In some embodiments, the display method further comprises:
[0046] Step 017: according to the refresh frequency of the display interface, the Surfaceview component draws the thumbnail T2 according to the current YUV data; or
[0047] Step 018: in the case where the YUV data changes, the thumbnail T2 is drawn according to the changed YUV data.
[0048] Specifically, the processor 30 can control the Surfaceview component to draw the thumbnail T2 according to the current YUV data according to the refresh frequency of the display interface of the electronic device 100. For example, the Surfaceview component draws the transmitted YUV data to draw the thumbnail T2 by pre-setting the mode of draw_when_continue. The electronic device 100 obtains RAW data by taking a picture of the target scene, and then the RAW data is processed by the ISP to obtain YUV data. In the case where the refresh frequency of the display interface of the electronic device 100 is set to sixty hertz, at this time, the Surfaceview component needs to draw the current YUV data to draw the thumbnail T2 every sixtyth of a second.
[0049] The processor 30 can also draw the thumbnail T2 according to the changed YUV data in the case that the YUV data changes. For example, the Surfaceview component draws the transmitted YUV data to draw the thumbnail T2 through the mode of pre-setting draw_when_dirty, the electronic device 100 obtains RAW data by taking a picture of the target scene, and then the RAW data is processed by the ISP to obtain YUV data. In the case that the refresh frequency of the display interface of the electronic device 100 is set to sixty hertz, at this time, the Surfaceview component needs to draw the current YUV data to draw the thumbnail T2 after sixty-thousandth of a second, and refresh the shooting interface in combination with the preview image T1. However, when the display interface is refreshed in the next sixty-thousandth of a second, the current YUV data does not need to be resampled and processed again to draw the thumbnail T2. At this time, the thumbnail T2 is still the last drawn thumbnail T2, and the shooting interface V0 is refreshed in combination with the preview image T1. Until the next YUV data is obtained by the Surfaceview component, the processor 30 controls the Surfaceview component to draw the thumbnail T2 according to the newly obtained YUV data. In this way, the transmitted YUV data is drawn to draw the thumbnail T2 through the mode of pre-setting draw_when_dirty, and the number of times of drawing the YUV data to draw the thumbnail T2 can be reduced.
[0050] Referring to Figures 7 to 9 In some embodiments, the shooting interface V0 further includes a preview area V1, and the display method further includes:
[0051] Step 019: In the case that the preview image T1 of the preview area V1 and the thumbnail T2 of the thumbnail area V2 are both drawn, the shooting interface V0 is refreshed according to the drawn preview image T1 and the thumbnail T2.
[0052] Specifically, the preview area V1 is further included in the photographing interface V0 of the electronic device 100, and the preview area V1 can perform a preview operation on a target scene to be photographed. For example, the preview area V1 can preview a tree photographed by a mobile phone. A Surfaceview component corresponding to the preview area V1 is created in the preview area V1. The Surfaceview component can be associated with image data of the image sensor 50, so that the Surfaceview component can draw a preview image T1 of the target scene according to the image data of the image sensor 50 in the preview area V1, thereby displaying the preview image T1 of the target scene. When the photographing interface V0 is refreshed, the preview image T1 of the preview area V1 and the thumbnail T2 of the thumbnail area V2 need to be drawn completely. For example, the refresh frequency of the photographing interface V0 is sixty hertz. After the electronic device 100 generates YUV data by photographing the target scene, the Surfaceview component corresponding to the preview area V1 draws the preview image T1, and the Surfaceview component corresponding to the thumbnail T2 draws the thumbnail T2. When the photographing interface V0 is refreshed every sixtyth of a second, the preview image T1 and the thumbnail T2 are both in a completed state, and the photographing interface V0 is refreshed.
[0053] In this way, the photographing interface V0 is refreshed according to the drawn preview image T1 and thumbnail T2 when the preview image T1 of the preview area V1 and the thumbnail T2 of the thumbnail area V2 are both drawn completely, so that the preview image T1 and the thumbnail T2 are drawn consistently, and the refresh of the photographing interface V0 is avoided.
[0054] Referring to Figure 10 In some embodiments, the display method further includes:
[0055] Step 020: Destroying the Surfaceview component when the camera application is closed.
[0056] Specifically, when the camera application of the electronic device 100 is closed, the Surfaceview component needs to be destroyed. When the Surfaceview component is destroyed, the surfaceDestroyed() method in the SurfaceHolder.Callback interface is executed, so that the resources (such as memory) occupied by the Surfaceview component can be released.
[0057] Referring to Figure 11 and Figure 12 In some embodiments, the display method further includes:
[0058] Step 021: create a Surfaceview component corresponding to the icon area V3 of the application and associate the thumbnail icon T3 of the application, so as to display the thumbnail icon T3 of the application through the icon area V3.
[0059] Specifically, the processor 30 can create a Surfaceview component in the icon area V3 corresponding to the application of the electronic device 100, and the Surfaceview component can associate the thumbnail icon T3 of the application, so as to display the thumbnail icon T3 of the application in the icon area V3 of the application through the Surfaceview component. For example, the image file of the thumbnail icon T3 of the application is stored in the memory 40, the Surfaceview component can associate the image file of the thumbnail icon T3 of the application in the memory 40, the Surfaceview component obtains the image data in the image file of the thumbnail icon T3 by occupying a thread, and draws the image of the thumbnail icon T3 in the icon area V3 of the application, so as to display the thumbnail icon T3 of the application in the icon area V3 of the application.
[0060] Optionally, the processor 30 can obtain the running data of the application, and generate a running interface according to the running data, create a Surfaceview component in the icon area V3 corresponding to the application of the electronic device 100, so that the Surfaceview component associates the running data of the application, and thus displays the running interface of the application in the icon area V3 of the application through the Surfaceview component.
[0061] Optionally, after the electronic device 100 opens the preset number (for example, 3) of application programs, the running data corresponding to the application programs can be generated, the processor 30 can create the preset number of Surfaceview components to be respectively associated with the running data of the preset number of application programs, the processor 30 can display the running interface of the application program in the icon area V3 of the application program through the Surfaceview component after the preset number of application programs are minimized, and the running interface can be entered by clicking the icon of the application program, and then, after the preset number of application programs are minimized for a preset time length (for example, 3 minutes), the Surfaceview component associated with the running data of the application program is destroyed, at this time, the thumbnail icon T3 is displayed in the icon area V3 of the application program by using the Imageview component, and the running interface of the application program is no longer displayed. For example, the application programs are A, B, C, D, E and F, after the application programs A, B and C are opened, the running interfaces corresponding to A, B and C are generated, for example, the running interface of A corresponds to the display of a matchstick man, the running interface of B corresponds to the display of a tree, and the running interface of C corresponds to the display of a five-pointed star, after the application programs A, B and C are minimized, the icon area V3 of the application programs A, B and C still displays the running interface of the application programs A, B and C, and after 3 minutes without clicking the application programs A, B and C, the running interface displayed by the application programs A, B and C becomes the thumbnail icon T3 of the application programs A, B and C.
[0062] Please refer to Figure 13 In order to better implement the display method of the embodiment of the present application, the embodiment of the present application further provides a display device 10. The display device 10 comprises an acquisition module 11, a processing module 12 and a creation module 13. The acquisition module 11 is configured to acquire RAW data generated by the image sensor 50; the processing module 12 is configured to process the RAW data to generate YUV data; and the creation module 13 is configured to create a Surfaceview component corresponding to the thumbnail area V2 in the shooting interface V0 and associate the YUV data, so as to display the thumbnail T2 of the YUV data through the thumbnail area V2.
[0063] The display device 10 further comprises a sampling module 14 and a first drawing module 15. The sampling module 14 is specifically configured to down-sample the YUV data to obtain down-sampled data matching the size of the thumbnail area V2; and the first drawing module 15 is specifically configured to draw the down-sampled data through the Surfaceview component to obtain the thumbnail T2.
[0064] The display device 10 further comprises a determination module 16, which is specifically configured to determine a sampling coefficient of the down-sampling according to the size of the YUV data and the size of the thumbnail area V2.
[0065] The display apparatus 10 further comprises a control module 17 and a second drawing module 18, the control module 17 is specifically used for controlling the Surfaceview component to draw the thumbnail T2 according to the current YUV data according to the refresh frequency of the display interface; the second drawing module 18 is specifically used for drawing the thumbnail T2 according to the changed YUV data in the case that the YUV data changes.
[0066] The display apparatus 10 further comprises a refresh module 19, the refresh module 19 is specifically used for refreshing the shooting interface V0 according to the drawn preview image T1 and the thumbnail T2 in the case that the preview image T1 of the preview area V1 and the thumbnail T2 of the thumbnail area V2 are both drawn.
[0067] The display apparatus 10 further comprises a destruction module 20, the destruction module 20 is specifically used for destroying the Surfaceview component in the case that the camera application is closed.
[0068] The display apparatus 10 further comprises a display module 21, the display module 21 is specifically used for creating the Surfaceview component corresponding to the icon area V3 of the application and associating the thumbnail icon T3 of the application, so as to display the thumbnail icon T3 of the application through the icon area V3.
[0069] Please refer to Figure 2 The electronic device 100 of one embodiment of the present application comprises a memory 40 and a processor 30, the memory 40 stores a computer program, when the processor 30 executes the computer program, the processor 30 can acquire the RAW data generated by the image sensor 50; process the RAW data to generate YUV data; and create the Surfaceview component corresponding to the thumbnail area V2 in the shooting interface V0 and associate the YUV data, so as to display the thumbnail T2 of the YUV data through the thumbnail area V2.
[0070] Specifically, the electronic device 100 can be any device with shooting function, such as mobile phone, tablet computer, smart camera, etc. The present application takes the mobile phone as an example for illustration, and it can be understood that the specific form of the electronic device 100 is not limited to the mobile phone.
[0071] Please refer to Figure 14 The present application further provides a computer readable storage medium 300, which stores a computer program 310, when the computer program 310 is executed by the processor 320, the steps of the display method of any one of the above embodiments are realized, for the sake of brevity, it will not be repeated here.
[0072] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations 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 can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.
[0073] From the above description of the embodiments, it is apparent that the above-described method of the embodiments can be realized by means of software and general-purpose hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such an understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present application.
[0074] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, rather than limiting, and those of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims, which all belong to the protection of the present application.
Claims
1. A display method characterized by comprising: The method comprises: obtaining RAW data generated by an image sensor; processing the RAW data to generate YUV data; and creating a Surfaceview component corresponding to a thumbnail area in a shooting interface and associating the YUV data, so as to display a thumbnail of the YUV data through the thumbnail area. The method further comprises:
2. The display method according to claim 1, wherein down-sampling the YUV data to obtain down-sampled data matching the size of the thumbnail area; drawing the down-sampled data through the Surfaceview component to obtain the thumbnail. The method further comprises:
3. The display method according to claim 2, wherein determining a down-sampling coefficient according to the size of the YUV data and the size of the thumbnail area. The method further comprises:
4. The display method according to claim 1, wherein controlling the Surfaceview component to draw the thumbnail according to the current YUV data according to the refresh frequency of the display interface; or drawing the thumbnail according to the changed YUV data in the case that the YUV data changes. The shooting interface further comprises a preview area, and the display method further comprises: refreshing the shooting interface according to the drawn preview image of the preview area and the thumbnail of the thumbnail area in the case that the drawing of the preview image of the preview area and the thumbnail of the thumbnail area is completed.
5. The display method according to claim 1, wherein The method further comprises: destroying the Surfaceview component in the case that a camera application is closed.
6. The display method according to claim 1, wherein The method further comprises: creating a Surfaceview component corresponding to an icon area of an application and associating a thumbnail icon of the application, so as to display the thumbnail icon of the application through the icon area.
7. The display method according to claim 1, wherein The method comprises: an obtaining module, configured to obtain RAW data generated by an image sensor; 8. A display device, characterized by comprising: a processing module, configured to process the RAW data to generate YUV data; a creating module, configured to create a Surfaceview component corresponding to a thumbnail area in a shooting interface and associate the YUV data, so as to display a thumbnail of the YUV data through the thumbnail area. The method comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the display method of any one of claims 1 to 7. A computer program is stored thereon, and the computer program is executed by a processor to implement the display method of any one of claims 1 to 7.
9. An electronic device, comprising: 10. A non-transitory computer readable storage medium, comprising:
Citation Information
Patent Citations
Video recording method and equipment
CN113347378A
Imaging device
JP2004222004A