Image preloading method and device

A preloading and picture technology, applied in instruments, electronic digital data processing, computing, etc., can solve problems such as memory overflow, achieve smooth playback, and prevent OOM effects
CN103399802BInactive Publication Date: 2018-02-16TCL CORPORATION

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TCL CORPORATION
Publication Date
2018-02-16
Estimated Expiration
Not applicable · inactive patent

Smart Images

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

Abstract

The present invention is applicable to the field of picture playback, and provides a picture preloading method and device. When a picture player or an audio and video player plays pictures, it triggers the acquisition of pictures that need to be preloaded; it is judged whether the resolution of the pictures exceeds the preset resolution threshold; if the resolution of the picture exceeds the resolution threshold, the compression factor is calculated according to the picture compression algorithm; the picture is compressed according to the compression factor, and the compressed picture is preloaded; thereby effectively preventing OOM is eliminated, which ensures the smooth playback of pictures and is more user-friendly.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the field of picture playback, and in particular relates to a picture preloading method and device. Background technique

[0002] At present, mobile terminals based on the Android (android) system are widely used in all aspects of life, for example, people use smart phones for communication, surfing the Internet and taking pictures every day.

[0003] As we all know, the maximum memory allocated by the android system for each process is only 16M. If the application loads some resources that occupy memory, it will cause insufficient memory and an Out of Memory (OOM): especially, image players or audio and video playback When the player plays pictures, it needs to load pictures (including: the previous picture, the currently playing picture, and the pre-playing picture, etc.), where the previous picture and the currently playing picture are the loaded pictures, and the pre-playing pictures are the loaded pictures. The picture is...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More