/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | native_image.cpp | 50 uint64_t uvSize; member 80 if (vi >= data.uvSize || ui >= data.uvSize) { in YUV422SPDataCopy() 126 yuv.uvSize = static_cast<uint64_t>(height * uvStride); in SplitYUV422SPComponent() 127 if (surfaceSize < (yuv.ySize + yuv.uvSize * NUM_2)) { in SplitYUV422SPComponent() 129 " + uv plane %{public}" PRIu64, surfaceSize, yuv.ySize, yuv.uvSize * NUM_2); in SplitYUV422SPComponent() 134 NativeComponent* u = CreateComponent(int32_t(ComponentType::YUV_U), yuv.uvSize, uvStride, NUM_2, nullptr); in SplitYUV422SPComponent() 135 NativeComponent* v = CreateComponent(int32_t(ComponentType::YUV_V), yuv.uvSize, uvStride, NUM_2, nullptr); in SplitYUV422SPComponent() 188 data.uvSize = u->raw.size(); in CombineYUVComponents()
|
/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 119 int32_t uvSize = static_cast<int32_t>(scaleLineSize[1] * height / 2); // 2 in WriteYuvData() local 122 frameSize = ySize + (uvSize * 2); // 2 in WriteYuvData() 124 frameSize = ySize + uvSize; in WriteYuvData() 131 memory->Write(scaleData[1], uvSize); in WriteYuvData() 132 memory->Write(scaleData[2], uvSize); // 2 in WriteYuvData() 135 memory->Write(scaleData[1], uvSize); in WriteYuvData()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/video_sink/ |
H A D | sdl_video_sink_plugin.cpp | 396 int32_t uvSize = 0; in VideoImageDisaplay() local 397 ret = UpdateYUVTexture(data, lineSize, videoMeta, ySize, uvSize); in VideoImageDisaplay() 441 int32_t uvSize) const in UpdateYUVTexture() 447 uvSize = lineSize[1] * static_cast<int32_t>(AlignUp(pixelHeight_, 16)) / 2; // 2, 16 in UpdateYUVTexture() 449 data[2] = data[1] + uvSize; // 2 in UpdateYUVTexture()
|
H A D | sdl_video_sink_plugin.h | 99 int32_t ySize, int32_t uvSize) const;
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_post_process_blocks.h | 64 void PostProcessColorFringeBlock(in uint postProcessFlags, in vec4 chromaFactor, in vec2 uv, in vec2 uvSize, in PostProcessColorFringeBlock() argument 74 const vec2 uvDistToImageCenter = chroma * uvSize; in PostProcessColorFringeBlock()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/ |
H A D | video_ffmpeg_decoder_plugin.cpp | 650 size_t uvSize = static_cast<size_t>(scaleLineSize_[1] * height_ / 2); // 2 in WriteYuvData() local 653 frameSize = ySize + (uvSize * 2); // 2 in WriteYuvData() 655 frameSize = ySize + uvSize; in WriteYuvData() 662 frameBufferMem->Write(scaleData_[1], uvSize); in WriteYuvData() 663 frameBufferMem->Write(scaleData_[2], uvSize); // 2 in WriteYuvData() 666 frameBufferMem->Write(scaleData_[1], uvSize); in WriteYuvData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/ |
H A D | videodec_ndk_inner_sample.cpp | 572 uint32_t uvSize = size - DEFAULT_WIDTH * DEFAULT_HEIGHT; in ProcessOutputData() local 573 if (memcpy_s(cropBuffer + DEFAULT_WIDTH * DEFAULT_HEIGHT, uvSize, in ProcessOutputData() 574 buffer->GetBase() + DEFAULT_WIDTH * DEFAULT_HEIGHT, uvSize) != EOK) { in ProcessOutputData()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.h | 127 uint32_t uvSize = 0; member
|
H A D | mesh_builder.cpp | 1158 submesh.uvSize = sizeof(Math::Vec2) * submeshDesc.vertexCount; in SetVertexData() 1687 { vertexData_.data() + submesh.uvOffset, submesh.uvSize } }; in GenerateMissingAttributes() 1692 submesh.uvSize = static_cast<uint32_t>(vertexData_.size() - offset); in GenerateMissingAttributes() 1693 uvData.buffer = { vertexData_.data() + submesh.uvOffset, submesh.uvSize }; in GenerateMissingAttributes()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | jpg_yuv_test.cpp | 624 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); in YuvP010Crop() local 625 const size_t totalSize = (ySize + 2 * uvSize); in YuvP010Crop() 666 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); in YuvP010Rotate() local 667 const size_t totalSize = (ySize + 2 * uvSize); in YuvP010Rotate() 706 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); in ScaleYuv420P010() local 707 const size_t totalSize = (ySize + 2 * uvSize); in ScaleYuv420P010() 745 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); in ResizeYuv420P010() local 746 const size_t totalSize = (ySize + 2 * uvSize); in ResizeYuv420P010() 783 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); in FlipYuv420P010() local 784 const size_t totalSize = (ySize + 2 * uvSize); in FlipYuv420P010() 826 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); TranslateYuv420P010() local [all...] |
H A D | image_format_convert_test.cpp | 270 int32_t uvSize = ((imageSize.width + 1) / NUM_2) * ((imageSize.height + 1) / NUM_2); in YuvP010ConvertToRgb() local 271 const size_t totalSize = (ySize + NUM_2 * uvSize); in YuvP010ConvertToRgb() 489 int32_t uvSize = ((imageSize.width + 1) / NUM_2) * ((imageSize.height + 1) / NUM_2); in GetOrignData() local 490 const size_t totalSize = (ySize + NUM_2 * uvSize); in GetOrignData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 738 uint32_t uvSize = size - DEFAULT_WIDTH * DEFAULT_HEIGHT; in ProcessOutputData() local 739 if (memcpy_s(cropBuffer + DEFAULT_WIDTH * DEFAULT_HEIGHT, uvSize, in ProcessOutputData() 740 OH_AVMemory_GetAddr(buffer) + DEFAULT_WIDTH * DEFAULT_HEIGHT, uvSize) != EOK) { in ProcessOutputData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
H A D | videodec_api11_sample.cpp | 753 uint32_t uvSize = size - DEFAULT_WIDTH * DEFAULT_HEIGHT; in ProcessOutputData() local 754 if (memcpy_s(cropBuffer + DEFAULT_WIDTH * DEFAULT_HEIGHT, uvSize, in ProcessOutputData() 755 OH_AVBuffer_GetAddr(buffer) + DEFAULT_WIDTH * DEFAULT_HEIGHT, uvSize) != EOK) { in ProcessOutputData()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/ |
H A D | video_ffmpeg_encoder_plugin.cpp | 417 int32_t uvSize = cachedFrame_->linesize[1] * AlignUp(cachedFrame_->height, DEFAULT_ALIGN) / 2; // 2 in FillAvFrame() local 421 cachedFrame_->data[2] = cachedFrame_->data[1] + uvSize; // 2: plane 2 in FillAvFrame()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageyuvconvert_fuzzer/src/ |
H A D | image_yuv_convert_fuzzer.cpp | 273 int32_t uvSize = ((imageSize.width + 1) / NUM_2) * ((imageSize.height + 1) / NUM_2); in YuvP010ConvertToRgb() local 274 const size_t totalSize = (ySize + NUM_2 * uvSize); in YuvP010ConvertToRgb()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_map_test.cpp | 2532 int32_t uvSize = ((imageSize.width + 1) / 2) * ((imageSize.height + 1) / 2); // 2: Addapting to size in HWTEST_F() local 2533 const size_t totalSize = (ySize + 2 * uvSize); in HWTEST_F()
|