Mode switching method and device

A mode switching and display mode technology, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve problems such as video flickering, discontinuous video playback, and affecting users' normal viewing, so as to ensure continuous playback and improve viewing The effect of experience

CN105872666BActive Publication Date: 2019-11-15TENCENT TECH (SHENZHEN) CO LTD
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-11-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a mode switching method and device, and belongs to the field of video playing. The method comprises the steps that whether a mode switching signal is received or not is detected, wherein the mode switching signal is used for indicating to switch the mode of a video display area into a second display mode from a current first display mode; when the mode switching signal is received, at least one set of intermediate display parameters are calculated according to display parameters corresponding to the first display mode and the second display mode respectively, wherein the display parameters are used for indicating the display positions and display sizes of the video display area in the corresponding display modes, and each set of intermediate display parameters are used for indicating the real-time display positions and real-time display sizes of the video display area in the mode switching process; the video display area is drawn according to at least one set of intermediate display parameters and real-time video image frames. According to the mode switching method and device, the problem that in the application interface redrawing process, normal watching of a user is influenced due to the fact that video playing is discontinuous and the video screen splash phenomenon is generated is solved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present invention relate to the field of video playback, and in particular to a mode switching method and device. Background technique

[0002] With the continuous development of video playback technology, more and more applications in smart terminals are equipped with a video playback function.

[0003] When a user uses an application in a smart terminal to play a video, the application usually plays the video in a vertical screen mode, and in the vertical screen mode, the video display area only occupies part of the display area of ​​the smart terminal screen. In order to achieve a better video playback effect, the user can switch the video being played from portrait mode to landscape mode by rotating the smart terminal. In landscape mode, the video display area occupies the entire display area of ​​the smart terminal screen. During the process of switching the video from portrait mode to landscape mode, the application calls ...

Examples

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0029] For the convenience of understanding, the nouns involved in the embodiments of the present invention are explained below.

[0030] Normal display mode (vertical screen mode): refers to the display mode in which the video display area occupies part of the screen display area. Such as Figure 1A As shown, in the normal display mode, the width 111 of the video display area 11 is generally the same as the width 121 of the screen display area 12 , and the height 112 of the video display area 11 is smaller than the screen display area 122 .

[0031] Full screen display mode: refers to the display mode in which the video display area occupies the entire screen display area. The full-screen display mode may include a portrait full-scre...