Searched refs:outfmt (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | jpg_yuv_test.cpp | 633 opts.pixelFormat = outfmt; in YuvP010Crop() 675 opts.pixelFormat = outfmt; in YuvP010Rotate() 715 opts.pixelFormat = outfmt; in ScaleYuv420P010() 754 opts.pixelFormat = outfmt; in ResizeYuv420P010() 792 opts.pixelFormat = outfmt; in FlipYuv420P010() 835 opts.pixelFormat = outfmt; in TranslateYuv420P010() 873 opts.pixelFormat = outfmt; in RGBA1010102Crop() 1335 for (int i = 0; i < sizeof(outfmt) / sizeof(outfmt[0]); ++i) { 1350 for (int i = 0; i < sizeof(outfmt) / sizeof(outfmt[0]); ++i) 1621 for (int i = 0; i < sizeof(outfmt) / sizeof(outfmt[0]); ++i) { [all …]
|
H A D | heif_yuv_test.cpp | 44 void DecodeToFormat(std::string srcHeif, PixelFormat outfmt, int width, int height); 53 PixelFormat outfmt[] = { PixelFormat::NV12, PixelFormat::NV21}; in TestDecodeToSize() local 55 for (uint32_t j = 0; j < sizeof(outfmt) / sizeof(PixelFormat); j++) { in TestDecodeToSize() 63 DecodeToYuv(heifPath, outfmt[j], outname, outWidth, outHeight); in TestDecodeToSize() 83 decodeOpts.desiredPixelFormat = outfmt; in DecodeToFormat() 89 ASSERT_EQ(pixelMap->GetPixelFormat(), outfmt); in DecodeToFormat() 128 decodeOpts.desiredPixelFormat = outfmt; in DecodeToYuv() 140 ASSERT_EQ(pixelMap->GetPixelFormat(), outfmt); in DecodeToYuv() 207 PixelFormat outfmt[] = { PixelFormat::NV12, PixelFormat::NV21}; variable 209 for (uint32_t j = 0; j < sizeof(outfmt) / sizeof(PixelFormat); j++) { [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_yuv_decoder/ |
H A D | jpeg_yuv_decoder_test.cpp | 41 void DecodeToYUV(std::string srcjpg, int width, int height, JpegYuvFmt outfmt); 78 void JpgYuvDecoderTest::DecodeToYUV(std::string srcjpg, int width, int height, JpegYuvFmt outfmt) in DecodeToYUV() argument 102 outfmt, width, height }; in DecodeToYUV() 112 if (outfmt == JpegYuvFmt::OutFmt_YU12 || outfmt == JpegYuvFmt::OutFmt_YV12) { in DecodeToYUV()
|