Home
last modified time | relevance | path

Searched refs:sliceHeight (Results 1 - 9 of 9) sorted by relevance

/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 in GetStride() local
[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()
/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 in GetStride() local
[all...]
H A Dvideodec_ndk_sample.cpp116 int32_t sliceHeight = 0; in VdecFormatChanged() local
120 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecFormatChanged()
124 if (stride <= 0 || sliceHeight <= 0) { in VdecFormatChanged()
638 int32_t sliceHeight = 0; in CheckOutputDescription() local
646 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
653 if (cropRight != expectCropRight || stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription()
655 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
/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()
/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()
/foundation/multimedia/av_codec/services/services/codec/server/
H A Dcodec_server.cpp1438 int32_t sliceHeight = 0; in PostProcessingOnOutputFormatChanged() local
1439 if (format.GetIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight)) { in PostProcessingOnOutputFormatChanged()
1440 outputFormatChanged_.PutIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight); in PostProcessingOnOutputFormatChanged()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhdecoder.cpp550 int32_t sliceHeight = static_cast<int32_t>(static_cast<int64_t>(planes->planes[1].offset) / stride); in UpdateFormatFromSurfaceBuffer() local
551 HLOGI("[%dx%d][%dx%d]", surfaceBuffer->GetWidth(), surfaceBuffer->GetHeight(), stride, sliceHeight); in UpdateFormatFromSurfaceBuffer()
552 outputFormat_->PutIntValue(OHOS::Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight); in UpdateFormatFromSurfaceBuffer()
553 outputFormat_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, sliceHeight); in UpdateFormatFromSurfaceBuffer()
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dvideodec_hdrvivid2sdr_unit_test.cpp201 int32_t sliceHeight = 0; in CheckFormatKey() local
209 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight)); in CheckFormatKey()
217 EXPECT_GE(sliceHeight, originalVideoHeight); in CheckFormatKey()

Completed in 15 milliseconds