MCPcopy Create free account
hub / github.com/Tencent/libpag / Make

Method Make

android/libpag/src/main/java/org/libpag/PAGDecoder.java:44–46  ·  view source on GitHub ↗

Creates a new PAGDecoder with the specified PAGComposition, using the composition's frame rate and size. Please only keep an external reference to the PAGComposition if you need to modify it in the feature. Otherwise, the internal composition will not be released automatically after the associated d

(PAGComposition pagComposition)

Source from the content-addressed store, hash-verified

42 * PAGDecoder.
43 */
44 public static PAGDecoder Make(PAGComposition pagComposition) {
45 return Make(pagComposition, pagComposition.frameRate(), 1.0f);
46 }
47
48 /**
49 * Creates a PAGDecoder with a PAGComposition, a frame rate limit, and a scale factor for the

Callers 1

initDecoderMethod · 0.95

Calls 2

MakeFromMethod · 0.95
frameRateMethod · 0.45

Tested by

no test coverage detected