CN114640887A - Display method, device, equipment and computer readable storage medium - Google Patents
Display method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN114640887A CN114640887A CN202210286688.9A CN202210286688A CN114640887A CN 114640887 A CN114640887 A CN 114640887A CN 202210286688 A CN202210286688 A CN 202210286688A CN 114640887 A CN114640887 A CN 114640887A
- Authority
- CN
- China
- Prior art keywords
- image quality
- camera
- display
- display terminal
- quality parameters
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/4223—Cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域technical field
本发明涉及显示终端技术领域,尤其涉及一种显示方法、装置、设备及计算机可读存储介质。The present invention relates to the technical field of display terminals, and in particular, to a display method, apparatus, device, and computer-readable storage medium.
背景技术Background technique
随着智能家居时代的到来,目前许多电视机上通常也会配备有摄像头及相应的摄像头应用,人们可以直接在电视机上使用摄像头进行视频聊天或远程进行家庭看护等功能。此外,在电视机中的摄像头应用中还有录制功能,用户可以把预览到的摄像头视频保存成视频文件,再通过抖音等接口把该视频文件分享出去,使得在电视上录制的摄像头视频还可以在其他移动终端中播放。大大的丰富了电视机的功能,也进一步优化了用户的使用体验。With the advent of the smart home era, many TVs are usually equipped with cameras and corresponding camera applications. People can use the camera directly on the TV for video chat or remote home care and other functions. In addition, there is a recording function in the camera application in the TV. Users can save the previewed camera video as a video file, and then share the video file through interfaces such as Douyin, so that the camera video recorded on the TV can also be recorded. Can be played in other mobile terminals. It greatly enriches the functions of the TV and further optimizes the user experience.
与此同时,存在这样的一个问题,当用户在电视机上使用摄像头功能,预览摄像头视频时,感觉视频画面效果还不错,但当用户在摄像头应用中回放录制好的摄像头视频时,却发现视频中的人像脸部边沿勾边现象严重。即在摄像头应用中回放录制的摄像头视频时,存在画面显示效果不佳的问题。At the same time, there is such a problem. When the user uses the camera function on the TV to preview the camera video, he feels that the video picture effect is not bad, but when the user plays back the recorded camera video in the camera application, he finds that the video The edge of the face of the portrait has serious outlines. That is, when the recorded camera video is played back in the camera application, there is a problem that the screen display effect is not good.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种显示方法、装置、设备及计算机可读存储介质,旨在解决在摄像头应用中回放录制的摄像头视频时,画面显示效果不佳的问题。The main purpose of the present invention is to provide a display method, device, device and computer-readable storage medium, which aims to solve the problem of poor picture display effect when the recorded camera video is played back in the camera application.
为实现上述目的,本发明提供一种显示方法,所述方法包括以下步骤:In order to achieve the above object, the present invention provides a display method, the method includes the following steps:
当检测到显示终端进入摄像头应用时,,将所述显示终端当前画质参数更新为摄像头模式画质参数;When it is detected that the display terminal enters the camera application, updating the current picture quality parameter of the display terminal to the camera mode picture quality parameter;
根据更新的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。According to the updated image quality parameter of the camera mode, the to-be-played video image of the display terminal is displayed.
可选地,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤,具体包括:Optionally, the step of updating the current picture quality parameter of the display terminal to the picture quality parameter of the camera mode specifically includes:
当检测到所述显示终端进入摄像头应用时,将预设接口状态设置为进入状态;When it is detected that the display terminal enters the camera application, the preset interface state is set to the entry state;
根据所述进入状态,获取所述摄像头模式画质参数,并将所述显示终端当前画质参数更新为摄像头模式画质参数。According to the entry state, the camera mode image quality parameter is acquired, and the current image quality parameter of the display terminal is updated to the camera mode image quality parameter.
可选地,所述方法还包括:Optionally, the method further includes:
当检测到所述显示终端退出摄像头应用时,将所述摄像头模式画质参数恢复为普通模式画质参数;When it is detected that the display terminal exits the camera application, restoring the camera mode image quality parameter to the normal mode image quality parameter;
根据所述普通模式画质参数,对所述显示终端的显示画面进行显示。The display screen of the display terminal is displayed according to the normal mode image quality parameter.
可选地,所述当检测到所述显示终端退出摄像头应用时,将所述摄像头模式画质参数恢复为普通模式画质参数的步骤,具体包括:Optionally, when it is detected that the display terminal exits the camera application, the step of restoring the camera mode image quality parameter to the normal mode image quality parameter specifically includes:
当检测到所述显示终端退出摄像头应用时,将所述预设接口状态设置为退出状态;When it is detected that the display terminal exits the camera application, the preset interface state is set to an exit state;
根据所述退出状态,获取所述普通模式画质参数,并将所述摄像头模式画质参数恢复为所述普通模式画质参数。According to the exit status, the normal mode image quality parameters are acquired, and the camera mode image quality parameters are restored to the normal mode image quality parameters.
可选地,在所述当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤之前,所述方法还包括:Optionally, before the step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode when it is detected that the display terminal enters the camera application, the method further includes:
获取普通模式画质参数;Get the normal mode image quality parameters;
将所述普通模式画质参数中提升清晰度的参数修改为预设值;Modify the parameter for improving the definition in the normal mode image quality parameter to a preset value;
将修改后的所述普通模式画质参数确定为所述摄像头模式画质参数。The modified image quality parameter of the normal mode is determined as the image quality parameter of the camera mode.
可选地,在所述将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤之后,包括:Optionally, after the step of updating the current image quality parameters of the display terminal to the camera mode image quality parameters, the method includes:
根据更新后的所述摄像头模式画质参数,显示摄像头图像参数的控制页面;Displaying a control page for camera image parameters according to the updated camera mode image quality parameters;
基于所述控制页面采集的用户自定义操作,调整所述摄像头模式画质参数,以形成新的摄像头模式画质参数。Based on the user-defined operation collected on the control page, the camera mode image quality parameters are adjusted to form new camera mode image quality parameters.
可选地,所述方法还包括:Optionally, the method further includes:
当检测到所述显示终端进入系统应用时,判断所述系统应用是否为预设应用白名单中的所述摄像头应用;When detecting that the display terminal enters a system application, determine whether the system application is the camera application in the preset application whitelist;
若是,则执行所述当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤。If so, execute the step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode when it is detected that the display terminal enters the camera application.
此外,本发明还提供一种显示装置,所述显示装置包括:In addition, the present invention also provides a display device, the display device comprising:
更新模块,用于当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数;an update module, configured to update the current picture quality parameter of the display terminal to the camera mode picture quality parameter when it is detected that the display terminal enters the camera application;
显示模块,用于根据更新的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。The display module is configured to display the to-be-played video picture of the display terminal according to the updated picture quality parameter of the camera mode.
可选地,所述更新模块还用于:Optionally, the update module is also used for:
当检测到所述显示终端进入摄像头应用时,将预设接口状态设置为进入状态;When it is detected that the display terminal enters the camera application, the preset interface state is set to the entry state;
根据所述进入状态,获取所述摄像头模式画质参数,并将所述显示终端当前画质参数更新为摄像头模式画质参数。According to the entry state, the camera mode image quality parameter is acquired, and the current image quality parameter of the display terminal is updated to the camera mode image quality parameter.
可选地,所述显示模块还用于:Optionally, the display module is also used for:
当检测到所述显示终端退出摄像头应用时,将所述摄像头模式画质参数恢复为普通模式画质参数;When it is detected that the display terminal exits the camera application, restoring the camera mode image quality parameter to the normal mode image quality parameter;
根据所述普通模式画质参数,对所述显示终端的显示画面进行显示。The display screen of the display terminal is displayed according to the normal mode image quality parameter.
可选地,所述更新模块还用于:Optionally, the update module is also used for:
当检测到所述显示终端退出摄像头应用时,将所述预设接口状态设置为退出状态;When it is detected that the display terminal exits the camera application, the preset interface state is set to an exit state;
根据所述退出状态,获取所述普通模式画质参数,并将所述摄像头模式画质参数恢复为所述普通模式画质参数。According to the exit status, the normal mode image quality parameters are acquired, and the camera mode image quality parameters are restored to the normal mode image quality parameters.
可选地,所述装置还包括:Optionally, the device further includes:
修改模块,用于获取普通模式画质参数;Modify the module to obtain the normal mode image quality parameters;
将所述普通模式画质参数中提升清晰度的参数修改为预设值;Modify the parameter for improving the definition in the normal mode image quality parameter to a preset value;
将修改后的所述普通模式画质参数确定为所述摄像头模式画质参数。The modified image quality parameter of the normal mode is determined as the image quality parameter of the camera mode.
可选地,所述装置还包括:Optionally, the device further includes:
自定义模块,用于根据更新后的所述摄像头模式画质参数,显示摄像头图像参数的控制页面;a custom module for displaying a control page for camera image parameters according to the updated camera mode image quality parameters;
基于所述控制页面采集的用户自定义操作,调整所述摄像头模式画质参数,以形成新的摄像头模式画质参数。Based on the user-defined operation collected on the control page, the camera mode image quality parameters are adjusted to form new camera mode image quality parameters.
可选地,所述装置还包括:Optionally, the device further includes:
判断模块,用于当检测到所述显示终端进入系统应用时,判断所述系统应用是否为预设应用白名单中的所述摄像头应用;a judgment module, configured to judge whether the system application is the camera application in the preset application whitelist when it is detected that the display terminal enters the system application;
若是,则执行所述当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤。If so, execute the step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode when it is detected that the display terminal enters the camera application.
此外,本发明还提供一种显示设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的显示程序,所述显示程序配置为实现如上述的显示方法的步骤。In addition, the present invention also provides a display device comprising: a memory, a processor and a display program stored on the memory and executable on the processor, the display program being configured to implement the above Shows the steps of the method.
此外,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有显示程序,所述显示程序被处理器执行时实现如上述的显示方法的步骤。In addition, the present invention also provides a computer-readable storage medium on which a display program is stored, and when the display program is executed by a processor, implements the steps of the above-mentioned display method.
本发明通过当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数;根据更新后的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。相较于现有的使用统一的画质参数进行画面显示,本发明由于显示终端在进入摄像头应用时,会对画质参数进行更新,从而使用专门的摄像头模式画质参数对显示终端在摄像头应用中时的待播放视频画面进行显示,解决了在摄像头应用中回放录制的摄像头视频时,画面显示效果不佳的问题,提升了显示终端的画面显示效果。In the present invention, when it is detected that the display terminal enters the camera application, the current picture quality parameter of the display terminal is updated to the camera mode picture quality parameter; The video screen is displayed. Compared with the existing use of unified picture quality parameters for picture display, the present invention updates the picture quality parameters when the display terminal enters the camera application, so that the special camera mode picture quality parameters are used for the display terminal in the camera application. Displaying the to-be-played video image in the middle of the day solves the problem of poor image display effect when the recorded camera video is played back in the camera application, and improves the image display effect of the display terminal.
附图说明Description of drawings
图1是本发明实施例方案涉及的硬件运行环境显示终端的结构示意图;1 is a schematic structural diagram of a hardware operating environment display terminal involved in an embodiment of the present invention;
图2是本发明一种显示方法一实施例的流程示意图;2 is a schematic flowchart of an embodiment of a display method of the present invention;
图3为图2中步骤S10一实施例的细化流程图;FIG. 3 is a detailed flowchart of an embodiment of step S10 in FIG. 2;
图4为本发明一实施例中摄像头图像参数的控制页面的示意图;4 is a schematic diagram of a control page for camera image parameters in an embodiment of the present invention;
图5为本发明一种显示装置的功能模块结构关系示意图。FIG. 5 is a schematic diagram showing the structural relationship of functional modules of a display device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of this document. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining." As used herein, the terms "or", "and/or", "including at least one of the following" and the like may be construed to be inclusive or to mean any one or any combination.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowcharts in the embodiments of the present application are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential. Instead, it may be performed in turn or alternately with other steps or at least a portion of sub-steps or stages of other steps.
为了对发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, purposes and effects of the invention, the specific embodiments of the invention will now be described with reference to the accompanying drawings.
参照图1,图1为本发明实施例方案涉及的硬件运行环境显示终端的结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a display terminal of a hardware operating environment involved in an embodiment of the present invention.
本发明实施例的显示终端可以是电脑、电视、平板电脑等带有摄像头的终端设备。The display terminal in the embodiment of the present invention may be a terminal device with a camera, such as a computer, a TV, and a tablet computer.
如图1所示,该显示终端可以包括:处理器1001,例如中央处理器(CentralProcessing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(WIreless-FIdelity,WI-FI)接口)。存储器1005可以是高速的随机存取存储器(RandomAccess Memory,RAM)存储器,也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the display terminal may include: a
本领域技术人员可以理解,图1中示出的结构并不构成对显示终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation on the display terminal, and may include more or less components than the one shown, or combine some components, or arrange different components.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、数据存储模块、网络通信模块、用户接口模块以及显示程序。As shown in FIG. 1 , the
在图1所示的显示终端中,网络接口1004主要用于与其他设备进行数据通信;用户接口1003主要用于与用户进行数据交互;本发明显示终端中的处理器1001、存储器1005可以设置在显示终端设备中,显示终端通过处理器1001调用存储器1005中存储的显示程序,并执行以下操作:In the display terminal shown in FIG. 1, the
当检测到显示终端进入摄像头应用时,,将所述显示终端当前画质参数更新为摄像头模式画质参数;When it is detected that the display terminal enters the camera application, updating the current picture quality parameter of the display terminal to the camera mode picture quality parameter;
根据更新的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。According to the updated image quality parameter of the camera mode, the to-be-played video image of the display terminal is displayed.
进一步地,处理器1001可以用于调用存储器1005中存储的显示程序,还执行以下操作:Further, the
当检测到所述显示终端进入摄像头应用时,将预设接口状态设置为进入状态;When it is detected that the display terminal enters the camera application, the preset interface state is set to the entry state;
根据所述进入状态,获取所述摄像头模式画质参数,并将所述显示终端当前画质参数更新为摄像头模式画质参数。According to the entry state, the camera mode image quality parameter is acquired, and the current image quality parameter of the display terminal is updated to the camera mode image quality parameter.
进一步地,处理器1001可以用于调用存储器1005中存储的显示程序,还执行以下操作:Further, the
当检测到所述显示终端退出摄像头应用时,将所述摄像头模式画质参数恢复为普通模式画质参数;When it is detected that the display terminal exits the camera application, restoring the camera mode image quality parameter to the normal mode image quality parameter;
根据所述普通模式画质参数,对所述显示终端的显示画面进行显示。The display screen of the display terminal is displayed according to the normal mode image quality parameter.
进一步地,处理器1001可以用于调用存储器1005中存储的显示程序,还执行以下操作:Further, the
当检测到所述显示终端退出摄像头应用时,将所述预设接口状态设置为退出状态;When it is detected that the display terminal exits the camera application, the preset interface state is set to an exit state;
根据所述退出状态,获取所述普通模式画质参数,并将所述摄像头模式画质参数恢复为所述普通模式画质参数。According to the exit status, the normal mode image quality parameters are acquired, and the camera mode image quality parameters are restored to the normal mode image quality parameters.
进一步地,处理器1001可以用于调用存储器1005中存储的显示程序,还执行以下操作:Further, the
获取普通模式画质参数;Get the normal mode image quality parameters;
将所述普通模式画质参数中提升清晰度的参数修改为预设值;Modify the parameter for improving the definition in the normal mode image quality parameter to a preset value;
将修改后的所述普通模式画质参数确定为所述摄像头模式画质参数。进一步地,处理器1001可以用于调用存储器1005中存储的显示程序,还执行以下操作:The modified image quality parameter of the normal mode is determined as the image quality parameter of the camera mode. Further, the
根据更新后的所述摄像头模式画质参数,显示摄像头图像参数的控制页面;Displaying a control page for camera image parameters according to the updated camera mode image quality parameters;
基于所述控制页面采集的用户自定义操作,调整所述摄像头模式画质参数,以形成新的摄像头模式画质参数。Based on the user-defined operation collected on the control page, the camera mode image quality parameters are adjusted to form new camera mode image quality parameters.
进一步地,处理器1001可以用于调用存储器1005中存储的显示程序,还执行以下操作:Further, the
当检测到所述显示终端进入系统应用时,判断所述系统应用是否为预设应用白名单中的所述摄像头应用;When detecting that the display terminal enters a system application, determine whether the system application is the camera application in the preset application whitelist;
若是,则执行所述当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤。If so, execute the step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode when it is detected that the display terminal enters the camera application.
由于在电视机上使用摄像头功能,在预览摄像头视频时,一般都是显示在图形层的,而电视机的SOC(System On a Chip,片上系统)芯片,一般对图形层的内容是不做画质处理的,因此,在预览摄像头视频时,会感觉视频画面效果还不错。但当在电视机的摄像头应用中回放该视频时,需要通过媒体播放器,而电视机的媒体播放器解码后的视频内容是在SOC的视频层显示的,因此视频层的显示内容会通过SOC的画质处理通路。在此过程中,由于SOC的画质处理,并没有针对摄像头视频做优化,而由于摄像头分辨率及清晰度等参数通常与电视机不同的原因,摄像头视频并不适用于通用的SOC的画质处理。因此,反而导致了摄像头视频在经过SOC的优化后播放,会出现脸部边沿勾边现象,造成显示效果不佳的问题。Due to the use of the camera function on the TV, when previewing the camera video, it is generally displayed on the graphics layer, while the SOC (System On a Chip, system-on-chip) chip of the TV generally does not improve the image quality of the content of the graphics layer. Therefore, when previewing the camera video, you will feel that the video picture effect is not bad. However, when the video is played back in the camera application of the TV, it needs to pass through the media player, and the video content decoded by the media player of the TV is displayed in the video layer of the SOC, so the display content of the video layer will pass through the SOC. image quality processing channel. During this process, due to the image quality processing of the SOC, the camera video is not optimized, and because the parameters such as the resolution and definition of the camera are usually different from those of the TV, the camera video is not suitable for the image quality of the general SOC. deal with. Therefore, instead, the camera video is played after the SOC is optimized, and the edge of the face will be outlined, resulting in a problem of poor display effect.
为了解决上述问题,本发明提供了一种显示方法,包括:当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数;根据更新后的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。这种方法通过在进入摄像头应用时,更新当前画质参数为针对摄像头视频画质进行优化的摄像头模式画质参数,使得在播放摄像头视频时,使用的是摄像头模式画质参数来进行显示,而非通过统一的SOC的画质参数进行显示。解决了在摄像头应用中回放摄像头视频时,画面显示效果不佳的问题,提升了在摄像头应用中播放摄像头视频时的画面显示效果。In order to solve the above problem, the present invention provides a display method, comprising: when it is detected that the display terminal enters the camera application, updating the current picture quality parameter of the display terminal to the camera mode picture quality parameter; according to the updated camera The mode picture quality parameter is used to display the to-be-played video picture of the display terminal. This method updates the current image quality parameters to the camera mode image quality parameters optimized for the camera video image quality when entering the camera application, so that when playing the camera video, the camera mode image quality parameters are used for display, while It is not displayed by the image quality parameters of the unified SOC. Solved the problem that the screen display effect was not good when playing back the camera video in the camera application, and improved the screen display effect when playing the camera video in the camera application.
本发明实施例提供了一种显示方法,参照图2,图2为本发明的一种显示方法一实施例的流程示意图。An embodiment of the present invention provides a display method. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of an embodiment of a display method of the present invention.
本实施例中,所述一种显示方法包括:In this embodiment, the display method includes:
步骤S10,当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数。Step S10, when it is detected that the display terminal enters the camera application, the current image quality parameters of the display terminal are updated to the camera mode image quality parameters.
在本实施例中,执行主体是带有摄像头的显示终端,例如带有内置摄像头的电视机。摄像头应用是指将摄像头、数码相机、电视卡等硬件终端输入的模拟信号,通过模拟、数字转换程序,转换成二进制数字信号,并按数字视频各格式编码规范进行播放的应用;可以是视频聊天应用、家庭看护应用,全家福应用、健身应用等应用,通常具有家庭看护、视频聊天等功能。In this embodiment, the execution body is a display terminal with a camera, such as a TV with a built-in camera. Camera applications refer to applications that convert analog signals input from hardware terminals such as cameras, digital cameras, and TV cards into binary digital signals through analog-to-digital conversion programs, and play them according to the coding specifications of various digital video formats; it can be video chat Apps, home care apps, family photo apps, fitness apps and other apps usually have functions such as home care and video chat.
检测到显示终端进入摄像头应用是指检测到用户打开或启动相应的摄像头应用。当相应的摄像头应用被打开或启动时,将显示终端的当前画质参数更新为摄像头模式画质参数。其中,当前画质参数是指显示终端在进入摄像头应用前,所使用的用于调整显示画面的画质参数,可以为普通或标准模式画质参数,也可以为其他模式的画质参数,例如电影模式、游戏模式、照片模式等。摄像头模式画质参数是指,预设的针对摄像头视频进行显示,可以预先调试好并在显示终端的中间件中增加的一组画质参数。Detecting that the display terminal enters the camera application refers to detecting that the user opens or starts the corresponding camera application. When the corresponding camera application is opened or activated, the current image quality parameters of the display terminal are updated to the camera mode image quality parameters. Among them, the current image quality parameter refers to the image quality parameter used by the display terminal to adjust the display image before entering the camera application, which may be the image quality parameter in normal or standard mode, or the image quality parameter in other modes, such as Movie mode, game mode, photo mode, etc. The camera mode image quality parameters refer to a set of image quality parameters that are preset for display of the camera video, which can be debugged in advance and added to the middleware of the display terminal.
可选地,参照图3,步骤S10中,启动所述显示终端的摄像头画质增强功能,将所述显示终端当前画质参数更新为摄像头模式画质参数,具体包括:Optionally, referring to FIG. 3 , in step S10, the camera image quality enhancement function of the display terminal is activated, and the current image quality parameter of the display terminal is updated to the camera mode image quality parameter, which specifically includes:
步骤S11,当检测到所述显示终端进入摄像头应用时,将预设接口状态设置为进入状态。Step S11, when it is detected that the display terminal enters the camera application, the preset interface state is set to the entering state.
在本实施例中,预设接口是指显示终端中摄像头画质模式的接口,预设接口的状态即为摄像头画质模式的状态,分为进入状态和退出状态。预设接口的状态用于动态的进行画质参数的更新。In this embodiment, the preset interface refers to an interface for displaying the image quality mode of the camera in the terminal, and the state of the preset interface is the state of the image quality mode of the camera, which is divided into an entry state and an exit state. The state of the preset interface is used to dynamically update the image quality parameters.
当检测到显示终端进入摄像头应用时,则此时通常需要进行摄像头视频的播放,因而需要对画质参数进行更新,为此,需要先将预设接口状态设置为进入状态。When it is detected that the display terminal enters the camera application, the camera video usually needs to be played at this time, so the image quality parameters need to be updated. For this, the preset interface state needs to be set to the enter state first.
步骤S12,根据所述进入状态,获取所述摄像头模式画质参数,并将所述显示终端当前画质参数更新为摄像头模式画质参数。Step S12: Acquire the camera mode image quality parameter according to the entry state, and update the current image quality parameter of the display terminal to the camera mode image quality parameter.
在本实施例中,在将预设接口状态设置为进入状态后,显示终端会调用中间件的相应接口,以通知中间件预设接口的状态。具体地,中间件对外提供一个接口,使得摄像头应用可以通过调用此接口来将摄像头画质模式的当前状态发送至中间件,即通知中间件摄像头画质模式的当前状态是进入状态还是退出状态。In this embodiment, after the preset interface state is set to the enter state, the display terminal will call the corresponding interface of the middleware to notify the middleware of the state of the preset interface. Specifically, the middleware provides an external interface, so that the camera application can send the current state of the camera image quality mode to the middleware by calling this interface, that is, notify the middleware whether the current state of the camera image quality mode is the entry state or the exit state.
当中间件的相应接口被调用时,中间件会通过判断摄像头画质模式的状态,以动态的进行画质参数的更新。当预设接口的状态,即摄像头画质模式的状态为进入状态时,中间件会将显示终端当前的画质参数更新为预设的摄像头模式画质参数,具体地,中间件通过调用驱动接口以实现对当前画质参数的更新。其中,中间件(Middle ware)是指显示终端中提供系统软件和应用软件之间连接的软件,以便于软件各部分之间的沟通,特别是应用软件对于系统软件的集中的业务逻辑。中间件是位于平台(硬件和操作系统)和应用之间的一类软件,具有标准的程序接口和协议,针对不同的操作系统和硬件平台,它们可以有符合接口和协议规范的多种实现。When the corresponding interface of the middleware is called, the middleware will dynamically update the picture quality parameters by judging the status of the camera picture quality mode. When the state of the preset interface, that is, the state of the camera image quality mode is the entry state, the middleware will update the current image quality parameters of the display terminal to the preset image quality parameters of the camera mode. Specifically, the middleware will call the driver interface by calling to update the current image quality parameters. Among them, the middleware refers to the software in the display terminal that provides the connection between the system software and the application software, so as to facilitate the communication between various parts of the software, especially the centralized business logic of the application software for the system software. Middleware is a type of software located between the platform (hardware and operating system) and the application. It has standard program interfaces and protocols. For different operating systems and hardware platforms, they can have multiple implementations that conform to the interface and protocol specifications.
具体地,例如,通过调用预置的中间件的相应接口以通知所述中间件所述进入状态,基于所述中间件,获取所述摄像头模式画质参数,并将所述显示终端当前画质参数更新为摄像头模式画质参数。Specifically, for example, by calling the corresponding interface of the preset middleware to notify the middleware of the entry status, based on the middleware, the camera mode image quality parameters are acquired, and the current image quality of the display terminal is The parameter is updated to the camera mode image quality parameter.
本实施例通过在检测到进入摄像头应用时,将预设接口的状态,即摄像头画质模式的状态设置为进入状态,通过调用中间件接口,使得中间件可以获取摄像头画质模式的当前状态,以实现画质参数的动态刷新。In this embodiment, when the camera application is detected, the state of the preset interface, that is, the state of the camera image quality mode, is set to the entry state, and the middleware interface is called, so that the middleware can obtain the current state of the camera image quality mode. To achieve dynamic refresh of image quality parameters.
步骤S20,根据更新的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。Step S20: Display the video image to be played on the display terminal according to the updated image quality parameter of the camera mode.
在本实施例中,由于是在进入摄像头应用之后,故此时的待播放视频主要是指摄像头视频,其中,摄像头视频主要是通过显示终端摄像头拍摄并录制的视频,例如用户在使用摄像头应用过程中录制的视频。即此时显示终端会根据预设好的摄像头模式画质参数对摄像头视频的画面进行显示,实现了画面显示效果的提升。In this embodiment, after entering the camera application, the video to be played at this time mainly refers to the camera video, wherein the camera video is mainly the video shot and recorded by the camera of the display terminal. For example, when the user is using the camera application process recorded video. That is, at this time, the display terminal will display the picture of the camera video according to the preset picture quality parameters of the camera mode, so as to realize the improvement of the picture display effect.
本实施例通过在进入摄像头应用后,通过中间件自动更新当前画质参数,并利用更新后的摄像头模式画质参数对待播放的摄像头视频画面进行显示。由于没有直接使用显示终端的通用画质参数进行画面显示,而是使用经过更新后的,针对摄像头视频进行优化处理的摄像头模式画质参数,因而可以提升摄像头视频的画面显示效果,并且是自动进行的,无需用户手动进行操作。解决了在摄像头应用中回放摄像头视频时,画面显示效果不佳的问题,提升了在摄像头应用中播放摄像头视频时的画面显示效果。此外,由于是通过中间件进行画质参数的更新,而中间件针对不同的操作系统和硬件不同,可以有符合接口和协议规范的多种实现,因此,进一步实现了较高的兼容性。In this embodiment, after entering the camera application, the current picture quality parameter is automatically updated through the middleware, and the camera video picture to be played is displayed by using the updated camera mode picture quality parameter. Because the general picture quality parameters of the display terminal are not directly used for picture display, but the updated camera mode picture quality parameters optimized for the camera video are used, so the picture display effect of the camera video can be improved, and it is automatically performed. , without the need for manual operation by the user. Solved the problem that the screen display effect was not good when playing back the camera video in the camera application, and improved the screen display effect when playing the camera video in the camera application. In addition, because the image quality parameters are updated through the middleware, and the middleware can have multiple implementations conforming to the interface and protocol specifications for different operating systems and hardware, thus further achieving higher compatibility.
进一步地,在本发明一种显示方法的另一实施例中,所述方法还包括:Further, in another embodiment of a display method of the present invention, the method further includes:
步骤S30,当检测到所述显示终端退出摄像头应用时,将所述摄像头模式画质参数恢复为普通模式画质参数。Step S30, when it is detected that the display terminal exits the camera application, restore the camera mode image quality parameter to the normal mode image quality parameter.
在本实施例中,检测到显示终端退出摄像头应用,可以是用户退出或关闭摄像头应用,也可以是用户切换到其他应用(即非摄像头应用),为了不对显示终端使用其他应用时的画面显示造成影响,故需要将摄像头模式画质参数恢复为普通模式画质参数。In this embodiment, when it is detected that the display terminal exits the camera application, it may be that the user exits or closes the camera application, or the user switches to another application (ie, a non-camera application), in order to prevent the display terminal from using other applications. Therefore, it is necessary to restore the camera mode image quality parameters to the normal mode image quality parameters.
普通模式画质参数,也可以叫标准画质参数,是显示终端在使用其他应用时所使用的画质参数,例如,电视机在播放电视节目时所使用的画质参数。The normal mode image quality parameter, which can also be called the standard image quality parameter, is the image quality parameter used by the display terminal when using other applications, for example, the image quality parameter used by the TV set when playing a TV program.
需要说明的是,普通画质参数是在系统中预设好的,可以是系统预设的标准图像模式下的画质参数,也可以是用户在进入摄像头应用之前所使用的画质参数。It should be noted that the common image quality parameters are preset in the system, which may be image quality parameters in the standard image mode preset by the system, or image quality parameters used by the user before entering the camera application.
可选地,步骤S30,当检测到所述显示终端退出摄像头应用时,将所述摄像头模式画质参数恢复为普通模式画质参数,具体包括:Optionally, in step S30, when it is detected that the display terminal exits the camera application, the camera mode image quality parameter is restored to the normal mode image quality parameter, which specifically includes:
步骤S31,当检测到所述显示终端退出摄像头应用时,将所述预设接口状态设置为退出状态。Step S31, when it is detected that the display terminal exits the camera application, the preset interface state is set to an exit state.
在本实施例中,当退出摄像头应用时,为了不对显示终端使用其他应用时的画面显示造成影响,因而需要将摄像头画质模式接口设为退出状态,即将预设接口设置为退出状态。In this embodiment, when exiting the camera application, in order not to affect the screen display when the display terminal uses other applications, the camera image quality mode interface needs to be set to the exit state, that is, the preset interface is set to the exit state.
步骤S32,根据所述退出状态,获取所述普通模式画质参数,并将所述摄像头模式画质参数恢复为所述普通模式画质参数。Step S32, according to the exit status, obtain the image quality parameter of the normal mode, and restore the image quality parameter of the camera mode to the image quality parameter of the normal mode.
在本实施例中,由于预设接口状态为退出状态,则说明此时不再需要使用摄像头模式画质参数进行画面显示,因此,将摄像头模式画质参数恢复为普通模式画质参数。In this embodiment, since the preset interface state is the exit state, it means that it is no longer necessary to use the camera mode image quality parameters for image display at this time. Therefore, the camera mode image quality parameters are restored to the normal mode image quality parameters.
获取普通模式画质参数,即读取显示终端在使用其他应用时所使用的普通或标准模式画质参数,可以是获取显示终端中标准模式的画质参数;也可以是获取在进入摄像头应用前显示终端所使用的画质参数,以实现在退出摄像头应用时,对画质参数进行还原。Obtain the normal mode image quality parameters, that is, read the normal or standard mode image quality parameters used by the display terminal when using other applications, which can be to obtain the standard mode image quality parameters in the display terminal; or to obtain the image quality parameters before entering the camera application Display the image quality parameters used by the terminal to restore the image quality parameters when exiting the camera application.
当显示终端退出摄像头应用时,会调用中间件的相应接口,以通知中间件此时预设接口的状态。当中间件的相应接口被调用时,中间件会通过判断摄像头画质模式的状态,以动态的进行画质参数的更新。当预设接口的状态,即摄像头画质模式的状态为退出状态时,中间件会调用相应的驱动接口,将显示终端当前的画质参数恢复为普通模式画质参数。When the display terminal exits the camera application, it will call the corresponding interface of the middleware to notify the middleware of the state of the preset interface at this time. When the corresponding interface of the middleware is called, the middleware will dynamically update the picture quality parameters by judging the status of the camera picture quality mode. When the state of the preset interface, that is, the state of the camera image quality mode, is the exit state, the middleware will call the corresponding driver interface to restore the current image quality parameters of the display terminal to the normal mode image quality parameters.
具体地,例如,通过调用预置的中间件的相应接口以通知所述中间件所述退出状态,基于所述中间件,获取所述普通模式画质参数,并将所述摄像头模式画质参数恢复为所述普通模式画质参数。Specifically, for example, by calling the corresponding interface of the preset middleware to notify the middleware of the exit status, based on the middleware, the normal mode image quality parameters are acquired, and the camera mode image quality parameters are Return to the normal mode image quality parameters.
本实施例通过在检测到退出摄像头应用时,将预设接口的状态,即摄像头画质模式的状态设置为退出状态,获取普通或标准模式画质参数,并根据普通或标准画质参数对画质参数进行动态更新。实现了在离开摄像头应用时自动将画质参数还原成其他应用所使用的画质参数,或者保证了在使用其他应用时的画质参数是普通模式画质参数,即可以自动兼容摄像头应用场景和其他应用场景的画质差异。在实现较好兼容性的同时,无需用户手动在菜单中进行画质模式的来回切换,进一步实现了简化操作的技术效果。In this embodiment, when it is detected to exit the camera application, the state of the preset interface, that is, the state of the camera image quality mode, is set to the exit state, the image quality parameters of the normal or standard mode are obtained, and the image quality parameters are compared according to the normal or standard image quality parameters. The quality parameters are dynamically updated. It is realized that the image quality parameters are automatically restored to the image quality parameters used by other applications when leaving the camera application, or the image quality parameters when using other applications are guaranteed to be the normal mode image quality parameters, that is, it can be automatically compatible with camera application scenarios and Differences in image quality in other application scenarios. While achieving better compatibility, there is no need for the user to manually switch the image quality mode back and forth in the menu, which further achieves the technical effect of simplifying the operation.
步骤S40,根据所述普通模式画质参数,对所述显示终端的显示画面进行显示。Step S40: Display the display screen of the display terminal according to the normal mode image quality parameter.
在本实施例中,当显示终端退出摄像头应用后,由于此时不再使用摄像头应用,故使用普通模式画质参数,对所述显示终端的显示画面进行显示。In this embodiment, after the display terminal exits the camera application, since the camera application is no longer used at this time, the normal mode image quality parameter is used to display the display screen of the display terminal.
本实施例通过在检测到退出摄像头应用时,将画质参数进行恢复,使用普通模式画质参数,对显示终端的显示画面进行显示,使得不会影响使用其他应用时的显示效果。此外,还能保证当由于未知原因造成摄像头应用闪退时,能够将画质参数自动还原为普通或标准模式画质参数,避免了此种情况下未能及时对画质参数进行更新,从而影响使用其他应用时的画面显示效果。In this embodiment, when it is detected that the camera application exits, the image quality parameters are restored, and the normal mode image quality parameters are used to display the display screen of the display terminal, so that the display effect when using other applications is not affected. In addition, it can also ensure that when the camera application crashes due to unknown reasons, the image quality parameters can be automatically restored to the normal or standard mode image quality parameters, so as to avoid the failure to update the image quality parameters in time in this case, thereby affecting the The screen display effect when using other applications.
进一步地,在本发明一种显示方法的另一实施例中,步骤S10,当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的之前,还包括:Further, in another embodiment of a display method of the present invention, in step S10, when it is detected that the display terminal enters the camera application, before updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode, further include:
步骤S60,获取普通模式画质参数。Step S60, acquiring the normal mode image quality parameter.
在本实施例中,获取普通模式画质参数,即获取使用普通模式下的画质细节参数,例如,清晰度、对比度、饱和度等。In this embodiment, acquiring the image quality parameters in the normal mode, that is, acquiring detailed parameters of the image quality in the normal mode, such as sharpness, contrast, saturation, and the like.
步骤S70,将所述普通模式画质参数中提升清晰度的参数修改为预设值。Step S70, modifying the parameter for improving the definition in the normal mode image quality parameters to a preset value.
在本实施例中,提升清晰度的参数是指为了更好的显示效果,画面参数中对画面显示的清晰度做提升处理的参数,例如,清晰度参数、降噪参数、超解像功能参数等。In this embodiment, the parameter for improving the definition refers to a parameter in the picture parameters for improving the definition of the picture display for better display effect, for example, the definition parameter, the noise reduction parameter, the super-resolution function parameter Wait.
摄像头视频由于摄像头本身分辨率的限制,并不适宜直接使用显示终端中做了较高清晰度提升的画质参数进行显示。因此,需要将普通模式画质参数中提升清晰度的参数修改为预设值。其中,预设值可以根据显示终端的摄像头的参数自定义。Due to the limitation of the resolution of the camera itself, the video of the camera is not suitable to be displayed directly using the image quality parameters with higher definition enhancement in the display terminal. Therefore, it is necessary to modify the parameters for improving the definition in the normal mode image quality parameters to the default values. The preset value can be customized according to the parameters of the camera of the display terminal.
为了更好的理解,下面进行举例说明,例如在具有超解像功能的电视机中,其普通模式画质参数中,超解像功能参数会被打开,使得SOC在输入低于4K分辨率的信号时,通过算法将清晰度提升到4K或接近4K的显示效果。此时,将普通模式画质参数中提升清晰度的参数修改为预设值,即将超解像功能参数修改为关闭即可。For better understanding, an example is given below. For example, in a TV with a super-resolution function, in the normal mode image quality parameters, the super-resolution function parameter will be turned on, so that the SOC input is lower than 4K resolution. When the signal is received, the resolution is improved to 4K or close to 4K display effect through the algorithm. At this time, modify the parameter for improving the definition in the normal mode image quality parameters to the default value, that is, modify the parameter of the super-resolution function to off.
具体地,例如,将所述普通模式画质参数中的清晰度参数和/或降噪参数和/或超解像功能参数,修改为预设值。Specifically, for example, the definition parameter and/or the noise reduction parameter and/or the super-resolution function parameter in the normal mode image quality parameters are modified to preset values.
步骤S80,将修改后的所述普通模式画质参数确定为所述摄像头模式画质参数。Step S80, determining the modified normal mode image quality parameter as the camera mode image quality parameter.
在本实施例中,将修改后的普通模式画质参数确定为摄像头模式画质参数,从而可以在显示终端中对摄像头模式画质参数进行存储。In this embodiment, the modified normal mode image quality parameter is determined as the camera mode image quality parameter, so that the camera mode image quality parameter can be stored in the display terminal.
本实施例通过拷贝普通画质模式下的画质参数,然后将其中用于清晰度提升的画质参数修改为预设值,从而得到摄像头模式画质参数。使得其可以在显示终端中提前进行存储,即在显示终端的中间件中增加所得到的摄像头模式画质参数。以实现当预设接口的状态,即摄像头画质模式的状态为进入状态时,可直接获取到预先存储好的摄像头模式画质参数。In this embodiment, the image quality parameters in the camera mode are obtained by copying the image quality parameters in the normal image quality mode, and then modifying the image quality parameters used for improving the definition to preset values. So that it can be stored in the display terminal in advance, that is, the obtained camera mode image quality parameter is added to the middleware of the display terminal. In order to realize that when the state of the preset interface, that is, the state of the camera image quality mode is the entering state, the pre-stored camera mode image quality parameters can be directly obtained.
进一步地,在本发明一种显示方法的另一实施例中,步骤S10,将所述显示终端当前画质参数更新为摄像头模式画质参数之后,还包括:Further, in another embodiment of a display method of the present invention, step S10, after updating the current image quality parameter of the display terminal to the camera mode image quality parameter, further includes:
步骤A10,根据所述更新后的所述摄像头模式画质参数,显示摄像头图像参数的控制页面。Step A10: Display a control page for camera image parameters according to the updated camera mode image quality parameters.
在本实施例中,摄像头模式画质参数,是指针对摄像头视频画面进行显示的参数,即需要针对摄像头的分辨率和清晰度等单独进行设置的画质参数。在具体实施时,通常会预设好这个参数,在使用时直接调用此参数即可。In this embodiment, the camera mode image quality parameter refers to a parameter for displaying a video image of the camera, that is, an image quality parameter that needs to be set separately for the resolution and definition of the camera. In specific implementation, this parameter is usually preset, and this parameter can be directly called when using.
图像参数是指用于调节画质的参数,包括色温、色彩、亮度、对比度、清晰度等参数,而摄像头图像画质参数的控制页面是指使得用户可以根据喜好自行调节或控制摄像头模式画质参数的页面。此页面独立于用户直接在菜单中可以调节或控制的普通或标准图像模式画质参数的控制页面,在当前画质参数更新为摄像头模式画质参数后生成,即在用户进入摄像头应用时才会显示。Image parameters refer to the parameters used to adjust the image quality, including parameters such as color temperature, color, brightness, contrast, and sharpness, while the control page of the camera image quality parameters refers to allowing users to adjust or control the camera mode image quality according to their preferences. parameter page. This page is independent of the control page of the normal or standard image mode image quality parameters that the user can directly adjust or control in the menu. It is generated after the current image quality parameters are updated to the camera mode image quality parameters, that is, when the user enters the camera application. show.
为了更好的理解,参照图4,图4为一实施例中摄像头模式画质参数的控制页面的示意图,在本实施例中,显示终端为带有超解像功能的电视机,当用户在进入摄像头应用后,电视机会通过中间件对当前的画质参数进行更新,并生成如图4所示的摄像头图像参数设置页面。图4中左侧的“超解像功能、清晰度、饱和度、对比度、背光调节”为用户可以自行调节的画质细节参数种类,具体实施时可以有更多的其他画质参数,例如色温、去噪等;右侧为具体调节画质细节参数的控件,用户可以点击图中的黑色圆形控件,以打开或关闭超解像功能参数;还可以通过左右滑动黑色小箭头控件来调节画质细节参数数值的大小,具体实施时控件还可以有其他形式,在此不做赘述。For a better understanding, refer to FIG. 4 , which is a schematic diagram of a control page for the image quality parameters of the camera mode in an embodiment. In this embodiment, the display terminal is a TV with a super-resolution function. After entering the camera application, the TV will update the current image quality parameters through the middleware, and generate the camera image parameter setting page as shown in Figure 4. The "Super Resolution Function, Sharpness, Saturation, Contrast, Backlight Adjustment" on the left in Figure 4 are the types of picture quality detail parameters that users can adjust by themselves. There can be more other picture quality parameters, such as color temperature, in the specific implementation. , denoising, etc.; the right side is the control for adjusting the detailed parameters of the picture quality, the user can click the black circle control in the picture to turn on or off the super-resolution function parameters; you can also adjust the picture by sliding the black small arrow control left and right. The size of the parameter value of the quality details, the control can also have other forms during the specific implementation, which will not be described here.
可以看到,此时自动更新后的画质参数,即电视机预设的摄像头模式画质参数如图所示,超解像功能参数关闭,清晰度为0,饱和度为70,对比度为65,背光调节为90,需要说明的是,此处的数值仅做举例,具体实施时,可以根据显示终端的实际情况进行设置最佳的摄像头模式画质参数。此时,用户可以在此控制页面上进一步对更新后的摄像头模式画质参数进行调整。It can be seen that the automatically updated image quality parameters at this time, that is, the preset camera mode image quality parameters of the TV are shown in the figure, the super-resolution function parameters are turned off, the definition is 0, the saturation is 70, and the contrast is 65. , the backlight is adjusted to 90. It should be noted that the values here are only examples. In specific implementation, the best camera mode image quality parameters can be set according to the actual situation of the display terminal. At this point, the user can further adjust the updated camera mode image quality parameters on this control page.
步骤A20,基于所述控制页面采集的用户自定义操作,调整所述摄像头模式画质参数,以形成新的摄像头模式画质参数。Step A20: Based on the user-defined operation collected on the control page, adjust the camera mode image quality parameters to form new camera mode image quality parameters.
在本实施例中,由于在进入摄像头应用时,会将当前画质参数更新为预设的摄像头模式画质参数,但不一定能满足所有用户的需求与喜好。因此,用户可以通过这个独立的控制页面,根据喜好自行对更新后的画质参数再次调节,此时可以根据用户的具体操作行为以调整画质参数,从而获得新的摄像头模式画质参数,使得用户可以对摄像头模式画质参数进行自定义。In this embodiment, when the camera application is entered, the current image quality parameters will be updated to the preset camera mode image quality parameters, which may not meet the needs and preferences of all users. Therefore, the user can adjust the updated image quality parameters according to their own preferences through this independent control page. At this time, the image quality parameters can be adjusted according to the user's specific operation behavior, so as to obtain new camera mode image quality parameters, so that Users can customize the camera mode image quality parameters.
本实施例通过在对画质参数更新摄像头模式画质参数后,生成一个摄像头图像参数的控制页面,满足了在用户进入摄像头应用时,自动进行画质参数更新后,还可以根据个人喜好自行调节画质参数,而非强制用户在进入摄像头应用后,只能使用预设好的摄像头模式画质参数,实现了更高的自由度与灵活性。并且,由于是在对画质参数更新为摄像头模式画质参数后才生成的,即只在用户进入摄像头应用时才显示,从而避免了影响正常图像模式下的参数设置。In this embodiment, after updating the image quality parameters of the camera mode, a control page for the image parameters of the camera is generated, so that when the user enters the camera application, after the image quality parameters are automatically updated, they can also be adjusted according to personal preferences. Image quality parameters, rather than forcing users to use the preset camera mode image quality parameters after entering the camera application, achieving a higher degree of freedom and flexibility. Moreover, since the image quality parameters are generated after updating the image quality parameters to the camera mode image quality parameters, that is, it is only displayed when the user enters the camera application, thereby avoiding affecting the parameter settings in the normal image mode.
进一步地,在本发明一种显示方法的另一实施例中,所述方法还包括:Further, in another embodiment of a display method of the present invention, the method further includes:
步骤S01,当检测到所述显示终端进入系统应用时,判断所述系统应用是否为预设应用白名单中的所述摄像头应用。Step S01, when it is detected that the display terminal enters a system application, determine whether the system application is the camera application in a preset application whitelist.
在本实施例中,由于显示终端的所有系统应用中,往往还有许多不需要用到摄像头的其他应用,例如电视应用、应用商店等,而这些系统应用在使用时或者在播放视频时,直接使用通用的画质参数即可,无需进行画质参数的更新,因此,在用户打开或启动显示终端的系统应用时,首先需要判断其是不是摄像头应用。In this embodiment, among all the system applications of the display terminal, there are often many other applications that do not need to use the camera, such as TV applications, application stores, etc., and these system applications, when in use or when playing a video, directly It is sufficient to use the general image quality parameters, and there is no need to update the image quality parameters. Therefore, when the user opens or starts the system application of the display terminal, it is first necessary to determine whether it is a camera application.
进一步的,由于摄像头应用的种类是多种多样的,可以有显示终端系统中自带的摄像头应用,还可以有用户在使用过程中自行下载的其他摄像头应用,因此,需要对这些摄像头应用预设一个应用白名单,即预设的应用白名单是指需要进行画质增强处理的摄像头应用,可以包括:视频聊天应用、家庭看护应用,全家福应用、健身应用等应用;用于判断用户所进入的应用是否为摄像头应用。Further, because the types of camera applications are various, there may be camera applications built in the display terminal system, and other camera applications downloaded by the user during use. Therefore, it is necessary to preset these camera applications. An application whitelist, that is, the preset application whitelist refers to the camera applications that need to be processed for image quality enhancement, which can include: video chat applications, family care applications, family portrait applications, fitness applications and other applications; Whether the app is a camera app.
在一个具体的实施例中,可以根据这些摄像头应用的名单生成一个单独的xml(Extentsible Markup Language,可扩展标记语言)文件,若显示终端中带有摄像头应用,则可以统一下载这个配置的xml文件。当执行判断时,先加载这个xml文件,读出其中的应用名单,即前述的应用白名单,再动态对比判断打开或启动的系统应用是否为应用白名单中的摄像头应用即可。In a specific embodiment, a separate xml (Extentsible Markup Language, Extensible Markup Language) file can be generated according to the list of camera applications. If the display terminal has a camera application, the configured xml file can be downloaded uniformly . When executing the judgment, first load the xml file, read the application list in it, that is, the aforementioned application whitelist, and then dynamically compare and judge whether the opened or activated system application is the camera application in the application whitelist.
步骤S02,若是,则执行所述当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤。Step S02, if yes, execute the step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode when it is detected that the display terminal enters the camera application.
在本实施例中,若是,则表示显示终端进入的为预设应用白名单中的摄像头应用,则此时说明需要进行画质参数的更新,故执行当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤。In this embodiment, if it is, it means that the camera application in the preset application whitelist is entered by the display terminal. At this time, it means that the image quality parameter needs to be updated. Therefore, when it is detected that the display terminal enters the camera application, the The step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode.
本实施例通过预设应用白名单,实现了只在用户进入相应的摄像头应用时,进行画质参数的更新,从而避免了对使用其他应用时的画面显示造成影响。此外,由于可以通过xml文件的形式预设应用白名单,而非必须要在代码中写出来,且这个xml文件可以和应用或其他功能性配置文件放在一起,从而不用一个平台一个配置文件或者还需要单独修改代码。实现了简化开发流程,且具有较高兼容性的技术效果。In this embodiment, by presetting the application whitelist, it is possible to update the picture quality parameters only when the user enters the corresponding camera application, thereby avoiding the impact on the picture display when using other applications. In addition, because the application whitelist can be preset in the form of an xml file, instead of having to be written in the code, and this xml file can be put together with the application or other functional configuration files, so that there is no need for one configuration file for one platform or one configuration file for one platform. Also need to modify the code separately. The technical effect of simplifying the development process and having high compatibility is achieved.
进一步地,本发明实施例还提供一种显示装置,如图5所示,本发明的显示装置包括:Further, an embodiment of the present invention further provides a display device. As shown in FIG. 5 , the display device of the present invention includes:
更新模块10,用于当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数;The updating
显示模块20,用于根据更新的所述摄像头模式画质参数,对所述显示终端的待播放视频画面进行显示。The
可选地,所述装置还包括:Optionally, the device further includes:
修改模块,用于获取普通模式画质参数;Modify the module to obtain the normal mode image quality parameters;
将所述普通模式画质参数中提升清晰度的参数修改为预设值;Modify the parameter for improving the definition in the normal mode image quality parameter to a preset value;
将修改后的所述普通模式画质参数确定为所述摄像头模式画质参数。The modified image quality parameter of the normal mode is determined as the image quality parameter of the camera mode.
可选地,所述装置还包括:Optionally, the device further includes:
自定义模块,用于根据更新后的所述摄像头模式画质参数,显示摄像头图像参数的控制页面;a custom module for displaying a control page for camera image parameters according to the updated camera mode image quality parameters;
基于所述控制页面采集的用户自定义操作,调整所述摄像头模式画质参数,以形成新的摄像头模式画质参数。Based on the user-defined operation collected on the control page, the camera mode image quality parameters are adjusted to form new camera mode image quality parameters.
可选地,所述装置还包括:Optionally, the device further includes:
判断模块,用于当检测到所述显示终端进入系统应用时,判断所述系统应用是否为预设应用白名单中的所述摄像头应用;a judgment module, configured to judge whether the system application is the camera application in the preset application whitelist when it is detected that the display terminal enters the system application;
若是,则执行所述当检测到显示终端进入摄像头应用时,将所述显示终端当前画质参数更新为摄像头模式画质参数的步骤。If so, execute the step of updating the current image quality parameter of the display terminal to the image quality parameter of the camera mode when it is detected that the display terminal enters the camera application.
上述本发明显示装置的各个功能模块在运行时所实现的步骤,可参照上述本发明显示方法的各个实施例,此处不再赘述。For the steps implemented by each functional module of the above-mentioned display device of the present invention during operation, reference may be made to the above-mentioned various embodiments of the display method of the present invention, and details are not described herein again.
进一步地,本发明实施例还提供一种显示设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的显示程序,所述显示程序配置为实现如上述实施例提供的显示方法的步骤,具体实施步骤可参照上述实施例,此处不再过多赘述。Further, an embodiment of the present invention also provides a display device, the device includes: a memory, a processor, and a display program stored on the memory and executable on the processor, the display program being configured to implement For the steps of the display method provided in the above-mentioned embodiments, the specific implementation steps may refer to the above-mentioned embodiments, which will not be repeated here.
进一步地,本发明实施例还一种计算机可读存储介质,所述计算机可读存储介质上存储有显示程序,所述显示程序被处理器执行时实现如上述实施例提供的显示方法的步骤,具体实施步骤可参照上述实施例,此处不再过多赘述。Further, an embodiment of the present invention further provides a computer-readable storage medium, where a display program is stored on the computer-readable storage medium, and when the display program is executed by a processor, the steps of the display method provided by the above-mentioned embodiments are implemented, For specific implementation steps, reference may be made to the foregoing embodiments, and details are not repeated here.
本发明实施例所提供的装置、设备和计算机可读存储介质,用于实现上述实施例提供的显示方法,解决了在摄像头应用中回放录制的摄像头视频时,画面显示效果不佳的问题,与现有技术相比,本发明实施例所提供的装置、设备和计算机可读存储介质的有益效果与上述实施例的显示方法的有益效果相同,在此不做赘述。The apparatus, device, and computer-readable storage medium provided by the embodiments of the present invention are used to implement the display method provided by the above-mentioned embodiments, and solve the problem of poor screen display effect when the recorded camera video is played back in the camera application, and Compared with the prior art, the beneficial effects of the apparatus, device, and computer-readable storage medium provided by the embodiments of the present invention are the same as the beneficial effects of the display method of the above-mentioned embodiments, which are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disc), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210286688.9A CN114640887A (en) | 2022-03-22 | 2022-03-22 | Display method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210286688.9A CN114640887A (en) | 2022-03-22 | 2022-03-22 | Display method, device, equipment and computer readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114640887A true CN114640887A (en) | 2022-06-17 |
Family
ID=81950476
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210286688.9A Pending CN114640887A (en) | 2022-03-22 | 2022-03-22 | Display method, device, equipment and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114640887A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115914706A (en) * | 2022-10-10 | 2023-04-04 | 安徽康佳电子有限公司 | A camera image quality parameter matching method, storage medium and computer system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100045594A1 (en) * | 2008-08-20 | 2010-02-25 | The Regents Of The University Of California | Systems, methods, and devices for dynamic management of data streams updating displays |
| CN106534942A (en) * | 2016-11-04 | 2017-03-22 | 微鲸科技有限公司 | Video image quality adjusting method and apparatus |
| US20180046179A1 (en) * | 2016-08-10 | 2018-02-15 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
| CN108322663A (en) * | 2018-05-14 | 2018-07-24 | Oppo广东移动通信有限公司 | Photographing method, device, terminal and storage medium |
| CN113179369A (en) * | 2021-04-08 | 2021-07-27 | 重庆传音通讯技术有限公司 | Shot picture display method, mobile terminal and storage medium |
| CN114025141A (en) * | 2022-01-05 | 2022-02-08 | 凯新创达(深圳)科技发展有限公司 | Picture adjusting and playing method and picture adjusting and playing device |
-
2022
- 2022-03-22 CN CN202210286688.9A patent/CN114640887A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100045594A1 (en) * | 2008-08-20 | 2010-02-25 | The Regents Of The University Of California | Systems, methods, and devices for dynamic management of data streams updating displays |
| US20180046179A1 (en) * | 2016-08-10 | 2018-02-15 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
| CN106534942A (en) * | 2016-11-04 | 2017-03-22 | 微鲸科技有限公司 | Video image quality adjusting method and apparatus |
| CN108322663A (en) * | 2018-05-14 | 2018-07-24 | Oppo广东移动通信有限公司 | Photographing method, device, terminal and storage medium |
| CN113179369A (en) * | 2021-04-08 | 2021-07-27 | 重庆传音通讯技术有限公司 | Shot picture display method, mobile terminal and storage medium |
| CN114025141A (en) * | 2022-01-05 | 2022-02-08 | 凯新创达(深圳)科技发展有限公司 | Picture adjusting and playing method and picture adjusting and playing device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115914706A (en) * | 2022-10-10 | 2023-04-04 | 安徽康佳电子有限公司 | A camera image quality parameter matching method, storage medium and computer system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114297436B (en) | Display device and user interface theme updating method | |
| CN111405339B (en) | A split-screen display method, electronic device and storage medium | |
| JP2009506463A (en) | Auxiliary display device driver interface | |
| TWI646835B (en) | Television program playing method and related terminal device | |
| CN104954699B (en) | A shooting parameter setting method and user terminal | |
| WO2023160295A9 (en) | Video processing method and apparatus | |
| CN107509102A (en) | Method for previewing, device and the computer-readable recording medium of television information source | |
| CN110572702B (en) | Standby control method, smart television and computer-readable storage medium | |
| CN114640887A (en) | Display method, device, equipment and computer readable storage medium | |
| CN101227572A (en) | A display control method, device and equipment for a TV start-up screen | |
| CN108900912A (en) | Screen protection setting method, smart television and computer readable storage medium | |
| CN108322834A (en) | TV setting method, TV and computer-readable storage medium | |
| CN107979774B (en) | A terminal booting method, terminal and storage medium | |
| US20260007960A1 (en) | Information processing system, information processing apparatus, distribution method, and computer-readable storage medium | |
| CN103731752A (en) | Method and device for setting overall image quality of smart television | |
| CN114302203B (en) | Image display method and display device | |
| CN108334349B (en) | Mobile terminal and display screen switching method thereof, and computer-readable storage medium | |
| CN114489548A (en) | Information sharing method and device, screen projector and computer readable storage medium | |
| WO2025086841A1 (en) | Display device and animation display method for display device | |
| JP3897786B2 (en) | Display device and image display system | |
| CN119472972A (en) | Audio and video resource processing method, device, terminal and storage medium | |
| CN115002556B (en) | Television channel switching method and device, television and storage medium | |
| CN118741206B (en) | A video playback method, apparatus, electronic device, and readable storage medium | |
| CN113422990A (en) | Projection equipment working state control method and device, controller and storage medium | |
| CN104023274A (en) | Method for presetting startup information and television |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220617 |