Commit Graph
1076 Commits
Author SHA1 Message Date
wang-bin c19eb3fc4c no include ipp by default 2014-03-08 18:07:42 +08:00
wang-bin 5e3a9a6f28 pixel format in ffmpeg should be supported 2014-03-08 18:05:36 +08:00
wang-bin e7f57d4158 add hue in AVPlayer but not implemented now 2014-03-08 18:02:38 +08:00
wang-bin dc7fb28fbc player: no sws video eq for xv 2014-03-08 12:16:47 +08:00
wang-bin b8316a959e player: gpl v3 2014-03-08 12:11:35 +08:00
wang-bin b39f9fd5ba d2d: fix crash if an invalid frame comes 2014-03-07 22:54:04 +08:00
wang-bin 6f92ed1d6c decoded frame w/h use AVFrame's 2014-03-07 17:09:47 +08:00
wang-bin f7dfb25b6d xv: avoid frame copy when a frame received 2014-03-07 17:01:30 +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 d7a8227e62 xv: nv12 support 2014-03-06 23:47:02 +08:00
wang-bin 1b5d40e840 gl: always check QMatrix4x4 type and GLfloat 2014-03-06 22:10:09 +08:00
wang-bin 85e3dc16f0 gl: fix type mismatch in Qt4 with GLfloat. issue169 2014-03-06 19:01:42 +08:00
wang-bin d5bfd05894 xv: avoid flicker 2014-03-06 12:42:28 +08:00
wang-bin f23f1ded0f xv: clean up eq code 2014-03-06 12:24:04 +08:00
wang-bin 48c69ef46b xv: must swap uv. swap XvImage.offsets does not work(why?). so always
copy
2014-03-06 12:18:03 +08:00
wang-bin 8f467a6253 player: video eq ui for xv 2014-03-06 03:24:58 +08:00
wang-bin d589cb701c xv: video eq 2014-03-06 03:11:45 +08:00
wang-bin 2331f3297d xv: draw yuv 2014-03-06 02:26:33 +08:00
wang-bin a5e4e8d8d1 video capture clone the frame as soon as available to avoid crash. add
getImage.
2014-03-05 23:50:51 +08:00
wang-bin 4ed1ab3351 update video widget/item when video eq changed 2014-03-05 19:13:55 +08:00
wang-bin 249502380b player: wrong video eq value when switch between glsl and sws 2014-03-05 18:59:18 +08:00
wang-bin 53a2f46b8b color matrix was wrong. brightness is translation, contrast is scale 2014-03-05 18:15:07 +08:00
wang-bin 2217c3a26f gl: GL_BGRA may be not defined (Qt4) 2014-03-05 01:31:12 +08:00
wang-bin de792ce334 video capture supports yuv 2014-03-05 00:46:51 +08:00
wang-bin 6c53c9720d player: video eq control for glsl
bug: contrast not work for glsl. saturation is different.
2014-03-04 16:24:14 +08:00
wang-bin 90d5630d73 gl: implement video eq 2014-03-04 16:06:32 +08:00
wang-bin f2ea78e7f4 stupid mistake in contrast matrix 2014-03-04 16:05:11 +08:00
wang-bin e28506199d add brightness, contrast, hue, saturation api for VideoRenderer 2014-03-04 15:39:24 +08:00
wang-bin 95684d0e71 gl: add color transform uniform 2014-03-04 14:37:33 +08:00
wang-bin 350a83e95a build error if forward declare with QSharedDataPointer. don't know why 2014-03-04 14:34:39 +08:00
wang-bin 48bcec837e gl: only 1 tex loc for rgb 2014-03-04 13:51:29 +08:00
wang-bin 6eb702aead add missing var in HEAD~2 2014-03-03 21:41:23 +08:00
wang-bin dfe7db79bf player: add color space convertion option for glsl 2014-03-03 19:10:55 +08:00
wang-bin 01ab12ec64 user can force a preferred pixel format for renderer
format not supported: convert
support but force preferred pixel format: convert to preferred format if
different with incomming format
2014-03-03 19:09:02 +08:00
wang-bin bd7e78866f fix build error for qt4. qmath.h 2014-03-03 15:08:20 +08:00
wang-bin 0da27a2d66 add av_samples_copy for ffmpeg<1.0 2014-03-03 13:46:03 +08:00
wang-bin b21d0966fd issue161. fix QAVIOContext build error in FFmpeg 1.0.x. FFmpeg bug 2014-03-03 13:10:12 +08:00
wang-bin 650cbbf76e add helper class to get color transformation matrix 2014-03-03 02:13:42 +08:00
wang-bin ec97145cd1 gl: data type for bpp>1 (e.g. Hi10p). not working.
gles does not hav GL_LUMINANCE16 etc.
2014-03-03 00:03:21 +08:00
wang-bin 9ae2a38c8e add cpu usage logging script 2014-03-02 23:08:01 +08:00
wang-bin d8c98cbb90 send an invalid frame to renderers when video stop
renderers only stores frame data ptrs which is unsafe. maybe we can let
user choose what to display when video stopped.
2014-03-02 00:12:41 +08:00
wang-bin 433e7d78c2 gl: count effective texture width and fix wrong roi value 2014-03-01 17:22:26 +08:00
wang-bin 2cb6cfeb7a effective and padded line sizes for a video frame 2014-03-01 17:06:54 +08:00
wang-bin a4a4799708 player: fix crash on vo change. must set player's renderer first to
avoid rendering on deleted renderer
2014-03-01 02:33:05 +08:00
wang-bin 1f527ea8a6 if player has 1 renderer, no convertion for renderer supported formats 2014-03-01 02:31:34 +08:00
wang-bin 15e784699d api change: VideoRenderer add (set)preferredPixelFormat/isSupported 2014-03-01 00:48:03 +08:00
wang-bin e1a445a38b covenience static functions to check video format is rgb/planar 2014-03-01 00:45:00 +08:00
wang-bin aacd4f8755 gl: correct tex coord to avoid the useless bytes for alignment.
TODO:
still has a very thin line.
planeWidth() is wrong if planeCount() > channels()
2014-02-28 13:54:38 +08:00
wang-bin 6830d70074 gl: fix wrong texture size. no green lines.
BUG:
may be a green rect at right. check texture size and
frame.width*bytesOfGLFormat?
2014-02-28 02:34:35 +08:00