/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | vp8_decrypt_test.cc | 47 libvpx_test::IVFVideoSource video("vp80-00-comprehensive-001.ivf"); in TEST() local 48 video.Init(); in TEST() 53 video.Begin(); in TEST() 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); in TEST() 60 video.Next(); in TEST() 63 std::vector<uint8_t> encrypted(video.frame_size()); in TEST() 64 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0); in TEST() 69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size()); in TEST()
|
D | keyframe_test.cc | 35 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 38 frame_flags_ = (video->frame() % 3) ? 0 : VPX_EFLAG_FORCE_KF; in PreEncodeFrameHook() 39 if (set_cpu_used_ && video->frame() == 1) in PreEncodeFrameHook() 63 ::libvpx_test::RandomVideoSource video; in TEST_P() 64 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 76 ::libvpx_test::RandomVideoSource video; in TEST_P() 77 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 86 ::libvpx_test::DummyVideoSource video; in TEST_P() 87 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 99 ::libvpx_test::DummyVideoSource video; in TEST_P() [all …]
|
D | svc_test.cc | 261 libvpx_test::I420VideoSource video(test_file_name_, kWidth, kHeight, in TEST_F() local 264 video.Begin(); in TEST_F() 266 res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), in TEST_F() 267 video.duration(), VPX_DL_GOOD_QUALITY); in TEST_F() 288 libvpx_test::I420VideoSource video(test_file_name_, kWidth, kHeight, in TEST_F() local 292 video.Begin(); in TEST_F() 294 res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), in TEST_F() 295 video.duration(), VPX_DL_GOOD_QUALITY); in TEST_F() 305 video.Next(); in TEST_F() 307 res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), in TEST_F() [all …]
|
D | decode_test_driver.cc | 28 void DecoderTest::RunLoop(CompressedVideoSource *video) { in RunLoop() argument 34 for (video->Begin(); video->cxdata(); video->Next()) { in RunLoop() 35 PreDecodeFrameHook(*video, decoder); in RunLoop() 36 vpx_codec_err_t res_dec = decoder->DecodeFrame(video->cxdata(), in RunLoop() 37 video->frame_size()); in RunLoop() 45 DecompressedFrameHook(*img, video->frame_number()); in RunLoop()
|
D | encode_test_driver.cc | 20 void Encoder::EncodeFrame(VideoSource *video, const unsigned long frame_flags) { in EncodeFrame() argument 21 if (video->img()) in EncodeFrame() 22 EncodeFrameInternal(*video, frame_flags); in EncodeFrame() 37 void Encoder::EncodeFrameInternal(const VideoSource &video, in EncodeFrameInternal() argument 40 const vpx_image_t *img = video.img(); in EncodeFrameInternal() 46 cfg_.g_timebase = video.timebase(); in EncodeFrameInternal() 64 video.img(), video.pts(), video.duration(), in EncodeFrameInternal() 138 void EncoderTest::RunLoop(VideoSource *video) { in RunLoop() argument 160 for (again = true, video->Begin(); again; video->Next()) { in RunLoop() 161 again = (video->img() != NULL); in RunLoop() [all …]
|
D | decode_perf_test.cc | 72 libvpx_test::WebMVideoSource video(video_name); in TEST_P() local 73 video.Init(); in TEST_P() 82 for (video.Begin(); video.cxdata() != NULL; video.Next()) { in TEST_P() 83 decoder.DecodeFrame(video.cxdata(), video.frame_size()); in TEST_P() 89 const unsigned frames = video.frame_number(); in TEST_P()
|
D | datarate_test.cc | 43 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 45 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook() 136 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 147 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 164 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 175 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 275 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 277 if (video->frame() == 1) { in PreEncodeFrameHook() 281 if (video->frame() == 1) { in PreEncodeFrameHook() 286 frame_flags_ = SetFrameFlags(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() [all …]
|
D | cpu_speed_test.cc | 33 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 35 if (video->frame() == 1) { in PreEncodeFrameHook() 63 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 66 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 82 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 85 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 98 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 101 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
|
D | aq_segment_test.cc | 33 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 35 if (video->frame() == 1) { in PreEncodeFrameHook() 64 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 67 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 84 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 87 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 104 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 107 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
|
D | borders_test.cc | 31 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 33 if (video->frame() == 1) { in PreEncodeFrameHook() 59 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 62 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 75 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 78 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
|
D | active_map_test.cc | 36 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument 38 if (video->frame() == 1) { in PreEncodeFrameHook() 40 } else if (video->frame() == 3) { in PreEncodeFrameHook() 59 } else if (video->frame() == 15) { in PreEncodeFrameHook() 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, in TEST_P() 83 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
|
D | test_vector_test.cc | 72 libvpx_test::CompressedVideoSource *video = NULL; in TEST_P() local 76 video = new libvpx_test::IVFVideoSource(filename); in TEST_P() 78 video = new libvpx_test::WebMVideoSource(filename); in TEST_P() 80 video->Init(); in TEST_P() 87 ASSERT_NO_FATAL_FAILURE(RunLoop(video)); in TEST_P() 88 delete video; in TEST_P()
|
D | vp9_thread_test.cc | 102 libvpx_test::WebMVideoSource video(filename); in DecodeFile() local 103 video.Init(); in DecodeFile() 110 for (video.Begin(); video.cxdata(); video.Next()) { in DecodeFile() 112 decoder.DecodeFrame(video.cxdata(), video.frame_size()); in DecodeFile()
|
D | error_resilience_test.cc | 59 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video) { in PreEncodeFrameHook() argument 66 if (droppable_frames_[i] == video->frame()) { in PreEncodeFrameHook() 156 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() local 161 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 167 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 193 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() local 208 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 226 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
|
D | vp9_lossless_test.cc | 70 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() local 72 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P() 78 libvpx_test::Y4mVideoSource video("rush_hour_444.y4m", 0, 10); in TEST_P() local 81 cfg_.g_timebase = video.timebase(); in TEST_P() 89 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderBase.cpp | 78 paramPortDefinitionInput.format.video.cMIMEType = NULL; // to be overridden in InitInputPort() 79 paramPortDefinitionInput.format.video.pNativeRender = NULL; in InitInputPort() 80 paramPortDefinitionInput.format.video.nFrameWidth = 176; in InitInputPort() 81 paramPortDefinitionInput.format.video.nFrameHeight = 144; in InitInputPort() 82 paramPortDefinitionInput.format.video.nStride = 0; in InitInputPort() 83 paramPortDefinitionInput.format.video.nSliceHeight = 0; in InitInputPort() 84 paramPortDefinitionInput.format.video.nBitrate = 64000; in InitInputPort() 85 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; in InitInputPort() 87 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; in InitInputPort() 88 …paramPortDefinitionInput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; // to be overri… in InitInputPort() [all …]
|
D | OMXVideoDecoderVP9Hybrid.cpp | 63 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; in InitInputPortFormatSpecific() 64 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; in InitInputPortFormatSpecific() 317 int32_t stride = paramPortDefinitionOutput->format.video.nStride; in FillRenderBuffer() 318 int32_t height = paramPortDefinitionOutput->format.video.nFrameHeight; in FillRenderBuffer() 319 int32_t width = paramPortDefinitionOutput->format.video.nFrameWidth; in FillRenderBuffer() 430 if (widthCropped == paramPortDefinitionOutput.format.video.nFrameWidth && in HandleFormatChange() 431 heightCropped == paramPortDefinitionOutput.format.video.nFrameHeight) { in HandleFormatChange() 438 paramPortDefinitionInput.format.video.nFrameWidth = width; in HandleFormatChange() 439 paramPortDefinitionInput.format.video.nFrameHeight = height; in HandleFormatChange() 440 paramPortDefinitionInput.format.video.nStride = stride; in HandleFormatChange() [all …]
|
D | OMXVideoDecoderVP9HWR.cpp | 206 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; in InitInputPortFormatSpecific() 207 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; in InitInputPortFormatSpecific() 506 if (widthCropped == paramPortDefinitionOutput.format.video.nFrameWidth && in HandleFormatChange() 507 heightCropped == paramPortDefinitionOutput.format.video.nFrameHeight) { in HandleFormatChange() 514 paramPortDefinitionInput.format.video.nFrameWidth = width; in HandleFormatChange() 515 paramPortDefinitionInput.format.video.nFrameHeight = height; in HandleFormatChange() 516 paramPortDefinitionInput.format.video.nStride = stride; in HandleFormatChange() 517 paramPortDefinitionInput.format.video.nSliceHeight = sliceHeight; in HandleFormatChange() 520 paramPortDefinitionOutput.format.video.nFrameWidth = widthCropped; in HandleFormatChange() 521 paramPortDefinitionOutput.format.video.nFrameHeight = heightCropped; in HandleFormatChange() [all …]
|
D | OMXVideoEncoderBase.cpp | 101 paramPortDefinitionInput.format.video.cMIMEType = (OMX_STRING)RAW_MIME_TYPE; in InitInputPort() 102 paramPortDefinitionInput.format.video.pNativeRender = NULL; in InitInputPort() 103 paramPortDefinitionInput.format.video.nFrameWidth = 176; in InitInputPort() 104 paramPortDefinitionInput.format.video.nFrameHeight = 144; in InitInputPort() 105 paramPortDefinitionInput.format.video.nStride = 0; in InitInputPort() 106 paramPortDefinitionInput.format.video.nSliceHeight = 0; in InitInputPort() 107 paramPortDefinitionInput.format.video.nBitrate = 64000; in InitInputPort() 108 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; in InitInputPort() 109 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; in InitInputPort() 110 paramPortDefinitionInput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in InitInputPort() [all …]
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/ |
D | Android.mk | 15 include $(EXYNOS_OMX_COMPONENT)/video/dec/Android.mk 16 include $(EXYNOS_OMX_COMPONENT)/video/dec/h264/Android.mk 17 include $(EXYNOS_OMX_COMPONENT)/video/dec/mpeg4/Android.mk 18 include $(EXYNOS_OMX_COMPONENT)/video/dec/vp8/Android.mk 20 include $(EXYNOS_OMX_COMPONENT)/video/enc/Android.mk 21 include $(EXYNOS_OMX_COMPONENT)/video/enc/h264/Android.mk 22 include $(EXYNOS_OMX_COMPONENT)/video/enc/mpeg4/Android.mk
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/ |
D | Exynos_OMX_Vdec.c | 74 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth != in Exynos_UpdateFrameSize() 75 exynosInputPort->portDefinition.format.video.nFrameWidth) || in Exynos_UpdateFrameSize() 76 (exynosOutputPort->portDefinition.format.video.nFrameHeight != in Exynos_UpdateFrameSize() 77 exynosInputPort->portDefinition.format.video.nFrameHeight)) { in Exynos_UpdateFrameSize() 80 exynosOutputPort->portDefinition.format.video.nFrameWidth = in Exynos_UpdateFrameSize() 81 exynosInputPort->portDefinition.format.video.nFrameWidth; in Exynos_UpdateFrameSize() 82 exynosOutputPort->portDefinition.format.video.nFrameHeight = in Exynos_UpdateFrameSize() 83 exynosInputPort->portDefinition.format.video.nFrameHeight; in Exynos_UpdateFrameSize() 84 width = exynosOutputPort->portDefinition.format.video.nStride = in Exynos_UpdateFrameSize() 85 exynosInputPort->portDefinition.format.video.nStride; in Exynos_UpdateFrameSize() [all …]
|
D | Exynos_OMX_VdecControl.c | 622 …pInputPort->portDefinition.format.video.nFrameWidth = pInputPort->newPortDefinition.format.vid… in Exynos_ResolutionUpdate() 623 …pInputPort->portDefinition.format.video.nFrameHeight = pInputPort->newPortDefinition.format.vid… in Exynos_ResolutionUpdate() 624 …pInputPort->portDefinition.format.video.nStride = pInputPort->newPortDefinition.format.vid… in Exynos_ResolutionUpdate() 625 …pInputPort->portDefinition.format.video.nSliceHeight = pInputPort->newPortDefinition.format.vid… in Exynos_ResolutionUpdate() 1043 portFormat->eCompressionFormat = portDefinition->format.video.eCompressionFormat; in Exynos_OMX_VideoDecodeGetParameter() 1044 portFormat->eColorFormat = portDefinition->format.video.eColorFormat; in Exynos_OMX_VideoDecodeGetParameter() 1045 portFormat->xFramerate = portDefinition->format.video.xFramerate; in Exynos_OMX_VideoDecodeGetParameter() 1056 portFormat->xFramerate = portDefinition->format.video.xFramerate; in Exynos_OMX_VideoDecodeGetParameter() 1061 portFormat->xFramerate = portDefinition->format.video.xFramerate; in Exynos_OMX_VideoDecodeGetParameter() 1066 portFormat->xFramerate = portDefinition->format.video.xFramerate; in Exynos_OMX_VideoDecodeGetParameter() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Utils.c | 70 if ((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_CIF_WIDTH) || in VIDDEC_GetRMFrecuency() 71 … (OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_CIF_HEIGHT)) { in VIDDEC_GetRMFrecuency() 72 … if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) { in VIDDEC_GetRMFrecuency() 75 … else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) { in VIDDEC_GetRMFrecuency() 78 …else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4) { in VIDDEC_GetRMFrecuency() 79 … if ((OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_D1MAX_HEIGHT || in VIDDEC_GetRMFrecuency() 80 … (OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_D1MAX_WIDTH) in VIDDEC_GetRMFrecuency() 89 …else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) { in VIDDEC_GetRMFrecuency() 92 … else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingH263) { in VIDDEC_GetRMFrecuency() 105 …else if (((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth <= VIDDEC_CIF_WIDTH) && in VIDDEC_GetRMFrecuency() [all …]
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
D | Android.mk | 35 $(EXYNOS_OMX_COMPONENT)/video/dec \ 36 $(EXYNOS_OMX_COMPONENT)/video/enc \ 37 $(EXYNOS_OMX_TOP)/video/dec \ 38 $(EXYNOS_OMX_TOP)/video/enc \ 42 hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
D | Exynos_OMX_Venc.c | 61 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth != in Exynos_UpdateFrameSize() 62 exynosInputPort->portDefinition.format.video.nFrameWidth) || in Exynos_UpdateFrameSize() 63 (exynosOutputPort->portDefinition.format.video.nFrameHeight != in Exynos_UpdateFrameSize() 64 exynosInputPort->portDefinition.format.video.nFrameHeight)) { in Exynos_UpdateFrameSize() 67 exynosOutputPort->portDefinition.format.video.nFrameWidth = in Exynos_UpdateFrameSize() 68 exynosInputPort->portDefinition.format.video.nFrameWidth; in Exynos_UpdateFrameSize() 69 exynosOutputPort->portDefinition.format.video.nFrameHeight = in Exynos_UpdateFrameSize() 70 exynosInputPort->portDefinition.format.video.nFrameHeight; in Exynos_UpdateFrameSize() 71 width = exynosOutputPort->portDefinition.format.video.nStride = in Exynos_UpdateFrameSize() 72 exynosInputPort->portDefinition.format.video.nStride; in Exynos_UpdateFrameSize() [all …]
|