/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline/ |
H A D | dcamera_pipeline_sink_test.cpp | 77 Videoformat::NV21, 82 Videoformat::NV21, 103 Videoformat::NV21, 108 Videoformat::NV21, 137 Videoformat::NV21, 142 Videoformat::NV21, 164 Videoformat::NV21, 169 Videoformat::NV21, 211 …VideoConfigParams vcParams(VideoCodecType::NO_CODEC, Videoformat::NV21, DCAMERA_PRODUCER_FPS_DEFAU… 216 VideoConfigParams vcParams1(VideoCodecType::NO_CODEC, Videoformat::NV21, -1, [all …]
|
H A D | dcamera_pipeline_source_test.cpp | 83 Videoformat::NV21, 104 Videoformat::NV21, 109 Videoformat::NV21, 137 Videoformat::NV21, 142 Videoformat::NV21, 163 Videoformat::NV21, 168 Videoformat::NV21,
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert.cpp | 76 … {std::make_pair(PixelFormat::RGB_888, PixelFormat::NV21), ImageFormatConvertUtils::RGBToNV21}, in __anonf075f8a20202() 133 {std::make_pair(PixelFormat::NV12, PixelFormat::NV21), ImageFormatConvertUtils::NV12ToNV21}, in __anonf075f8a20302() 139 {std::make_pair(PixelFormat::NV21, PixelFormat::NV12), ImageFormatConvertUtils::NV21ToNV12}, in __anonf075f8a20302() 181 {std::make_pair(PixelFormat::NV21, PixelFormat::NV12), ImageFormatConvertUtils::NV21ToNV12}, in __anonf075f8a20302() 227 {PixelFormat::NV21, PixelFormat::RGBA_1010102}, 304 bool ret = srcFormat == PixelFormat::NV21 || srcFormat == PixelFormat::NV12 || in IsYUVConvert() 401 case PixelFormat::NV21: in GetBufferSizeByFormat() 449 case PixelFormat::NV21: in IsSupport() 658 if ((srcFormat == PixelFormat::NV21 || srcFormat == PixelFormat::YCBCR_P010 || in YUVConvertImageFormatOption() 726 if (info.pixelFormat == PixelFormat::NV21 || info.pixelFormat == PixelFormat::NV12 || in MakeDestPixelMap() [all …]
|
H A D | image_format_convert_utils.cpp | 1216 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::RGB_565); 1223 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::RGB_888); 1237 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::RGBA_8888); 1251 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::BGRA_8888); 1265 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::RGBA_F16); 1279 return YuvToYuv(srcBuffer, yDInfo, PixelFormat::NV12, destInfo, PixelFormat::NV21); 1286 return YuvToYuv(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::NV12); 1293 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::RGB_888, destInfo, PixelFormat::NV21); 1307 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::RGB_565, destInfo, PixelFormat::NV21); 1321 return RGBToYuv(srcBuffer, rgbInfo, PixelFormat::RGBA_8888, destInfo, PixelFormat::NV21); [all …]
|
H A D | image_format_convert_ext_utils.cpp | 113 case PixelFormat::NV21: in I420ToYuv() 152 case PixelFormat::NV21: in YuvToI420() 302 if (srcParam.format == PixelFormat::NV21) { in YuvToRGBConverter() 480 case PixelFormat::NV21: in RGB10ToI420ToYuv() 1111 return YuvToI420ToI010ToP010(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, colorSpace); 1117 return YuvToI420ToI010ToP010(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, colorSpace); 1254 case PixelFormat::NV21: in RGBToYuvConverter() 1343 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::RGB_888); 1358 return YuvTo420ToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, colorSpace); 1373 return YuvToRGB(srcBuffer, yDInfo, PixelFormat::NV21, destInfo, PixelFormat::BGRA_8888); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline_node/ |
H A D | encode_data_process_test.cpp | 81 Videoformat::NV21, 106 Videoformat::NV21, 131 Videoformat::NV21, 156 Videoformat::NV21, 213 Videoformat::NV21, 245 Videoformat::NV21, 273 Videoformat::NV21, 301 Videoformat::NV21, 337 Videoformat::NV21, 365 Videoformat::NV21, [all …]
|
H A D | decode_data_process_test.cpp | 93 Videoformat::NV21, 119 Videoformat::NV21, 145 Videoformat::NV21, 174 Videoformat::NV21, 216 Videoformat::NV21, 249 Videoformat::NV21, 282 Videoformat::NV21, 341 Videoformat::NV21, 391 Videoformat::NV21, 426 Videoformat::NV21, [all …]
|
H A D | fps_controller_process_test.cpp | 81 Videoformat::NV21, 107 Videoformat::NV21, 132 Videoformat::NV21, 190 Videoformat::NV21, 222 Videoformat::NV21, 258 Videoformat::NV21, 303 Videoformat::NV21,
|
H A D | scale_convert_process_test.cpp | 71 Videoformat::NV21, 76 Videoformat::NV21, 388 Videoformat colorFormat = Videoformat::NV21; 410 colorFormat = Videoformat::NV21; 437 Videoformat::NV21, 442 Videoformat::NV21,
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageyuvconvert_fuzzer/src/ |
H A D | image_yuv_convert_fuzzer.cpp | 221 PixelFormat destFormat = PixelFormat::NV21; in RGB565ToNV21FuzzTest001() 232 PixelFormat destFormat = PixelFormat::NV21; in RGB565ToNV21FuzzTest002() 300 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToRGBFuzzTest001() 312 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToRGBFuzzTest002() 324 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToRGBAFuzzTest001() 336 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToRGBAFuzzTest002() 348 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToBGRAFuzzTest001() 360 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToBGRAFuzzTest002() 372 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToRGB565FuzzTest001() 384 PixelFormat srcFormat = PixelFormat::NV21; in NV21ToRGB565FuzzTest002() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_yuv_ext_test.cpp | 64 pixelYuvExt.imageInfo_.pixelFormat = PixelFormat::NV21; 85 pixelYuvExt.imageInfo_.pixelFormat = PixelFormat::NV21; 103 pixelYuvExt.imageInfo_.pixelFormat = PixelFormat::NV21; 123 pixelYuvExt.imageInfo_.pixelFormat = PixelFormat::NV21; 148 PixelFormat pixelFormat = PixelFormat::NV21; 180 pixelYuvExt.imageInfo_.pixelFormat = PixelFormat::NV21;
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.50/ |
H A D | changelogs-multimedia.md | 27 // 相机预览流返回NV21格式 30 srcPixelFormat: image.PixelMapFormat.NV21, 47 // 相机预览流返回NV21格式 51 srcPixelFormat: image.PixelMapFormat.NV21, 64 srcPixelFormat: image.PixelMapFormat.NV21, 70 srcPixelFormat: image.PixelMapFormat.NV21, 106 // 相机预览流返回NV21格式 196 // 相机预览流返回NV21格式 255 // 相机预览流返回NV21格式 356 // 相机预览流返回NV21格式 [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_format_convert_fail_test.cpp | 66 PixelFormat destFormat = PixelFormat::NV21; 75 destInfo.format = PixelFormat::NV21; 97 PixelFormat srcFormat = PixelFormat::NV21; 140 PixelFormat destFormat = PixelFormat::NV21; 159 PixelFormat srcFormat = PixelFormat::NV21; 179 PixelFormat srcFormat = PixelFormat::NV21; 202 PixelFormat destFormat = PixelFormat::NV21; 211 destInfo.format = PixelFormat::NV21;
|
H A D | image_format_convert_test.cpp | 108 case PixelFormat::NV21: in GetNamedPixelFormat() 788 PixelFormat srcFormat = PixelFormat::NV21; 799 PixelFormat srcFormat = PixelFormat::NV21; 810 PixelFormat srcFormat = PixelFormat::NV21; 821 PixelFormat srcFormat = PixelFormat::NV21; 832 PixelFormat srcFormat = PixelFormat::NV21; 843 PixelFormat srcFormat = PixelFormat::NV21; 854 PixelFormat srcFormat = PixelFormat::NV21; 1767 srcFormat = PixelFormat::NV21; 1783 destFormat = PixelFormat::NV21; [all …]
|
H A D | pixel_yuv_ext_utils_test.cpp | 48 PixelFormat pixelFormat = PixelFormat::NV21; 69 PixelFormat pixelFormat = PixelFormat::NV21; 172 auto format = PixelFormat::NV21;
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 28 {VideoPixelFormat::NV21, AV_PIX_FMT_NV21}, 57 pixFmt == VideoPixelFormat::NV21, in WriteYuvDataStride() 83 } else if ((pixFmt == VideoPixelFormat::NV12) || (pixFmt == VideoPixelFormat::NV21)) { in WriteYuvDataStride() 123 } else if (pixFmt == VideoPixelFormat::NV21 || pixFmt == VideoPixelFormat::NV12) { in WriteYuvData() 133 } else if ((pixFmt == VideoPixelFormat::NV12) || (pixFmt == VideoPixelFormat::NV21)) { in WriteYuvData() 247 case VideoPixelFormat::NV21: { in TranslateSurfaceFormat() 274 format == VideoPixelFormat::NV21); in IsYuvFormat()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_pixel_map_util.cpp | 67 case PixelFormat::NV21: in PixelFormatToDrawingColorType() 226 …return imageInfo.pixelFormat == Media::PixelFormat::NV21 || imageInfo.pixelFormat == Media::PixelF… in IsYUVFormat() 234 case Media::PixelFormat::NV21: in YUVPixelFormatToPlaneConfig() 245 case Media::PixelFormat::NV21: in YUVPixelFormatToSubSampling() 256 case Media::PixelFormat::NV21: in YUVPixelFormatToYUVColorSpace()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/video_surface_sink/ |
H A D | surface_sink_plugin.cpp | 47 {VideoPixelFormat::RGBA, VideoPixelFormat::NV12, VideoPixelFormat::NV21}); in SurfaceSinkRegister() 97 case VideoPixelFormat::NV21: in TranslatePixelFormat() 110 decodeOutputPixelFmt_(VideoPixelFormat::NV21), in SurfaceSinkPlugin() 159 decodeOutputPixelFmt_ == VideoPixelFormat::NV21) { in Prepare()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/ |
H A D | codeclist_mock.h | 118 static_cast<int32_t>(VideoPixelFormat::NV21), static_cast<int32_t>(VideoPixelFormat::RGBA)}; 185 static_cast<int32_t>(VideoPixelFormat::NV21), static_cast<int32_t>(VideoPixelFormat::NV21)};
|
/ohos5.0/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_utils.h | 32 NV21 = 2, enumerator
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | pixel_yuv_ext_utils.cpp | 43 {PixelFormat::NV21, AVPixelFormat::AV_PIX_FMT_NV21}, 90 } else if (pixelFormat == PixelFormat::NV21) { in BGRAToYuv420() 110 } else if (pixelFormat == PixelFormat::NV21) { in Yuv420ToBGRA() 282 } else if (yuvInfo.yuvFormat == PixelFormat::NV21) { in ScaleUVPlane() 298 } else if (yuvInfo.yuvFormat == PixelFormat::NV21) { in ScaleUVPlane() 318 } else if (yuvInfo.yuvFormat == PixelFormat::NV21) { in ScaleUVPlane()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/ |
H A D | command_parser.h | 24 NV21 = 1, enumerator
|
/ohos5.0/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | av_common.h | 43 NV21 = 3, enumerator
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_format.h | 23 NV21 = 1, enumerator
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | image_converter.cpp | 37 case Media::PixelFormat::NV21: in PixelFormatToSkColorType() 96 case Media::PixelFormat::NV21:
|