Home
last modified time | relevance | path

Searched refs:sliceHeight (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dvideodec_api11_sample.cpp115 int32_t sliceHeight = 0; in VdecAPI11FormatChanged() local
121 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged()
127 dec_sample->sliceHeight_ = sliceHeight; in VdecAPI11FormatChanged()
139 if (stride <= 0 || sliceHeight <= 0) { in VdecAPI11FormatChanged()
761 int32_t sliceHeight = 0; in CheckOutputDescription() local
769 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
776 if (stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription()
778 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
843 int32_t sliceHeight = 0; in GetStride() local
849 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in GetStride()
[all …]
H A Dvideodec_ndk_sample.cpp110 int32_t sliceHeight = 0; in VdecFormatChanged() local
116 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecFormatChanged()
122 dec_sample->sliceHeight_ = sliceHeight; in VdecFormatChanged()
135 if (stride <= 0 || sliceHeight <= 0) { in VdecFormatChanged()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dvideodec_api11_sample.cpp121 int32_t sliceHeight = 0; in VdecAPI11FormatChanged() local
127 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged()
133 dec_sample->sliceHeight_ = sliceHeight; in VdecAPI11FormatChanged()
145 if (stride <= 0 || sliceHeight <= 0) { in VdecAPI11FormatChanged()
749 int32_t sliceHeight = 0; in CheckOutputDescription() local
757 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
764 if (cropRight != expectCropRight || stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription()
766 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
830 int32_t sliceHeight = 0; in GetStride() local
836 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in GetStride()
[all …]
H A Dvideodec_ndk_sample.cpp113 int32_t sliceHeight = 0; in VdecFormatChanged() local
117 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecFormatChanged()
121 if (stride <= 0 || sliceHeight <= 0) { in VdecFormatChanged()
626 int32_t sliceHeight = 0; in CheckOutputDescription() local
634 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
641 if (cropRight != expectCropRight || stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription()
643 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_api11_sample.cpp111 int32_t sliceHeight = 0; in VdecAPI11FormatChanged() local
115 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged()
119 if (stride <= 0 || sliceHeight <= 0) { in VdecAPI11FormatChanged()
626 int32_t sliceHeight = 0; in CheckOutputDescription() local
634 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
641 if (cropRight != expectCropRight || stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription()
643 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/
H A Dimage_decoder.cpp328 int32_t sliceHeight = static_cast<int32_t>(def.format.video.nSliceHeight); in UpdateFormatFromSurfaceBuffer() local
329 if (ret == IC_ERR_OK && sliceHeight >= surfaceBuffer->GetHeight()) { in UpdateFormatFromSurfaceBuffer()
330 outputFormat_->SetValue(ImageCodecDescriptionKey::HEIGHT, sliceHeight); in UpdateFormatFromSurfaceBuffer()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhdecoder.cpp601 …int32_t sliceHeight = static_cast<int32_t>(static_cast<int64_t>(planes->planes[1].offset) / stride… in UpdateFormatFromSurfaceBuffer() local
602 …LOGI("[%dx%d][%dx%d]", surfaceBuffer->GetWidth(), surfaceBuffer->GetHeight(), stride, sliceHeight); in UpdateFormatFromSurfaceBuffer()
603 outputFormat_->PutIntValue(OHOS::Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight); in UpdateFormatFromSurfaceBuffer()
604 outputFormat_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, sliceHeight); in UpdateFormatFromSurfaceBuffer()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dvideodec_hdrvivid2sdr_unit_test.cpp200 int32_t sliceHeight = 0; in CheckFormatKey() local
208 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight)); in CheckFormatKey()
216 EXPECT_GE(sliceHeight, originalVideoHeight); in CheckFormatKey()
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/server/
H A Dcodec_server.cpp1450 int32_t sliceHeight = 0; in PostProcessingOnOutputFormatChanged() local
1451 if (format.GetIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight)) { in PostProcessingOnOutputFormatChanged()
1452 outputFormatChanged_.PutIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight); in PostProcessingOnOutputFormatChanged()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avcodec-kit/
H A D_codec_base.md2661 高跨距是指从Y平面顶部到U平面顶部必须偏移的行数。本质上,U平面的偏移量是sliceHeight \* stride。
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/
H A D_codec_base.md2924 …Y plane to the top of the U plane. Essentially, the offset of the U plane is sliceHeight \* stride.