Home
last modified time | relevance | path

Searched refs:imgVec (Results 1 - 5 of 5) sorted by relevance

/foundation/graphic/graphic_2d/frameworks/bootanimation/test/unittest/
H A Dboot_picture_player_test.cpp50 ImageStructVec imgVec; in HWTEST_F() local
52 EXPECT_EQ(player->ReadPicZipFile(imgVec, freq), true); in HWTEST_F()
107 ImageStructVec imgVec; in HWTEST_F() local
108 player->imageVector_ = imgVec; in HWTEST_F()
154 ImageStructVec imgVec; in HWTEST_F() local
155 player->imageVector_ = imgVec; in HWTEST_F()
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dutil.cpp195 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& imgVec, FrameRateConfig& frameConfig) in ReadZipFile() argument
229 if (!ReadImageFile(zipFile, name, imgVec, frameConfig, fileInfo.uncompressed_size)) { in ReadZipFile()
251 void SortZipFile(ImageStructVec& imgVec) in SortZipFile() argument
253 if (imgVec.size() == 0) { in SortZipFile()
257 sort(imgVec.begin(), imgVec.end(), [](std::shared_ptr<ImageStruct> image1, in SortZipFile()
262 bool ReadImageFile(const unzFile zipFile, const std::string& fileName, ImageStructVec& imgVec, in ReadImageFile() argument
296 CheckImageData(fileName, imageStruct, totalLen, imgVec); in ReadImageFile()
321 int32_t bufferLen, ImageStructVec& imgVec) in CheckImageData()
337 imgVec in CheckImageData()
320 CheckImageData(const std::string& fileName, std::shared_ptr<ImageStruct> imageStruct, int32_t bufferLen, ImageStructVec& imgVec) CheckImageData() argument
[all...]
H A Dboot_picture_player.cpp91 bool BootPicturePlayer::ReadPicZipFile(ImageStructVec& imgVec, int32_t& freq) in ReadPicZipFile() argument
94 ReadZipFile(GetPicZipPath(), imgVec, frameConfig); in ReadPicZipFile() local
95 int32_t imageNum = static_cast<int32_t>(imgVec.size()); in ReadPicZipFile()
101 SortZipFile(imgVec); in ReadPicZipFile()
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/
H A Dutil.h145 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& imgVec, FrameRateConfig& frameConfig);
147 void SortZipFile(ImageStructVec& imgVec);
149 bool ReadImageFile(const unzFile zipFile, const std::string& fileName, ImageStructVec& imgVec,
155 int32_t bufferLen, ImageStructVec& imgVec);
H A Dboot_picture_player.h38 bool ReadPicZipFile(ImageStructVec& imgVec, int32_t& freq);

Completed in 2 milliseconds