Commit Graph
29 Commits
Author SHA1 Message Date
wang-bin 1c875560ac surface interop support for video frame.
a video frame may be contains things on gpu, no host memory buffer, then
we may render the frame directly by converting the frame to renderer
supported hanle, such as gl texture
2014-06-24 01:20:43 +08:00
wang-bin 31e8c3592c audio frame copy 2014-06-21 22:27:02 +08:00
Sandro Cavazzoni 6bfe0b27fc A better return value for VideoFrame::displayAspectRatio 2014-05-01 15:18:26 +02:00
Sandro Cavazzoni d739cc27bd Rename VideoFrame::aspectRatio to VideoFrame::displayAspectRatio 2014-05-01 15:16:17 +02:00
Sandro Cavazzoni 4b76e67b9f Use the pixel aspect ratio for calculate the real aspect ratio 2014-04-29 22:24:43 +02:00
wang-bin cbb78a20aa add prefix QtAV to all include to avoid potential build error
why it happens? e.g. meego toolchain
2014-03-18 12:44:47 +08:00
wang-bin c94dbb8e4b build error for old ffmpeg.
avpicture_fill 2nd is not const in some versions.
2014-03-10 19:18:33 +08:00
wang-bin 529dc2767c data()=>constData() to avoid potential copy 2014-03-09 23:18:51 +08:00
wang-bin a1151eb8fc fix QByteArray out of bounds error in Qt4
call data() before shared is ok. otherwise the real data in may be
changed
2014-03-07 16:34:38 +08:00
wang-bin da1cb8e1ad fix VideoFrame clone error
memory allocated by ffmpeg may has the different size with the data to
copy
2014-03-07 13:46:38 +08:00
wang-bin de792ce334 video capture supports yuv 2014-03-05 00:46:51 +08:00
wang-bin 2cb6cfeb7a effective and padded line sizes for a video frame 2014-03-01 17:06:54 +08:00
wang-bin be8bec0a59 VideoFrame.init should be private 2014-02-24 00:28:05 +08:00
wang-bin 6bb0e6e07c initialize video frame's linesize and data ptrs in ctor 2014-02-23 21:04:51 +08:00
wang-bin 9b08e0c5b2 mark frame invalid if convert failed 2014-02-15 19:51:22 +08:00
wang-bin a9b083e0f1 return correct VideoFrame::planeCount
TODO:
resize ImageConverter.outPlanes()?
2014-02-12 10:18:56 +08:00
wang-bin f06677b38c VideoFrame create from QImage without deep copy 2013-12-25 23:48:01 +08:00
wang-bin b3d8a09570 const members 2013-12-19 11:22:25 +08:00
wang-bin a1bf623fd0 optimize frame copy
TODO: use sse(lavf, vlc...)
http://software.intel.com/en-us/articles/copying-accelerated-video-
2013-12-12 18:50:56 +08:00
wang-bin 27e939aeab add VideoFormat.chromaWidth/Height. allow Frame allocate and clone 2013-12-12 01:38:03 +08:00
wang-bin 4271013608 fix wrong pixel format init and wrong process in qpainter filter 2013-11-15 12:44:54 +08:00
wang-bin 094c66ac5c convenience functions for VideoFormat 2013-11-11 22:41:15 +08:00
wang-bin 70a810817a fix wrong video format. add image format 2013-11-10 14:47:06 +08:00
wang-bin 5673c164c9 use VideoFormat in VideoFrame. All parameters are computed by FFmpeg 2013-11-09 21:35:42 +08:00
wang-bin 81ed10da38 fix bpp error. add ffmpeg pixel format convertion 2013-11-02 22:44:06 +08:00
wang-bin db6616811b add videoframe api for gpu. fix compile error 2013-10-30 20:18:15 +08:00
wang-bin 02a83efede frame api and internal. special enum values to compute bpp fast. 2013-10-30 02:07:35 +08:00
wang-bin 1f70076dad fix compile error etc 2013-10-29 17:06:44 +08:00
wang-bin 2a2846e61b audio/video frame prototype. will be used in decoding/filter/rendering pipeline 2013-10-29 00:18:24 +08:00