Patents
Literature
Patsnap Copilot is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Patsnap Copilot

47results about How to "Optimize memory usage" patented technology

Algorithm of progress bar of breathing lamp effect

The invention relates to an algorithm of a progress bar of a breathing lamp effect. The algorithm includes the steps that firstly, a new control class BurnProgressView is user-defined on the basis of layout control Linearlayout, and an initialization method is added to a construction function; secondly, in onSizeChanged callback, the size of the circular progress bar is initialized according to the control size, and an inner ring area and an outer ring area are determined according to the width of a drawing pen so that gradient radian lines can be conveniently drawn on the two sides of the progress bar; thirdly, a thread of a breathing lamp change is started, the radiuses of a drawing pen fuzzy filter are circularly switched, and a height mark of corrugated lines is changed to be consistent with the rhythm of a breathing lamp; fourthly, in onDraw callback, progresses and effects are sequentially and dynamically drawn. According to the algorithm, the ring-shaped progress bar and the surrounding of the breathing lamp effect are adopted, attractive, personalized, visually and easily understood progress bar display is achieved through the circular progress bar and the breathing lamp effect, the algorithm efficiency is high, few resources are occupied, the universality is good, and the algorithm is suitable for being used in the Android system.
Owner:BEIJING KUWO TECH

Method and device for automatic snapshot of inner memory

Disclosed is a method for automatic snapshot of an inner memory. The method comprises the steps of initializing inner memory snapshot records and a list of the inner memory snapshot records, setting the total size of the allocated inner memory for a current inner memory snapshot record as zero, and storing the current inner memory snapshot record to the list of the inner memory snapshot records; by monitoring a function of allocating inner memories to an operation system from a Mono platform of a Unity engine, obtaining a notification for new inner memory allocation from the operation system; according to the received notification for new inner memory allocation from the operation system, calculating the total size of the inner memory currently allocated from the system; calculating the difference between the total size of the inner memory allocated in a current moment and the total size of the allocated inner memory in the previous inner memory snapshot record; automatically generating the current inner memory snapshot records according to the difference and/or the interval between the current moment and the moment of the previous memory snapshot record, and storing the current inner memory snapshot record to the list of the inner memory snapshot records. The method for the automatic snapshot of the inner memory has the advantages that developers of mobile phone applications can conveniently monitor the changing conditions of the inner memory in the running process of a game.
Owner:ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1

Video beautification processing method and device, storage medium and electronic equipment

The invention provides a video beautification processing method and device, a storage medium and electronic equipment, and relates to the technical field of image and video processing. The method comprises the following steps: acquiring a to-be-processed video, and detecting a face in the to-be-processed video; extracting a key frame face image of the face and a non-key frame face image corresponding to the key frame face image from the to-be-processed video according to the change of the face between different frames of the to-be-processed video; extracting features based on a three-dimensional grid from the key frame face image through a pre-trained deep neural network, and generating an information matrix of the key frame face image according to the extracted features; and performing facial beautification processing on the key frame face image and the non-key frame face image corresponding to the key frame face image by using the information matrix of the key frame face image, and obtaining a beautified video corresponding to the to-be-processed video based on a facial beautification processing result. According to the invention, the computing power resource overhead of video beautification processing is reduced.
Owner:GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products