Home
last modified time | relevance | path

Searched refs:newFormat (Results 1 - 7 of 7) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dvideodec_ndk_sample.cpp631 OH_AVFormat *newFormat = OH_VideoDecoder_GetOutputDescription(vdec_); in CheckOutputDescription() local
632 if (newFormat != nullptr) { in CheckOutputDescription()
641 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop); in CheckOutputDescription()
642 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in CheckOutputDescription()
643 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription()
644 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in CheckOutputDescription()
645 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
646 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
647 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
648 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGH in CheckOutputDescription()
[all...]
H A Dvideodec_api11_sample.cpp742 OH_AVFormat *newFormat = OH_VideoDecoder_GetOutputDescription(vdec_); in CheckOutputDescription() local
743 if (newFormat != nullptr) { in CheckOutputDescription()
752 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop); in CheckOutputDescription()
753 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in CheckOutputDescription()
754 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription()
755 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in CheckOutputDescription()
756 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
757 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
758 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
759 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGH in CheckOutputDescription()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_api11_sample.cpp619 OH_AVFormat *newFormat = OH_VideoDecoder_GetOutputDescription(vdec_); in CheckOutputDescription() local
620 if (newFormat != nullptr) { in CheckOutputDescription()
629 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop); in CheckOutputDescription()
630 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in CheckOutputDescription()
631 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription()
632 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in CheckOutputDescription()
633 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
634 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
635 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
636 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGH in CheckOutputDescription()
[all...]
H A Dvideodec_ndk_sample.cpp188 OH_AVFormat *newFormat = OH_VideoDecoder_GetOutputDescription(vdec_); in CheckOutputDescription() local
189 if (newFormat != nullptr) { in CheckOutputDescription()
192 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
193 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in CheckOutputDescription()
200 std::cout << "errCount newFormat == nullptr:" << errCount << std::endl; in CheckOutputDescription()
203 OH_AVFormat_Destroy(newFormat); in CheckOutputDescription()
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dvideodec_api11_sample.cpp754 OH_AVFormat *newFormat = OH_VideoDecoder_GetOutputDescription(vdec_); in CheckOutputDescription() local
755 if (newFormat != nullptr) { in CheckOutputDescription()
764 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop); in CheckOutputDescription()
765 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in CheckOutputDescription()
766 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription()
767 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in CheckOutputDescription()
768 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
769 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in CheckOutputDescription()
770 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
771 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGH in CheckOutputDescription()
[all...]
H A Dvideodec_ndk_sample.cpp692 OH_AVFormat *newFormat = OH_VideoDecoder_GetOutputDescription(vdec_); in CheckOutputDescription() local
693 if (newFormat != nullptr) { in CheckOutputDescription()
696 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
697 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in CheckOutputDescription()
703 std::cout << "errCount newFormat == nullptr: " << errCount << std::endl; in CheckOutputDescription()
706 OH_AVFormat_Destroy(newFormat); in CheckOutputDescription()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/
H A Dvideo_ffmpeg_decoder_plugin.cpp728 auto newFormat = ConvertPixelFormatToFFmpeg(pixelFormat_); in FillFrameBuffer() local
729 if (IsYuvFormat(newFormat)) { in FillFrameBuffer()
732 } else if (IsRgbFormat(newFormat)) { in FillFrameBuffer()

Completed in 10 milliseconds