Home
last modified time | relevance | path

Searched refs:video (Results 1 – 25 of 160) sorted by relevance

1234567

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dvp8_decrypt_test.cc47 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()
Dkeyframe_test.cc35 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 …]
Ddecode_test_driver.cc28 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()
Dsvc_test.cc261 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 …]
Ddecode_perf_test.cc72 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()
Dencode_test_driver.cc20 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 …]
Dcpu_speed_test.cc33 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()
Ddatarate_test.cc43 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 …]
Daq_segment_test.cc33 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()
Dborders_test.cc31 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()
Dtest_vector_test.cc72 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()
Dactive_map_test.cc36 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()
Dvp9_thread_test.cc102 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()
Dvp9_lossless_test.cc70 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()
Derror_resilience_test.cc59 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()
Daltref_test.cc36 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument
38 if (video->frame() == 1) { in PreEncodeFrameHook()
60 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() local
62 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Dcq_test.cc45 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook() argument
47 if (video->frame() == 1) { in PreEncodeFrameHook()
87 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() local
89 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
100 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Dencode_test_driver.h112 void EncodeFrame(VideoSource *video, const unsigned long frame_flags);
115 void EncodeFrame(VideoSource *video) { in EncodeFrame() argument
116 EncodeFrame(video, 0); in EncodeFrame()
154 void EncodeFrameInternal(const VideoSource &video,
189 virtual void RunLoop(VideoSource *video);
198 virtual void PreEncodeFrameHook(VideoSource *video) {} in PreEncodeFrameHook() argument
199 virtual void PreEncodeFrameHook(VideoSource *video, Encoder *encoder) {} in PreEncodeFrameHook() argument
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderBase.cpp86 paramPortDefinitionInput.format.video.cMIMEType = NULL; // to be overridden in InitInputPort()
87 paramPortDefinitionInput.format.video.pNativeRender = NULL; in InitInputPort()
88 paramPortDefinitionInput.format.video.nFrameWidth = 176; in InitInputPort()
89 paramPortDefinitionInput.format.video.nFrameHeight = 144; in InitInputPort()
90 paramPortDefinitionInput.format.video.nStride = 0; in InitInputPort()
91 paramPortDefinitionInput.format.video.nSliceHeight = 0; in InitInputPort()
92 paramPortDefinitionInput.format.video.nBitrate = 64000; in InitInputPort()
93 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; in InitInputPort()
95 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; in InitInputPort()
96 …paramPortDefinitionInput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; // to be overri… in InitInputPort()
[all …]
DOMXVideoDecoderVP9Hybrid.cpp66 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; in InitInputPortFormatSpecific()
67 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; in InitInputPortFormatSpecific()
91 mGraphicBufferParam.graphicBufferColorFormat = def_output->format.video.eColorFormat; in ProcessorInit()
92 …mGraphicBufferParam.graphicBufferHStride = (def_output->format.video.nFrameWidth + VP9_YV12_ALIGN)… in ProcessorInit()
93 … mGraphicBufferParam.graphicBufferVStride = (def_output->format.video.nFrameHeight + 0x1f) & ~0x1f; in ProcessorInit()
94 mGraphicBufferParam.graphicBufferWidth = def_output->format.video.nFrameWidth; in ProcessorInit()
95 mGraphicBufferParam.graphicBufferHeight = def_output->format.video.nFrameHeight; in ProcessorInit()
96 mDecodedImageWidth = def_output->format.video.nFrameWidth; in ProcessorInit()
97 mDecodedImageHeight = def_output->format.video.nFrameHeight; in ProcessorInit()
175 mGraphicBufferParam.graphicBufferColorFormat = def_output->format.video.eColorFormat; in ProcessorReset()
[all …]
DOMXVideoDecoderVP9HWR.cpp204 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; in InitInputPortFormatSpecific()
205 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; in InitInputPortFormatSpecific()
504 if (widthCropped == paramPortDefinitionOutput.format.video.nFrameWidth && in HandleFormatChange()
505 heightCropped == paramPortDefinitionOutput.format.video.nFrameHeight) { in HandleFormatChange()
512 paramPortDefinitionInput.format.video.nFrameWidth = width; in HandleFormatChange()
513 paramPortDefinitionInput.format.video.nFrameHeight = height; in HandleFormatChange()
514 paramPortDefinitionInput.format.video.nStride = stride; in HandleFormatChange()
515 paramPortDefinitionInput.format.video.nSliceHeight = sliceHeight; in HandleFormatChange()
518 paramPortDefinitionOutput.format.video.nFrameWidth = widthCropped; in HandleFormatChange()
519 paramPortDefinitionOutput.format.video.nFrameHeight = heightCropped; in HandleFormatChange()
[all …]
DOMXVideoEncoderBase.cpp102 paramPortDefinitionInput.format.video.cMIMEType = (OMX_STRING)RAW_MIME_TYPE; in InitInputPort()
103 paramPortDefinitionInput.format.video.pNativeRender = NULL; in InitInputPort()
104 paramPortDefinitionInput.format.video.nFrameWidth = 176; in InitInputPort()
105 paramPortDefinitionInput.format.video.nFrameHeight = 144; in InitInputPort()
106 paramPortDefinitionInput.format.video.nStride = 0; in InitInputPort()
107 paramPortDefinitionInput.format.video.nSliceHeight = 0; in InitInputPort()
108 paramPortDefinitionInput.format.video.nBitrate = 64000; in InitInputPort()
109 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; in InitInputPort()
110 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; in InitInputPort()
111 paramPortDefinitionInput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in InitInputPort()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Utils.c70 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/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp251 m_sInPortDef.format.video.cMIMEType = "YUV420"; in component_init()
252 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; in component_init()
253 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT; in component_init()
254 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH; in component_init()
255 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT; in component_init()
256 m_sInPortDef.format.video.nBitrate = 64000; in component_init()
257 m_sInPortDef.format.video.xFramerate = 15 << 16; in component_init()
258 m_sInPortDef.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in component_init()
259 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in component_init()
277 m_sOutPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; in component_init()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_hevc.cpp237 m_sInPortDef.format.video.cMIMEType = (char *)"YUV420"; in component_init()
238 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; in component_init()
239 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT; in component_init()
240 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH; in component_init()
241 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT; in component_init()
242 m_sInPortDef.format.video.nBitrate = 64000; in component_init()
243 m_sInPortDef.format.video.xFramerate = 15 << 16; in component_init()
244 m_sInPortDef.format.video.eColorFormat = (OMX_COLOR_FORMATTYPE) in component_init()
246 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in component_init()
262 m_sOutPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; in component_init()
[all …]

1234567