Display device and method of OSD menu
By receiving operation commands and determining the rotation angle, the system obtains a set of attribute information for the OSD menu, thus solving the problem of inconsistent OSD menu orientation after the display device is rotated. This achieves consistency between the screen and menu orientation, improving the user experience.
Patent Information
- Application Number
- CN202211054889.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-08-31
AI Technical Summary
After the display device is rotated, the display orientation of the OSD menu is inconsistent with the orientation of the device screen, which causes inconvenience to users and affects the user experience.
By receiving operation commands, the rotation angle of the display device is determined, and the set of attribute information of the OSD menu is obtained based on the angle. The RGB value of each pixel is determined in turn, and finally the OSD menu is output to ensure that the screen orientation is consistent with the menu orientation.
After the display device is rotated, the display state of the OSD menu changes, ensuring that the screen and menu orientation are consistent, thus improving the user experience.
Smart Images

Figure CN115474013B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of OSD menu, and particularly relates to a display device and method of OSD menu. BACKGROUND
[0002] OSD (On-Screen Display, screen menu type adjustment mode) is mainly applied to display devices such as CRT and LCD. After a user presses a menu key of the display device, an OSD menu containing information of each adjustment item of the display device is popped up in a screen of the display device, and the user can adjust parameters such as color and brightness of the display device through the OSD menu, so that the display device reaches an optimal use state.
[0003] At present, in order to improve the use experience of the user, many display devices are provided with a rotation function. However, after the display device is rotated, the OSD menu still maintains an original display state, so that a display direction of the screen of the display device is inconsistent with a display direction of the OSD menu, thereby making the user inconvenient to operate when adjusting parameters such as color and brightness of the display device through the OSD menu, and further leading to poor use experience of the user. SUMMARY
[0004] Embodiments of the present application provide a display device and method of OSD menu, and the main purpose is to change a display state of the OSD menu after the display device is rotated, thereby improving the use experience of the user.
[0005] To solve the above technical problem, embodiments of the present application provide the following technical solutions:
[0006] In a first aspect, the present application provides a display device of OSD menu, the device is applied to a target display device, and the device comprises:
[0007] A receiving unit is configured to receive a target operation instruction.
[0008] A first determining unit is configured to determine a target rotation angle corresponding to the target display device.
[0009] An obtaining unit is configured to obtain a set of attribute information corresponding to an OSD menu according to the target rotation angle, wherein the OSD menu comprises a plurality of target regions, each target region comprises a plurality of pixel points, the set of attribute information comprises target position information corresponding to the OSD menu and attribute information corresponding to each target region, and the target position information corresponding to the OSD menu is used to indicate a position of the OSD menu in a screen of the target display device when a rotation angle of the target display device is the target rotation angle.
[0010] The second determining unit is configured to determine, according to preset rules, the target rotation angle, the target operation instruction and attribute information corresponding to each target region, RGB values corresponding to each pixel point included in the OSD menu in sequence.
[0011] The output display unit is configured to output and display the OSD menu according to target position information corresponding to the OSD menu and the RGB values corresponding to each pixel point included in the OSD menu.
[0012] Optionally, the attribute information corresponding to the target region includes a plurality of storage addresses corresponding to the target region.
[0013] The first determining module is configured to determine target storage addresses corresponding to each pixel point included in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each target region.
[0014] The second determining module is configured to determine a search sequence corresponding to each pixel point included in the OSD menu according to an initial arrangement sequence corresponding to a plurality of target regions, an initial arrangement sequence corresponding to a plurality of pixel points included in each target region and the target rotation angle.
[0015] The third determining module is configured to determine, in sequence, RGB values corresponding to each pixel point included in the OSD menu according to the search sequence corresponding to each pixel point included in the OSD menu and the target storage addresses.
[0016] Optionally, the first determining module is specifically configured to:
[0017] determine a target storage address corresponding to each target region according to the target operation instruction and the plurality of storage addresses corresponding to each target region.
[0018] determine the target storage addresses corresponding to each pixel point included in the OSD menu according to the target storage addresses corresponding to each target region.
[0019] Optionally, the second determining module is specifically configured to:
[0020] obtain an initial arrangement sequence corresponding to a plurality of target regions and an initial arrangement sequence corresponding to a plurality of pixel points included in each target region.
[0021] determine a rotation arrangement sequence corresponding to a plurality of target regions according to the initial arrangement sequence corresponding to the plurality of target regions and the target rotation angle.
[0022] According to the initial arrangement order corresponding to the plurality of pixel points contained in each of the target regions and the target rotation angle, a rotated arrangement order corresponding to the plurality of pixel points contained in each of the target regions is determined respectively;
[0023] According to the rotated arrangement order corresponding to the plurality of target regions and the rotated arrangement order corresponding to the plurality of pixel points contained in each of the target regions, a lookup order corresponding to the plurality of pixel points contained in the OSD menu is determined.
[0024] Optionally, the attribute information corresponding to the target regions further includes a color depth value corresponding to the target regions, and the attribute information set further includes a color palette corresponding to each of the color depth values.
[0025] The third determining module is specifically configured to:
[0026] According to the lookup order corresponding to each of the pixel points contained in the OSD menu and a target storage address, a color value corresponding to each of the pixel points contained in the OSD menu is sequentially looked up in a target random access memory.
[0027] Wherein, after the color value corresponding to any one of the pixel points is looked up, a color palette corresponding to a target region to which the pixel point belongs is determined according to a color depth value corresponding to the target region, and an RGB value corresponding to the pixel point is looked up in the color palette corresponding to the target region to which the pixel point belongs according to the color value corresponding to the pixel point.
[0028] In a second aspect, the present application further provides a display method of an OSD menu, the method being applied to a target display device, and the method comprising:
[0029] receiving a target operation instruction;
[0030] determining a target rotation angle corresponding to the target display device;
[0031] According to the target rotation angle, an attribute information set corresponding to an OSD menu is acquired, wherein the OSD menu contains a plurality of target regions, each of the target regions contains a plurality of pixel points, the attribute information set includes target position information corresponding to the OSD menu and attribute information corresponding to each of the target regions, and the target position information corresponding to the OSD menu is used to indicate a position of the OSD menu in a screen of the target display device when a rotation angle of the target display device is the target rotation angle.
[0032] According to a preset rule, the target rotation angle, the target operation instruction and the attribute information corresponding to each of the target regions, an RGB value corresponding to each of the pixel points contained in the OSD menu is sequentially determined.
[0033] Output and display the OSD menu according to the target position information corresponding to the OSD menu and the RGB value corresponding to each pixel point contained in the OSD menu.
[0034] Optionally, the attribute information corresponding to the target region comprises a plurality of storage addresses corresponding to the target region; and the step of sequentially determining the RGB value corresponding to each pixel point contained in the OSD menu according to the preset rule, the target rotation angle, the target operation instruction and the attribute information corresponding to each target region comprises:
[0035] determining the target storage address corresponding to each pixel point contained in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each target region;
[0036] determining the searching order corresponding to each pixel point contained in the OSD menu according to the initial arrangement order corresponding to the plurality of target regions, the initial arrangement order corresponding to the plurality of pixel points contained in each target region and the target rotation angle;
[0037] sequentially determining the RGB value corresponding to each pixel point contained in the OSD menu according to the searching order corresponding to each pixel point contained in the OSD menu and the target storage address.
[0038] Optionally, the step of determining the target storage address corresponding to each pixel point contained in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each target region comprises:
[0039] determining the target storage address corresponding to each target region according to the target operation instruction and the plurality of storage addresses corresponding to each target region;
[0040] determining the target storage address corresponding to each pixel point contained in the OSD menu according to the target storage address corresponding to each target region.
[0041] Optionally, the step of determining the searching order corresponding to each pixel point contained in the OSD menu according to the initial arrangement order corresponding to the plurality of target regions, the initial arrangement order corresponding to the plurality of pixel points contained in each target region and the target rotation angle comprises:
[0042] obtaining the initial arrangement order corresponding to the plurality of target regions and the initial arrangement order corresponding to the plurality of pixel points contained in each target region;
[0043] determining the rotation arrangement order corresponding to the plurality of target regions according to the initial arrangement order corresponding to the plurality of target regions and the target rotation angle;
[0044] According to the initial arrangement order corresponding to the plurality of pixel points included in each of the target regions and the target rotation angle, a rotated arrangement order corresponding to the plurality of pixel points included in each of the target regions is determined respectively;
[0045] According to the rotated arrangement order corresponding to the plurality of target regions and the rotated arrangement order corresponding to the plurality of pixel points included in each of the target regions, a lookup order corresponding to the plurality of pixel points included in the OSD menu is determined.
[0046] Optionally, the attribute information corresponding to the target regions further includes a color depth value corresponding to the target regions, and the attribute information set further includes a color palette corresponding to each of the color depth values; the determining, according to the target rotation angle, of the lookup order and the target storage address corresponding to each of the pixel points included in the OSD menu, and the sequentially determining of the RGB value corresponding to each of the pixel points included in the OSD menu, includes:
[0047] According to the lookup order and the target storage address corresponding to each of the pixel points included in the OSD menu, a color value corresponding to each of the pixel points included in the OSD menu is sequentially looked up in a target random access memory.
[0048] Wherein, after the color value corresponding to any one of the pixel points is looked up, a color palette corresponding to the target region to which the pixel point belongs is determined according to a color depth value corresponding to the target region to which the pixel point belongs, and the RGB value corresponding to the pixel point is looked up in the color palette corresponding to the target region to which the pixel point belongs according to the color value corresponding to the pixel point.
[0049] In a third aspect, an embodiment of the present application provides a storage medium, the storage medium including a stored program, wherein the program, when executed, controls a device in which the storage medium is located to perform the OSD menu display method in the second aspect.
[0050] In a fourth aspect, an embodiment of the present application provides an OSD menu display device, the device including a storage medium and one or more processors, the storage medium being coupled to the processors, the processors being configured to execute program instructions stored in the storage medium, and the program instructions, when executed, performing the OSD menu display method in the second aspect.
[0051] By means of the above technical solutions, the technical solutions provided by the present application have at least the following advantages:
[0052] The application provides a display device and method of an OSD menu, and the display device of the OSD menu comprises a receiving unit, a first determining unit, an obtaining unit, a second determining unit and an output display unit; first, after a user presses a menu key of a target display device, rotates the target display device or performs other operations to generate a target operation instruction, the receiving unit receives the target operation instruction; second, the first determining unit determines a target rotation angle corresponding to the target display device; third, the obtaining unit obtains an attribute information set corresponding to the OSD menu in an attribute random memory according to the target rotation angle corresponding to the target display device; fourth, the second determining unit sequentially determines an RGB value corresponding to each pixel point contained in the OSD menu according to a preset rule, the target rotation angle corresponding to the target display device, the received target operation instruction and attribute information corresponding to each target region contained in the attribute information set; and finally, the output display unit outputs and displays the OSD menu according to target position information corresponding to the OSD menu and the RGB value corresponding to each pixel point contained in the OSD menu. In the application, the display state of the OSD menu can be changed after the target display device is rotated, so that the display direction of the screen of the target display device is consistent with the display direction of the OSD menu, and the use experience of the user can be effectively improved.
[0053] The above description is only a summary of the technical scheme of the application, in order to more clearly understand the technical means of the application, the application can be implemented according to the content of the specification, and in order to make the above and other purposes, characteristics and advantages of the application more obvious and easy to understand, the following specific embodiments of the application are described. BRIEF DESCRIPTION OF DRAWINGS
[0054] The above and other objects, features and advantages of the exemplary embodiments of the present application will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which several embodiments of the present application are shown by way of example, and wherein like or corresponding elements refer to like or corresponding parts throughout several views. In the drawings:
[0055] Figure 1 A constituent block diagram of a display device of an OSD menu provided by an embodiment of the application is shown;
[0056] Figure 2 A constituent block diagram of another display device of an OSD menu provided by an embodiment of the application is shown;
[0057] Figure 3 A flowchart of a display method of an OSD menu provided by an embodiment of the application is shown. DETAILED DESCRIPTION
[0058] Exemplary embodiments of the present application will be described herein below with reference to the accompanying drawings. While exemplary embodiments of the present application are illustrated, it is to be understood that the present application is not limited to the exemplary embodiments described herein, but can be practiced with variations that will be apparent to those skilled in the art. Rather, the purpose of the embodiments is to convey the substance of the present application to those skilled in the art.
[0059] It should be noted that unless otherwise stated, technical or scientific terms used in the present application shall have the ordinary meaning understood by one of ordinary skill in the art to which the present application pertains.
[0060] An OSD menu display device is provided by embodiments of the present application. The device is applied to a target display device, and in particular to a control integrated circuit chip in the target display device. The target display device can be, but is not limited to, a display, a television, etc. As shown in Figure 1 The device specifically includes a receiving unit 11 configured to receive a target operation instruction; a first determining unit 12 configured to determine a target rotation angle corresponding to the target display device; an obtaining unit 13 configured to obtain a property information set corresponding to an OSD menu according to the target rotation angle, wherein the OSD menu includes a plurality of target regions, each target region includes a plurality of pixel points, and the property information set includes target position information corresponding to the OSD menu and property information corresponding to each target region; a second determining unit 14 configured to sequentially determine RGB values corresponding to each pixel point included in the OSD menu according to a preset rule, the target rotation angle, the target operation instruction, and the property information corresponding to each target region; and an output display unit 15 configured to output and display the OSD menu according to the target position information corresponding to the OSD menu and the RGB values corresponding to each pixel point included in the OSD menu.
[0061] The following will describe in detail the process of outputting and displaying the OSD menu by the OSD menu display device shown in Figure 1
[0062] The target operation instruction can be, but is not limited to, a corresponding operation instruction generated by a user pressing a menu key of the target display device, or a corresponding operation instruction generated by the user rotating the target display device, etc.; the target rotation angle can be, but is not limited to, 90° clockwise, 180° clockwise, 270° clockwise, etc.; the OSD menu includes a plurality of target areas, for example, the OSD menu includes a plurality of target areas A11, A12...A1n, A21, A22...A2n...Am1, Am2...Amn; when the target display device is in an initial state (i.e., a non-rotated state), the first target area of the first row of the OSD menu is A11, the second target area of the first row is A12... the nth target area of the first row is A1n, the first target area of the second row is A21, the second target area of the second row is A22... the nth target area of the second row is A2n... the first target area of the mth row is Am1, the second target area of the mth row is Am2... the nth target area of the mth row is Amn; each target area includes a plurality of pixel points, and for any one target area, the plurality of pixel points included therein are arranged in a matrix form, for example, when the target display device is in the initial state, the first pixel point of the first row of the target area A11 is B11, the second pixel point of the first row is B12... the xth pixel point of the first row is B1x, the first pixel point of the second row is B21, the second pixel point of the second row is B22... the xth pixel point of the second row is B2x... the first pixel point of the yth row is By1, the second pixel point of the yth row is By2... the xth pixel point of the yth row is Byx; the attribute information set includes target position information corresponding to the OSD menu and attribute information corresponding to each target area, the target position information corresponding to the OSD menu is used to indicate the position of the OSD menu in the screen of the target display device when the rotation angle of the target display device is the target rotation angle, and the target position information corresponding to the OSD menu is specifically the position of the first pixel point of the first row of the OSD menu in the screen of the target display device when the rotation angle of the target display device is the target rotation angle.
[0063] In the embodiment of the present application, after the user presses the menu key of the target display device, rotates the target display device or performs other operations, thereby generating a target operation instruction, the receiving unit 11 in the display device of the OSD menu can receive the target operation instruction; after the receiving unit 11 receives the target operation instruction, the first determining unit 12 can determine the target rotation angle corresponding to the target display device, wherein the first determining unit 12 can specifically acquire the target rotation angle corresponding to the target display device according to the preset sensor in the target display device, and the preset sensor can be but is not limited to a gyroscope sensor and the like; after the first determining unit 12 determines the target rotation angle corresponding to the target display device, the acquiring unit 13 can acquire the attribute information set corresponding to the OSD menu in the attribute random access memory according to the target rotation angle corresponding to the target display device; after the acquiring unit 13 acquires the attribute information set corresponding to the OSD menu, the second determining unit 14 can determine the RGB value corresponding to each pixel point included in the OSD menu according to the preset rule, the target rotation angle corresponding to the target display device, the target operation instruction received and the attribute information corresponding to each target region included in the attribute information set in sequence, that is, according to the preset rule, the target rotation angle corresponding to the target display device, the target operation instruction and the attribute information corresponding to each target region, first determine the RGB value corresponding to the first pixel point in the first row of the OSD menu when the rotation angle of the target display device is the target rotation angle, then determine the RGB value corresponding to the second pixel point in the first row of the OSD menu when the rotation angle of the target display device is the target rotation angle…, and then determine the RGB value corresponding to the last pixel point in the first row of the OSD menu when the rotation angle of the target display device is the target rotation angle, and then determine the RGB value corresponding to the first pixel point in the second row of the OSD menu when the rotation angle of the target display device is the target rotation angle, and then determine the RGB value corresponding to the second pixel point in the second row of the OSD menu when the rotation angle of the target display device is the target rotation angle…, and then determine the RGB value corresponding to the last pixel point in the second row of the OSD menu when the rotation angle of the target display device is the target rotation angle…, and finally determine the RGB value corresponding to the last pixel point in the last row of the OSD menu when the rotation angle of the target display device is the target rotation angle.After the second determining unit 14 determines the RGB value corresponding to each pixel point contained in the OSD menu when the rotation angle of the target display device is the target rotation angle, the output display unit 15 can output and display the OSD menu according to the target position information corresponding to the OSD menu and the RGB value corresponding to each pixel point contained in the OSD menu. That is, after the second determining unit 14 determines the RGB value corresponding to the first pixel point in the first row of the OSD menu, the output display unit 15 can output and display the first pixel point in the first row of the OSD menu according to the target position information corresponding to the OSD menu (i.e., the position of the first pixel point in the first row of the OSD menu in the screen of the target display device) and the RGB value corresponding to the first pixel point in the first row of the OSD menu. After the second determining unit 14 determines the RGB value corresponding to the second pixel point in the first row of the OSD menu, the output display unit 15 can first determine the position of the second pixel point in the first row of the OSD menu in the screen of the target display device according to the target position information corresponding to the OSD menu, and then output and display the second pixel point in the first row of the OSD menu according to the position of the second pixel point in the first row of the OSD menu in the screen of the target display device and the RGB value corresponding to the second pixel point in the first row of the OSD menu. After the second determining unit 14 determines the RGB value corresponding to the third pixel point in the first row of the OSD menu, the output display unit 15 can first determine the position of the third pixel point in the first row of the OSD menu in the screen of the target display device according to the target position information corresponding to the OSD menu, and then output and display the third pixel point in the first row of the OSD menu according to the position of the third pixel point in the first row of the OSD menu in the screen of the target display device and the RGB value corresponding to the third pixel point in the first row of the OSD menu. After the second determining unit 14 determines the RGB value corresponding to the last pixel point in the last row of the OSD menu, the output display unit 15 can first determine the position of the last pixel point in the last row of the OSD menu in the screen of the target display device according to the target position information corresponding to the OSD menu, and then output and display the last pixel point in the last row of the OSD menu according to the position of the last pixel point in the last row of the OSD menu in the screen of the target display device and the RGB value corresponding to the last pixel point in the last row of the OSD menu. Thus, the output display of the OSD menu is completed, and at this time, the display direction of the screen of the target display device is consistent with the display direction of the OSD menu.
[0064] The embodiment of the present application provides a display device of an OSD menu, and the display device of the OSD menu provided by the embodiment of the present application comprises a receiving unit, a first determining unit, an obtaining unit, a second determining unit and an output display unit; first, after a user presses a menu key of a target display device, rotates the target display device or performs other operations, thereby generating a target operation instruction, the receiving unit receives the target operation instruction; second, the first determining unit determines a target rotation angle corresponding to the target display device; third, the obtaining unit obtains an attribute information set corresponding to the OSD menu in the attribute random memory according to the target rotation angle corresponding to the target display device; fourth, the second determining unit sequentially determines an RGB value corresponding to each pixel point included in the OSD menu according to a preset rule, the target rotation angle corresponding to the target display device, the received target operation instruction and attribute information corresponding to each target region included in the attribute information set; and finally, the output display unit outputs and displays the OSD menu according to target position information corresponding to the OSD menu and the RGB value corresponding to each pixel point included in the OSD menu. In the embodiment of the present application, after the target display device is rotated, the display state of the OSD menu can be changed, so that the display direction of the screen of the target display device is consistent with the display direction of the OSD menu, and then the use experience of the user can be effectively improved.
[0065] The embodiment of the present application also provides another display device of an OSD menu, which is applied to a target display device; as shown in the following Figure 2 , the following will be explained and described in combination with Figure 2 :
[0066] Further, as shown in the following Figure 2 , for any target region, the attribute information corresponding to the target region comprises a plurality of storage addresses corresponding to the target region, and the second determining unit 14 comprises: a first determining module 141, configured to determine a target storage address corresponding to each pixel point included in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each target region; a second determining module 142, configured to determine a search order corresponding to each pixel point included in the OSD menu according to the initial arrangement order corresponding to the plurality of target regions, the initial arrangement order corresponding to the plurality of pixel points included in each target region and the target rotation angle; and a third determining module 143, configured to sequentially determine an RGB value corresponding to each pixel point included in the OSD menu according to the search order corresponding to each pixel point included in the OSD menu and the target storage address.
[0067] The storage address corresponding to the target region is specifically a storage address corresponding to a first pixel point in a first row of the target region when the target display device is in an initial state. The storage address corresponding to each pixel point contained in the target region can be determined according to the storage address corresponding to the first pixel point in the first row of the target region. The color value corresponding to each pixel point contained in the target region when the target display device is in the initial state can be found in the target random memory according to the storage address corresponding to each pixel point contained in the target region. For any color bit depth, the color value corresponding to each RGB value under the color bit depth is set in advance, and the mapping relationship between each RGB value under the color bit depth and the color value corresponding thereto is added to the color wheel corresponding to the color bit depth. Therefore, for any pixel point, after the color wheel corresponding to the target region to which the pixel point belongs is determined according to the color bit depth value corresponding to the target region to which the pixel point belongs, the RGB value corresponding to the pixel point can be found in the color wheel corresponding to the target region to which the pixel point belongs according to the color value corresponding to the pixel point.
[0068] It should be noted that, for any pixel point, the data amount of the color value corresponding to the pixel point is less than the data amount of the RGB value corresponding to the pixel point. Therefore, compared with directly storing the RGB value corresponding to each pixel point contained in each target region into the target random memory, storing the color value corresponding to each pixel point contained in each target region into the target random memory can reduce the occupation of the storage space of the target random memory.
[0069] In the embodiment of the present application, the second determining unit 14 determines the specific process of the RGB value corresponding to each pixel point included in the OSD menu according to the preset rule, the target rotation angle corresponding to the target display device, the target operation instruction received, and the attribute information corresponding to each target region included in the attribute information set in sequence as follows: first, the first determining module 141 determines the target storage address corresponding to each pixel point included in the OSD menu according to the target operation instruction and the multiple storage addresses corresponding to each target region. When different operation instructions are received, the display device of the OSD menu needs to control the OSD menu to display different content. Therefore, the target operation instruction can be used to determine the content that needs to be displayed by each target region included in the OSD menu, that is, for any target region, the target operation instruction can be used to determine which storage address among the multiple storage addresses corresponding to the target region should be used to find the color value corresponding to each pixel point included in the target region in the target random access memory; then, the second determining module 142 determines the search order of each pixel point included in the OSD menu according to the initial arrangement order of the multiple target regions, the initial arrangement order of the multiple pixel points included in each target region, and the target rotation angle. The initial arrangement order of the multiple target regions is the arrangement order of the multiple target regions when the target display device is in the initial state (which target region is the first target region in the first row of the OSD menu, which target region is the second target region in the first row of the OSD menu, and so on). For any target region, the initial arrangement order of the multiple pixel points included in the target region is the arrangement order of the multiple pixel points included in the target region when the target display device is in the initial state (which pixel point is the first pixel point in the first row of the target region, which pixel point is the second pixel point in the first row of the target region, and so on); finally, the third determining module 143 determines the RGB value corresponding to each pixel point included in the OSD menu in sequence according to the search order of each pixel point included in the OSD menu and the target storage address.
[0070] Further, as shown in Figure 2 the first determining module 141 determines the target storage address corresponding to each pixel point included in the OSD menu according to the target operation instruction and the multiple storage addresses corresponding to each target region as follows:
[0071] According to the target operation instruction and the plurality of storage addresses corresponding to each target region, the target storage address corresponding to each target region is determined, that is, for any target region, according to the target operation instruction, it is determined which storage address among the plurality of storage addresses corresponding to the target region should be used to find the color value corresponding to each pixel point contained in the target region in the target random storage, and then the selected storage address is determined as the target storage address corresponding to the target region; secondly, according to the target storage address corresponding to each target region, the target storage address corresponding to each pixel point contained in the OSD menu is determined, that is, the target storage address corresponding to each pixel point contained in each region when the target display device is in the initial state is determined.
[0072] Further, as shown in Figure 2 The specific process of the second determining module 142 for determining the search order of each pixel point contained in the OSD menu according to the initial arrangement order corresponding to the plurality of target regions, the initial arrangement order corresponding to the plurality of pixel points contained in each target region, and the target rotation angle is as follows:
[0073] Firstly, the initial arrangement order corresponding to the plurality of target regions and the initial arrangement order corresponding to the plurality of pixel points contained in each target region are obtained.
[0074] Secondly, according to the initial arrangement order corresponding to the plurality of target regions and the target rotation angle, the rotation arrangement order corresponding to the plurality of target regions is determined, that is, according to the initial arrangement order corresponding to the plurality of target regions and the target rotation angle, the arrangement order corresponding to the plurality of target regions when the rotation angle of the target display device is the target rotation angle is determined.
[0075] For example, the OSD menu includes a plurality of target areas A11, A12...A15, A21, A22...A25...A41, A42...A45. When the target display device is in the initial state, the initial arrangement order corresponding to the plurality of target areas is: the first target area of the first row of the OSD menu is A11, the second target area of the first row is A12...the fifth target area of the first row is A15, the first target area of the second row is A21, the second target area of the second row is A22...the fifth target area of the second row is A25...the first target area of the fourth row is A41, the second target area of the fourth row is A42...the fifth target area of the fourth row is A45. When the rotation angle of the target display device is 90° (i.e., the target rotation angle is 90°), the rotated arrangement order corresponding to the plurality of target areas is: the first target area of the first row of the OSD menu is A15, the second target area of the first row is A25...the fourth target area of the first row is A45, the first target area of the second row is A14, the second target area of the second row is A24...the fourth target area of the second row is A44...the first target area of the fifth row is A11, the second target area of the fifth row is A21...the fourth target area of the fifth row is A41.
[0076] Again, according to the initial arrangement order corresponding to the plurality of pixel points included in each target area and the target rotation angle, the rotated arrangement order corresponding to the plurality of pixel points included in each target area is determined respectively, i.e., for any one target area, according to the initial arrangement order corresponding to the plurality of pixel points included in the target area and the target rotation angle, the arrangement order corresponding to the plurality of pixel points included in the target area when the rotation angle of the target display device is the target rotation angle is determined.
[0077] For example, for any one target area, the plurality of pixel points included in the target area are B11, B12...B16, B21, B22...B26...B71, B72...B76. When the target display device is in the initial state, the initial arrangement order corresponding to the plurality of pixel points is: the first pixel point of the first row of the target area is B11, the second pixel point of the first row is B12...the sixth pixel point of the first row is B16, the first pixel point of the second row is B21, the second pixel point of the second row is B22...the sixth pixel point of the second row is B26...the first pixel point of the seventh row is B71, the second pixel point of the seventh row is B72...the sixth pixel point of the seventh row is B76. When the rotation angle of the target display device is 90° (i.e., the target rotation angle is 90°), the rotated arrangement order corresponding to the plurality of pixel points is:
[0078] The first pixel point of the first row of the target region is B16, the second pixel point of the first row is B26, and the seventh pixel point of the first row is B76. The first pixel point of the second row is B15, the second pixel point of the second row is B25, and the seventh pixel point of the second row is B75. The first pixel point of the sixth row is B11, the second pixel point of the sixth row is B21, and the seventh pixel point of the sixth row is B71.
[0079] Finally, according to the rotation arrangement order corresponding to the plurality of target regions and the rotation arrangement order corresponding to the plurality of pixel points contained in each target region, the lookup order corresponding to the plurality of pixel points contained in the OSD menu is determined.
[0080] For example, when the rotation angle of the target display device is 90° (i.e., the target rotation angle is 90°), the lookup order corresponding to the plurality of pixel points contained in the OSD menu is: the first pixel point of the first row of the first target region of the first row of the OSD menu, the second pixel point of the first row of the first target region of the OSD menu,..., the last pixel point of the first row of the first target region of the OSD menu, the first pixel point of the first row of the second target region of the first row of the OSD menu, the second pixel point of the first row of the second target region of the OSD menu,..., the last pixel point of the first row of the second target region of the OSD menu,..., the first pixel point of the first row of the last target region of the OSD menu, the second pixel point of the first row of the last target region of the OSD menu,..., the last pixel point of the first row of the last target region of the OSD menu, the first pixel point of the second row of the first target region of the first row of the OSD menu, the second pixel point of the second row of the first target region of the OSD menu,..., the last pixel point of the second row of the first target region of the OSD menu, the first pixel point of the second row of the second target region of the first row of the OSD menu, the second pixel point of the second row of the second target region of the OSD menu,..., the last pixel point of the second row of the second target region of the OSD menu,..., the first pixel point of the second row of the last target region of the OSD menu, the second pixel point of the second row of the last target region of the OSD menu,..., the last pixel point of the second row of the last target region of the OSD menu.
[0081] Further, as shown in Figure 2 The attribute information corresponding to the target region further includes a color depth value corresponding to the target region, and the attribute information set further includes a color palette corresponding to each color depth value. The specific process of the third determination module 143 for determining the RGB value corresponding to each pixel point of the OSD menu in sequence according to the lookup order corresponding to each pixel point of the OSD menu and the target storage address is as follows:
[0082] According to the lookup sequence and the target storage address corresponding to each pixel point contained in the OSD menu, the color value corresponding to each pixel point contained in the OSD menu is sequentially looked up in the target random storage memory;
[0083] Wherein, after the color value corresponding to any one pixel point is looked up, the color wheel corresponding to the target area to which the pixel point belongs is determined according to the color bit depth value corresponding to the target area, and the RGB value corresponding to the pixel point is looked up in the color wheel corresponding to the target area to which the pixel point belongs according to the color value corresponding to the pixel point.
[0084] It should be noted that in actual application, the storage format of the target random storage memory can be adjusted according to the color bit depth value corresponding to each target area, the number of pixel points contained in each target area per row, and the specific situation of the control integrated circuit chip. For example, one address in the target random storage memory contains three bytes, when the color bit depth value corresponding to a certain target area is 1 bit, one address in the target random storage memory can store the color values corresponding to 24 pixel points contained in the target area, when the color bit depth value corresponding to a certain target area is 2 bits, one address in the target random storage memory can store the color values corresponding to 12 pixel points contained in the target area, when the color bit depth value corresponding to a certain target area is 4 bits, one address in the target random storage memory can store the color values corresponding to 6 pixel points contained in the target area. Therefore, when the color bit depth value corresponding to a certain target area is 2 bits, the target area contains 12 pixel points per row, the control integrated circuit chip can read one address per clock, and the control integrated circuit chip needs to output and display two pixel points per clock, in order to ensure that the control integrated circuit chip can output and display two pixel points per clock, the color values corresponding to the first 6 pixel points in the first row and the color values corresponding to the first 6 pixel points in the second row of the target area need to be stored in one address, the color values corresponding to the last 6 pixel points in the first row and the color values corresponding to the last 6 pixel points in the second row of the target area need to be stored in one address, the color values corresponding to the first 6 pixel points in the third row and the color values corresponding to the first 6 pixel points in the fourth row of the target area need to be stored in one address, the color values corresponding to the last 6 pixel points in the third row and the color values corresponding to the last 6 pixel points in the fourth row of the target area need to be stored in one address, and so on.
[0085] Further, as an alternative to the above Figure 1 and Figure 2In the implementation of the device, another embodiment of the present application further provides a display method of an OSD menu, which is applied to a target display device. The method is specifically applied to a control integrated circuit chip in the target display device, and the target display device can be, but is not limited to, a display, a television, or the like. The method embodiment corresponds to the foregoing device embodiment, and for the purpose of reading, the details in the foregoing device embodiment will not be described one by one, but it should be clear that the method in the embodiment can correspondingly implement all the contents in the foregoing device embodiment. The method is applied to changing the display state of the OSD menu after the display device is rotated, thereby improving the user experience, and specifically as follows Figure 3 The method comprises the following steps.
[0086] 201. Receiving a target operation instruction.
[0087] 202. Determining a target rotation angle corresponding to the target display device.
[0088] 203. Obtaining an attribute information set corresponding to the OSD menu according to the target rotation angle.
[0089] The OSD menu comprises a plurality of target regions, each target region comprises a plurality of pixel points, the attribute information set comprises target position information corresponding to the OSD menu and attribute information corresponding to each target region, and the target position information corresponding to the OSD menu is used to indicate the position of the OSD menu in the screen of the target display device when the rotation angle of the target display device is the target rotation angle.
[0090] 204. Determining the RGB value corresponding to each pixel point included in the OSD menu according to a preset rule, the target rotation angle, the target operation instruction, and the attribute information corresponding to each target region in sequence.
[0091] 205. Outputting and displaying the OSD menu according to the target position information corresponding to the OSD menu and the RGB value corresponding to each pixel point included in the OSD menu.
[0092] Further, the attribute information corresponding to the target region comprises a plurality of storage addresses corresponding to the target region; and step 204 of determining the RGB value corresponding to each pixel point included in the OSD menu according to the preset rule, the target rotation angle, the target operation instruction, and the attribute information corresponding to each target region in sequence comprises the following steps.
[0093] Determining the target storage address corresponding to each pixel point included in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each target region.
[0094] determining the lookup order corresponding to each pixel point included in the OSD menu according to the initial arrangement order corresponding to each target region, the initial arrangement order corresponding to each pixel point included in each target region, and the target rotation angle;
[0095] determining the RGB value corresponding to each pixel point included in the OSD menu according to the lookup order corresponding to each pixel point included in the OSD menu and the target storage address.
[0096] Further, the target storage address corresponding to each pixel point included in the OSD menu is determined according to the target operation instruction and the plurality of storage addresses corresponding to each target region, including:
[0097] determining the target storage address corresponding to each target region according to the target operation instruction and the plurality of storage addresses corresponding to each target region;
[0098] determining the target storage address corresponding to each pixel point included in the OSD menu according to the target storage address corresponding to each target region.
[0099] Further, the lookup order corresponding to each pixel point included in the OSD menu is determined according to the initial arrangement order corresponding to each target region, the initial arrangement order corresponding to each pixel point included in each target region, and the target rotation angle, including:
[0100] obtaining the initial arrangement order corresponding to each target region and the initial arrangement order corresponding to each pixel point included in each target region;
[0101] determining the rotation arrangement order corresponding to each target region according to the initial arrangement order corresponding to each target region and the target rotation angle;
[0102] determining the rotation arrangement order corresponding to each pixel point included in each target region according to the initial arrangement order corresponding to each pixel point included in each target region and the target rotation angle;
[0103] determining the lookup order corresponding to each pixel point included in the OSD menu according to the rotation arrangement order corresponding to each target region and the rotation arrangement order corresponding to each pixel point included in each target region.
[0104] Further, the attribute information corresponding to each target region further includes a color depth value corresponding to the target region, and the attribute information set further includes a color palette corresponding to each color depth value; the lookup order corresponding to each pixel point included in the OSD menu is determined according to the target rotation angle, and the RGB value corresponding to each pixel point included in the OSD menu is determined in turn, including:
[0105] According to the lookup sequence and the target storage address corresponding to each pixel point included in the OSD menu, the color value corresponding to each pixel point included in the OSD menu is sequentially looked up in the target random storage memory.
[0106] In the method, after the color value corresponding to any pixel point is looked up, the color wheel corresponding to the target region to which the pixel point belongs is determined according to the color bit depth value corresponding to the target region, and the RGB value corresponding to the pixel point is looked up in the color wheel corresponding to the target region to which the pixel point belongs according to the color value corresponding to the pixel point.
[0107] The display device and method of the OSD menu provided in the embodiments of the present application include a receiving unit, a first determining unit, an obtaining unit, a second determining unit and an output display unit. First, after a user presses a menu key of a target display device, rotates the target display device or performs other operations to generate a target operation instruction, the receiving unit receives the target operation instruction. Second, the first determining unit determines a target rotation angle corresponding to the target display device. Third, the obtaining unit obtains an attribute information set corresponding to the OSD menu in an attribute random storage memory according to the target rotation angle corresponding to the target display device. Fourth, the second determining unit sequentially determines an RGB value corresponding to each pixel point included in the OSD menu according to a preset rule, the target rotation angle corresponding to the target display device, the received target operation instruction and attribute information corresponding to each target region included in the attribute information set. Finally, the output display unit outputs and displays the OSD menu according to target position information corresponding to the OSD menu and the RGB value corresponding to each pixel point included in the OSD menu. In the embodiments of the present application, after the target display device is rotated, the display state of the OSD menu can be changed, so that the display direction of the screen of the target display device is consistent with the display direction of the OSD menu, and thus the use experience of the user can be effectively improved.
[0108] The embodiments of the present application provide a storage medium including a stored program, wherein when the program runs, the device in which the storage medium is located performs the display method of the OSD menu.
[0109] The storage medium can include a non-permanent memory in a computer readable medium, a random access memory (RAM) and / or a non-volatile memory such as a read-only memory (ROM) or a flash memory (flash RAM), and the memory includes at least one memory chip.
[0110] The embodiment of the present application further provides a display device of an OSD menu, which comprises a storage medium and one or more processors, the storage medium is coupled with the processors, and the processors are configured to execute program instructions stored in the storage medium; the program instructions perform the display method of the OSD menu.
[0111] The embodiment of the present application provides a device, which comprises a processor, a memory and a program stored in the memory and executable on the processor, and the processor performs the following steps when executing the program:
[0112] receiving a target operation instruction;
[0113] determining a target rotation angle corresponding to the target display device;
[0114] obtaining a property information set corresponding to an OSD menu according to the target rotation angle, wherein the OSD menu comprises a plurality of target regions, each of the target regions comprises a plurality of pixel points, the property information set comprises target position information corresponding to the OSD menu and property information corresponding to each of the target regions, and the target position information corresponding to the OSD menu is used to indicate a position of the OSD menu in a screen of the target display device when a rotation angle of the target display device is the target rotation angle;
[0115] determining RGB values corresponding to each of the pixel points included in the OSD menu according to a preset rule, the target rotation angle, the target operation instruction and the property information corresponding to each of the target regions in sequence;
[0116] outputting and displaying the OSD menu according to the target position information corresponding to the OSD menu and the RGB values corresponding to each of the pixel points included in the OSD menu.
[0117] Further, the property information corresponding to each of the target regions comprises a plurality of storage addresses corresponding to the target regions; and the step of determining the RGB values corresponding to each of the pixel points included in the OSD menu according to the preset rule, the target rotation angle, the target operation instruction and the property information corresponding to each of the target regions in sequence comprises:
[0118] determining target storage addresses corresponding to each of the pixel points included in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions;
[0119] determining a search order corresponding to each of the pixel points included in the OSD menu according to an initial arrangement order of the plurality of target regions, an initial arrangement order of the plurality of pixel points included in each of the target regions and the target rotation angle;
[0120] According to the look-up sequence and the target storage address corresponding to each pixel point of the OSD menu, the RGB value corresponding to each pixel point of the OSD menu is determined in sequence.
[0121] Further, the target storage address corresponding to each pixel point of the OSD menu is determined according to the target operation instruction and the multiple storage addresses corresponding to each target region.
[0122] The target storage address corresponding to each target region is determined according to the target operation instruction and the multiple storage addresses corresponding to each target region.
[0123] The target storage address corresponding to each pixel point of the OSD menu is determined according to the target storage address corresponding to each target region.
[0124] Further, the look-up sequence corresponding to each pixel point of the OSD menu is determined according to the initial arrangement sequence corresponding to each target region, the initial arrangement sequence corresponding to each pixel point included in each target region, and the target rotation angle.
[0125] The initial arrangement sequence corresponding to each target region and the initial arrangement sequence corresponding to each pixel point included in each target region are obtained.
[0126] The rotation arrangement sequence corresponding to each target region is determined according to the initial arrangement sequence corresponding to each target region and the target rotation angle.
[0127] The rotation arrangement sequence corresponding to each pixel point included in each target region is determined according to the initial arrangement sequence corresponding to each pixel point included in each target region and the target rotation angle.
[0128] The look-up sequence corresponding to each pixel point of the OSD menu is determined according to the rotation arrangement sequence corresponding to each target region and the rotation arrangement sequence corresponding to each pixel point included in each target region.
[0129] Further, the attribute information corresponding to each target region further includes a color depth value corresponding to the target region, and the attribute information set further includes a color palette corresponding to each color depth value; the look-up sequence and the target storage address corresponding to each pixel point of the OSD menu are determined according to the target rotation angle, and the RGB value corresponding to each pixel point of the OSD menu is determined in sequence.
[0130] According to the lookup sequence and the target storage address corresponding to each pixel point included in the OSD menu, the color value corresponding to each pixel point included in the OSD menu is sequentially looked up in the target random access memory.
[0131] According to the color value corresponding to each pixel point included in the OSD menu is sequentially looked up in the target random access memory.
[0132] The present application also provides a computer program product, when executed on a data processing device, is adapted to execute program code which is initialized with the following method steps: receiving a target operation instruction; determining a target rotation angle corresponding to the target display device; obtaining an attribute information set corresponding to an OSD menu according to the target rotation angle, wherein the OSD menu includes a plurality of target regions, each of the target regions includes a plurality of pixel points, and the attribute information set includes target position information corresponding to the OSD menu and attribute information corresponding to each of the target regions, the target position information corresponding to the OSD menu is used to indicate a position of the OSD menu in a screen of the target display device when a rotation angle of the target display device is the target rotation angle; sequentially determining RGB values corresponding to each of the pixel points included in the OSD menu according to a preset rule, the target rotation angle, the target operation instruction, and the attribute information corresponding to each of the target regions; and outputting and displaying the OSD menu according to the target position information corresponding to the OSD menu and the RGB values corresponding to each of the pixel points included in the OSD menu.
[0133] Those skilled in the art should understand that embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage media, etc.) containing computer-usable program code.
[0134] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0135] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0136] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0137] In one typical configuration, the computing device includes one or more processors (CPU's), input / output interfaces, network interfaces, and memory.
[0138] The memory can include non-persistent memory and / or persistent memory, such as flash memory, read-only memory (ROM), and / or volatile or non-volatile random access memory (RAM), among others. The memory is an example of computer readable media.
[0139] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0140] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover non-exclusive inclusions, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0141] Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system or computer program product. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer usable program code.
[0142] The above merely provides embodiments of the present application and is not intended to limit the present application. Various modifications and changes can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of the claims of the present application.
Claims
1. A display device for an OSD menu, characterized in that, The device is applied to a target display device, and the device comprises: a receiving unit configured to receive a target operation instruction; a first determining unit configured to determine a target rotation angle corresponding to the target display device; an obtaining unit configured to obtain a set of attribute information corresponding to an OSD menu according to the target rotation angle, wherein the OSD menu comprises a plurality of target regions, each of the target regions comprises a plurality of pixel points, and the set of attribute information comprises target position information corresponding to the OSD menu and attribute information corresponding to each of the target regions, the target position information corresponding to the OSD menu being used to indicate a position of the OSD menu in a screen of the target display device when a rotation angle of the target display device is the target rotation angle; a second determining unit configured to sequentially determine RGB values corresponding to each of the pixel points comprised in the OSD menu according to a preset rule, the target rotation angle, the target operation instruction, and the attribute information corresponding to each of the target regions; an output display unit configured to output and display the OSD menu according to the target position information corresponding to the OSD menu and the RGB values corresponding to each of the pixel points comprised in the OSD menu. The attribute information corresponding to the target regions comprises a plurality of storage addresses corresponding to the target regions; and the second determining unit comprises: a first determining module configured to determine a target storage address corresponding to each of the pixel points comprised in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions; a second determining module configured to determine a searching order corresponding to each of the pixel points comprised in the OSD menu according to an initial arrangement order corresponding to a plurality of the target regions, an initial arrangement order corresponding to a plurality of pixel points comprised in each of the target regions, and the target rotation angle; a third determining module configured to sequentially determine the RGB values corresponding to each of the pixel points comprised in the OSD menu according to the searching order corresponding to each of the pixel points comprised in the OSD menu and the target storage address.
2. The device according to claim 1, wherein the first determining module is specifically configured to: determine a target storage address corresponding to each of the target regions according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions; and determine the target storage address corresponding to each of the pixel points comprised in the OSD menu according to the target storage address corresponding to each of the target regions.
3. The device according to claim 1, wherein the second determining module is specifically configured to: obtain the initial arrangement order corresponding to a plurality of the target regions and the initial arrangement order corresponding to a plurality of pixel points comprised in each of the target regions; determine a rotation arrangement order corresponding to a plurality of the target regions according to the initial arrangement order corresponding to a plurality of the target regions and the target rotation angle; respectively determine a rotation arrangement order corresponding to a plurality of pixel points comprised in each of the target regions according to the initial arrangement order corresponding to the plurality of pixel points comprised in each of the target regions and the target rotation angle. According to the rotation arrangement sequence corresponding to each of the target regions and the rotation arrangement sequence corresponding to the pixel points contained in each of the target regions, a lookup sequence corresponding to the pixel points contained in the OSD menu is determined.
4. The apparatus of claim 1, wherein, The attribute information corresponding to the target region further includes a color depth value corresponding to the target region, and the attribute information set further includes a color palette corresponding to each of the color depth values; The third determining module is specifically configured to: According to the lookup sequence corresponding to each of the pixel points contained in the OSD menu and a target storage address, the color value corresponding to each of the pixel points contained in the OSD menu is sequentially looked up in a target random access memory. After the color value corresponding to any one of the pixel points is looked up, the color palette corresponding to the target region to which the pixel point belongs is determined according to the color depth value corresponding to the target region, and the RGB value corresponding to the pixel point is looked up in the color palette corresponding to the target region to which the pixel point belongs according to the color value corresponding to the pixel point.
5. A method of displaying an OSD menu, characterized by, The method is applied to a target display device, and the method comprises: receiving a target operation instruction; determining a target rotation angle corresponding to the target display device; obtaining an attribute information set corresponding to an OSD menu according to the target rotation angle, wherein the OSD menu contains a plurality of target regions, each of the target regions contains a plurality of pixel points, the attribute information set includes target position information corresponding to the OSD menu and attribute information corresponding to each of the target regions, and the target position information corresponding to the OSD menu is used to indicate a position of the OSD menu in a screen of the target display device when a rotation angle of the target display device is the target rotation angle; sequentially determining RGB values corresponding to each of the pixel points contained in the OSD menu according to a preset rule, the target rotation angle, the target operation instruction and the attribute information corresponding to each of the target regions; outputting and displaying the OSD menu according to the target position information corresponding to the OSD menu and the RGB values corresponding to each of the pixel points contained in the OSD menu; The attribute information corresponding to the target region includes a plurality of storage addresses corresponding to the target region, and sequentially determining the RGB values corresponding to each of the pixel points contained in the OSD menu according to the preset rule, the target rotation angle, the target operation instruction and the attribute information corresponding to each of the target regions comprises: determining a target storage address corresponding to each of the pixel points contained in the OSD menu according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions; determining a lookup sequence corresponding to each of the pixel points contained in the OSD menu according to an initial arrangement sequence corresponding to each of the target regions, an initial arrangement sequence corresponding to the pixel points contained in each of the target regions and the target rotation angle; sequentially determining the RGB values corresponding to each of the pixel points contained in the OSD menu according to the lookup sequence corresponding to each of the pixel points contained in the OSD menu and a target storage address.
6. The method of claim 5, wherein, The determining, according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions, of the target storage address corresponding to each pixel point included in the OSD menu comprises: The determining, according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions, of the target storage address corresponding to each pixel point included in the OSD menu comprises: The determining, according to the target operation instruction and the plurality of storage addresses corresponding to each of the target regions, of the target storage address corresponding to each pixel point included in the OSD menu comprises:
7. The method of claim 5, wherein, The determining, according to the initial arrangement sequence corresponding to each of the target regions, the initial arrangement sequence corresponding to each of the pixel points included in each of the target regions and the target rotation angle, of the search sequence corresponding to each of the pixel points included in the OSD menu comprises: The determining, according to the initial arrangement sequence corresponding to each of the target regions, the initial arrangement sequence corresponding to each of the pixel points included in each of the target regions and the target rotation angle, of the search sequence corresponding to each of the pixel points included in the OSD menu comprises: The determining, according to the initial arrangement sequence corresponding to each of the target regions, the initial arrangement sequence corresponding to each of the pixel points included in each of the target regions and the target rotation angle, of the search sequence corresponding to each of the pixel points included in the OSD menu comprises: The determining, according to the initial arrangement sequence corresponding to each of the target regions, the initial arrangement sequence corresponding to each of the pixel points included in each of the target regions and the target rotation angle, of the search sequence corresponding to each of the pixel points included in the OSD menu comprises: The attribute information corresponding to each of the target regions further comprises a color depth value corresponding to each of the target regions, and the attribute information set further comprises a color palette corresponding to each of the color depth values; the determining, according to the target rotation angle, of the search sequence and the target storage address corresponding to each of the pixel points included in the OSD menu, and the sequentially determining of the RGB value corresponding to each of the pixel points included in the OSD menu comprises:
8. The method of claim 5, wherein, The determining, according to the target rotation angle, of the search sequence and the target storage address corresponding to each of the pixel points included in the OSD menu, and the sequentially determining of the RGB value corresponding to each of the pixel points included in the OSD menu comprises: The determining, according to the target rotation angle, of the search sequence and the target storage address corresponding to each of the pixel points included in the OSD menu, and the sequentially determining of the RGB value corresponding to each of the pixel points included in the OSD menu comprises: The storage medium comprises a stored program, wherein the program, when executed, controls a device in which the storage medium is located to perform the display method of the OSD menu according to any one of claims 5 to 8.
9. A storage medium, characterized by The apparatus comprises a storage medium and one or more processors, the storage medium is coupled to the processors, and the processors are configured to execute program instructions stored in the storage medium; the program instructions, when executed, perform the display method of the OSD menu according to any one of claims 5 to 8.
10. An apparatus for displaying an OSD menu, characterized by comprising:
Citation Information
Patent Citations
Display apparatus, control method thereof, and display system
CN101057211A
Display device and projection screen image rotation display method
CN113556591A