profile/ivi/gstreamer-vaapi.git
11 years agoEnable encoders 2.0alpha-wayland accepted/2.0alpha-wayland/20130506.171502 submit/2.0alpha-wayland/20130506.082856
Zhao Halley [Mon, 6 May 2013 07:19:21 +0000 (15:19 +0800)]
Enable encoders

remove X dependency in encoder and refine its display creation

11 years agoupdate change log accepted/2.0alpha-wayland/20130429.171317 submit/2.0alpha-wayland/20130428.100432
Zhao Halley [Sun, 28 Apr 2013 09:59:27 +0000 (17:59 +0800)]
update change log

11 years agoupdate spec for wayland build
Zhao Halley [Sun, 28 Apr 2013 08:45:47 +0000 (16:45 +0800)]
update spec for wayland build

11 years agoremove codecparsers submodule check in autogen.sh
Zhao Halley [Mon, 18 Mar 2013 09:00:23 +0000 (17:00 +0800)]
remove codecparsers submodule check in autogen.sh

11 years agoinclude ext/codecparsers instead of git submodule
Zhao Halley [Sun, 28 Apr 2013 08:41:24 +0000 (16:41 +0800)]
include ext/codecparsers instead of git submodule

11 years agorebase to latest upstream code and use 2.0 packaging files first
Zhao Halley [Sun, 28 Apr 2013 07:36:21 +0000 (15:36 +0800)]
rebase to latest upstream code and use 2.0 packaging files first

11 years agoSet default va surface format to NV12
Zhao Halley [Sun, 28 Apr 2013 03:15:17 +0000 (11:15 +0800)]
Set default va surface format to NV12

when format is not specificed in vaCreateSurface, GenX video driver will
defer it to a later time. (it is not always default to NV12).
if this surface is used as dst surface for vpp (including vaPutImage),
the src surface/image format will be used as default. it is not our expectation
in most case (for example, upload camera data (YUY2) to vaSurface for encoding).
So, I try to set NV12 as default fourcc for vaSurface when it isn't explicitly said.

move default caps of surface pool generation to gstvaapiuploader.c,
so it can be shared between vaapisink and vaapiupload.

11 years agocompile: remove warnings of unused variables
Wind Yuan [Sat, 27 Apr 2013 07:20:11 +0000 (15:20 +0800)]
compile: remove warnings of unused variables

 Removed unsed variables in copy_image_YUY2.

11 years agoimage: fix bug of wrong rect check in copy_image
Wind Yuan [Sat, 27 Apr 2013 07:15:49 +0000 (15:15 +0800)]
image: fix bug of wrong rect check in copy_image

11 years agodownload: support hard copy image directly from surface
Wind Yuan [Fri, 26 Apr 2013 08:25:24 +0000 (16:25 +0800)]
download: support hard copy image directly from surface

 vaGetImage may involve data changes even with same format.
 Add property 'hardcopy' to force to derive image from
 surface and directly copy raw data.

11 years agoupload: fallback to prepare videobuffers for raw data
Wind Yuan [Wed, 24 Apr 2013 08:25:15 +0000 (16:25 +0800)]
upload: fallback to prepare videobuffers for raw data

 Upstream element may not call gst_pad_alloc_buffer for
 raw yuv format data even direct_rendering equal to 1.
 This is common case, vaapiupload still need to prepare
 videobuffers and ignore direct_rendering.

11 years agodownload: support convert surface to UYVY format
Wind Yuan [Wed, 24 Apr 2013 07:46:40 +0000 (15:46 +0800)]
download: support convert surface to UYVY format

 Correct YUY2/UYVY stride to GST_ROUND_UP_4(width * 2)
 Add new format GST_VAAPI_IMAGE_UYVY to gst_vaapi_image
 Implement UYVY copy_image same as YUY2

11 years agoadd help script to fix trailing-whitespace
Zhao Halley [Wed, 24 Apr 2013 09:07:40 +0000 (17:07 +0800)]
add help script to fix trailing-whitespace

cp .git-hooks-pre-commit .git/hooks/pre-commit

11 years agoRemove some helper func of GstVaapiVideoBuffer which is easy to leak memory
Zhao Halley [Wed, 24 Apr 2013 09:03:36 +0000 (17:03 +0800)]
Remove some helper func of GstVaapiVideoBuffer which is easy to leak memory

1. Remove functions in GstVaapiVideoBuffer:
      gst_vaapi_video_buffer_typed_new_with_image
      gst_vaapi_video_buffer_typed_new_with_surface
2. Remove functions in gstvaapipluginbuffer:
      gst_vaapi_video_buffer_new_with_image
      gst_vaapi_video_buffer_new_with_surface
3. Change to local/staic func in GstVaapiVideoBuffer to avoid misuse:
    gst_vaapi_video_buffer_set_image
    gst_vaapi_video_buffer_set_surface
4. gst_vaapi_video_buffer_typed_new_from_buffer is also problemtic,
   but not removed yet since it is still used by vaapiupload
5. gst_vaapi_video_buffer_typed_new_with_surface_proxy is problemtic,
   but not remove yet since it is used by a wacky de-interlace method
6. Add fourcc support in GstVaapiSurfacePool
7. update vaapiupload to use gst_vaapi_video_buffer_set_image_from_pool
8. update vaapisink _buffer_alloc since GstVaapiSurfacePool supports fourcc

11 years agoFix memory leak for vpp, refine code
Zhao Halley [Wed, 24 Apr 2013 09:02:35 +0000 (17:02 +0800)]
Fix memory leak for vpp, refine code

1. gst_vaapi_video_buffer_new_with_surface() leak memory,
    use gst_vaapi_video_buffer_new_from_pool instead.
2. since surface is created in gstvaapipostproc,
   remove width/height/format in gstvaapipostprocessing

11 years agodownload: support YUY2 surface to raw data
Wind Yuan [Wed, 24 Apr 2013 02:39:03 +0000 (10:39 +0800)]
download: support YUY2 surface to raw data

 Add new format GST_VAAPI_IMAGE_YUY2 to gst_vaapi_image.
 Add copy_image_YUY2 for direct retangle data copy.
 GstVaapiDisplay should append YUY2 format if hardware supports.

11 years agoFix the incorrect surface attached to buffer in VPP
Li Xiaowei [Mon, 22 Apr 2013 10:14:59 +0000 (18:14 +0800)]
Fix the incorrect surface attached to buffer in VPP

Attach src surface to dst buffer will wash out the
post processed surface in VPP. Remove this step to
fix the bug.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
11 years agocodecparsers: update to gst-vaapi-branch commit 0869e6e
zhongcong [Tue, 23 Apr 2013 10:45:12 +0000 (18:45 +0800)]
codecparsers: update to gst-vaapi-branch commit 0869e6e

0869e6e h264: modify gst_h264_parse_pps and make pps Quantizer matrices correct
682f98f h264: modify default Quantizer matrices

11 years agoRefine code for seek fix
Zhao Halley [Sat, 20 Apr 2013 07:54:16 +0000 (15:54 +0800)]
Refine code for seek fix

1. There are 'try_again' in two level
   The 1st one is (condition wait) wake up when a surface is available,
     in gstvaapidecode.c
   The 2nd one is (potentially) 'try_again' for the first time decode_step()
     when asking for a decoded video surface (gst_vaapi_decoder_get_surface).
     in gstvaapidecoder.c
2. The 1st one pass 'try_again' to the second one, not reverse. So:
   The 1st one needn't pass address of 'try_again' to the 2nd one.
   The 2nd one needn't check GST_VAAPI_DECODER_STATUS_ERROR_NO_SURFACE to
     set 'try_again'. it's the 1st's role and responsibility.

11 years agoUpdate fix for seek
Zhao Halley [Sat, 20 Apr 2013 07:35:53 +0000 (15:35 +0800)]
Update fix for seek

1. Use GST_EVENT_FLUSH_START to help decoder escape from waiting for
   an availabe surface; correspondingly, GST_EVENT_FLUSH_STOP disables
   such special exception.
2. Remove such escape by GST_STATE_CHANGE_PAUSED_TO_READY
   during seek, the status/event happens as following order:
   GST_STATE_CHANGE_PLAYING_TO_PAUSED -> GST_EVENT_FLUSH_START ->
   GST_EVENT_FLUSH_STOP -> GST_STATE_CHANGE_PAUSED_TO_PLAYING
3. Remove such escape by GST_EVENT_EOS.
   EOS is the symptom caused by no surface available, not the reason.
   I'm afraid the original code will miss some frames if EOS comes
   earlier than decoder finishes decoding the sent data.

11 years agodefunc _buffer_alloc when direct_rendering is not supported
Zhao Halley [Fri, 19 Apr 2013 11:06:51 +0000 (19:06 +0800)]
defunc _buffer_alloc when direct_rendering is not supported

When SW decoder request buffer to write to avoid additional memory copy,
it is NOT ok when SW decoder and HW renering have different stride for
the same video frame size (direct_rendering=0).

11 years agoFix memory leak when doing YUV data upload
Zhao Halley [Fri, 19 Apr 2013 08:10:22 +0000 (16:10 +0800)]
Fix memory leak when doing YUV data upload

Indirect set surface to video buffer will leak memory,
    - when video buffer is destroy, the surface is not returned back to surface pool.
    - gst_vaapi_video_buffer_set_surface_from_pool() is correct,
    - while the following is incorrect:
        surface = gst_vaapi_video_pool_get_object(priv->surfaces);
        gst_vaapi_video_buffer_set_surface(vbuffer, surface);

11 years agodo more check in _set_caps of vaapisink when _buffer_alloc is not called
Zhao Halley [Thu, 18 Apr 2013 11:49:42 +0000 (19:49 +0800)]
do more check in _set_caps of vaapisink when _buffer_alloc is not called

    in webkit video ogg stream, _buffer_alloc isn't called,
    do more check in _set_caps to initialized image/surface pool
    for uploading raw yuv frame to vaSurface

11 years agochange gstreamer-codecparser to git://gitorious.org/gst-plugins-vaapi/gstreamer-codec...
Wind Yuan [Thu, 18 Apr 2013 07:16:57 +0000 (15:16 +0800)]
change gstreamer-codecparser to git://gitorious.org/gst-plugins-vaapi/gstreamer-codecparsers.git

11 years agovaapiupload: reset direct-rendering to zero when changing caps.
Gwenole Beauchesne [Tue, 20 Nov 2012 17:21:41 +0000 (18:21 +0100)]
vaapiupload: reset direct-rendering to zero when changing caps.

Make sure to reset direct-rendering flag to zero when caps are changed,
and only derive it to one when the next checks succeed.

11 years agovaapiupload: fix sink caps to report the supported set of YUV caps.
Gwenole Beauchesne [Tue, 20 Nov 2012 13:42:24 +0000 (14:42 +0100)]
vaapiupload: fix sink caps to report the supported set of YUV caps.

Try to allocate the GstVaapiUploader helper object prior to listing the
supported image formats. Otherwise, only a single generic caps is output
with no particular pixel format referenced in there.

11 years agovaapiupload: use new GstVaapiUploader helper.
Zhao Halley [Tue, 20 Nov 2012 13:32:40 +0000 (14:32 +0100)]
vaapiupload: use new GstVaapiUploader helper.

Use GstVaapiUploader helper that automatically handles direct rendering
mode, thus making the "direct-rendering" property obsolete and hence it
is now removed.

The "direct-rendering" level 2, i.e. exposing VA surface buffers, was never
really well supported and it could actually trigger degraded performance.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agovaapisink: compute and expose the supported set of YUV caps.
Gwenole Beauchesne [Tue, 20 Nov 2012 14:50:56 +0000 (15:50 +0100)]
vaapisink: compute and expose the supported set of YUV caps.

Make vaapisink expose only the set of supported caps for raw YUV buffers.

Add gst_vaapi_uploader_get_caps() helper function to determine the set
of supported YUV caps as source (for images). This function actually
tries to zero and upload each image to a 64x64 test surface. Of course,
this relies on VA drivers to not claim success if vaPutImage() is not
correctly supported.

11 years agovaapisink: add support for raw YUV buffers.
Gwenole Beauchesne [Tue, 20 Nov 2012 13:28:55 +0000 (14:28 +0100)]
vaapisink: add support for raw YUV buffers.

Add new GstVaapiUploader helper to upload raw YUV buffers to VA surfaces.
It is up to the caller to negotiate source caps (for images) and output
caps (for surfaces). gst_vaapi_uploader_has_direct_rendering() is available
to help decide between the creation of a GstVaapiVideoBuffer or a regular
GstBuffer on sink pads.

Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agoimplemented Tizen customized message 'prepare-xid' for webkit-efl
Zhao Halley [Mon, 18 Mar 2013 09:14:48 +0000 (17:14 +0800)]
implemented Tizen customized message 'prepare-xid' for webkit-efl

 - it is similar to 'prepare-xwindow-id' message
 - with additional information required from app side (for pixmap creation):
   video-width, video-height, display-width, display-height

11 years agosupport renders to Pixmap for vaapisink
Zhao Halley [Mon, 18 Mar 2013 09:10:31 +0000 (17:10 +0800)]
support renders to Pixmap for vaapisink

 - supports render to Pixmap for vaapisink
 - supports multiple Pixmap with an array in vaapisink
 - add 'is-pixmap' attribute to vaapisink
 - reset sink->window when _stop

11 years agoAdd configure options for jpeg/mpeg4
Zhao Halley [Mon, 15 Apr 2013 01:16:39 +0000 (09:16 +0800)]
Add configure options for jpeg/mpeg4

some platforms may or may not support jpeg/mpeg4 decoder,
add configure options for these feature

11 years agoAdd RGB surface allocation supporting
Li Xiaowei [Tue, 16 Apr 2013 00:24:29 +0000 (08:24 +0800)]
Add RGB surface allocation supporting

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
11 years agovaapidecode: fix surface timeout error
Zhong Cong [Tue, 9 Apr 2013 08:33:03 +0000 (16:33 +0800)]
vaapidecode: fix surface timeout error

11 years agocompile: getenv need header of stdlib.h
Wind Yuan [Mon, 1 Apr 2013 08:38:59 +0000 (16:38 +0800)]
compile: getenv need header of stdlib.h

64-bit system need include <stdlib.h> first

11 years agoadd help scripts set-vaapi-env.sh for build vaapi packages
Zhao Halley [Mon, 1 Apr 2013 02:22:45 +0000 (10:22 +0800)]
add help scripts set-vaapi-env.sh for build vaapi packages

11 years agoh264encoder: sps and pps settings
Wind Yuan [Fri, 15 Mar 2013 08:52:51 +0000 (16:52 +0800)]
h264encoder: sps and pps settings

11 years agoh264encoder: calculate level_idc according pic size
Wind Yuan [Fri, 15 Mar 2013 07:48:38 +0000 (15:48 +0800)]
h264encoder: calculate level_idc according pic size

11 years agoencoder: simplify gst_vaapi_encoder buffer ref_count
Wind Yuan [Wed, 9 Jan 2013 02:02:11 +0000 (10:02 +0800)]
encoder: simplify gst_vaapi_encoder buffer ref_count

Prepare for other buffer types support, make buffer check simple

11 years agoencoder: split another thread to do encoded buffer wrapper
Wind Yuan [Mon, 24 Dec 2012 02:19:01 +0000 (10:19 +0800)]
encoder: split another thread to do encoded buffer wrapper

mmap driver buffer and scanning may cost long time,
these actions better to be done in another thread

11 years agoencoder: reduce locks and extract rendering function
Wind Yuan [Fri, 16 Nov 2012 05:07:27 +0000 (13:07 +0800)]
encoder: reduce locks and extract rendering function

some locks in gstvaapiencoder is not quite necessary

11 years agovaapidownload: fix frame rate to avoid assert issue in set_caps
Wind Yuan [Thu, 14 Mar 2013 05:45:20 +0000 (13:45 +0800)]
vaapidownload: fix frame rate to avoid assert issue in set_caps

11 years agovaapidownload: fix src caps format error
Wind Yuan [Wed, 13 Mar 2013 09:44:52 +0000 (17:44 +0800)]
vaapidownload: fix src caps format error

11 years agompeg2: fix set quant_table to driver error
zhongcong [Thu, 14 Mar 2013 09:31:00 +0000 (17:31 +0800)]
mpeg2: fix set quant_table to driver error

11 years agosupport H264 monochroma stream decoding
Li Xiaowei [Wed, 30 Jan 2013 06:21:36 +0000 (14:21 +0800)]
support H264 monochroma stream decoding

one workaround to help YUV400 pass the chroma
type check, actually the render surface is still set to
YUV420 mandatorily and the UV components are ignored.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
11 years agoh264: support process for gaps in frame_num
Wind Yuan [Thu, 28 Feb 2013 07:26:36 +0000 (15:26 +0800)]
h264: support process for gaps in frame_num

Follow 8.2.5.2 when frame_num is not equeal to
PreRefFrameNum and is not equal to
(PreRefFrameNum+1)%MaxFrameNum, there would be
"non-existing" picture "used for short-term reference".

11 years agoh264: remove reference if picture frame_num is same
Wind Yuan [Thu, 28 Feb 2013 08:06:13 +0000 (16:06 +0800)]
h264: remove reference if picture frame_num is same

11 years agoh264: fix reference list count less than num_ref
Wind Yuan [Wed, 30 Jan 2013 05:23:03 +0000 (13:23 +0800)]
h264: fix reference list count less than num_ref

Sometimes RefPicListX_count may be less than num_ref_idx_lX.
There's not enough reference pictures in dpb.

11 years agoh264: clear buffers on GST_EVENT_FLUSH_STOP
Wind Yuan [Fri, 30 Nov 2012 05:09:40 +0000 (13:09 +0800)]
h264: clear buffers on GST_EVENT_FLUSH_STOP

Change-Id: I4a9978a50bc6f6011f3ca037b9b9e8b295369b86

11 years agompeg2: clear buffers and PTSGenerator on GST_EVENT_FLUSH_STOP
Wind Yuan [Wed, 5 Dec 2012 07:04:25 +0000 (15:04 +0800)]
mpeg2: clear buffers and PTSGenerator on GST_EVENT_FLUSH_STOP

Change-Id: I7f7561805f9efd1513d5f1a04308c2b39ce986c8

11 years agovaapidecode: support seek actions
Wind Yuan [Fri, 30 Nov 2012 05:06:10 +0000 (13:06 +0800)]
vaapidecode: support seek actions

vaapidecode need clear all decoder's buffers when
GST_EVENT_FLUSH_STOP/GST_EVENT_NEWSEGMENT happened

Change-Id: I83606f6b619c4501b43bf868bc92787b670fab88

11 years agocodecparsers: update to gst-vaapi-branch commit b8efe57.
Gwenole Beauchesne [Tue, 5 Feb 2013 13:03:39 +0000 (14:03 +0100)]
codecparsers: update to gst-vaapi-branch commit b8efe57.

b8efe57 mpeg2: add helpers to convert quantization matrices
f8c2672 mpeg2: store quantization matrices in zigzag-order

11 years agorate_control: compatible with old libva versions
Wind Yuan [Wed, 23 Jan 2013 02:31:30 +0000 (10:31 +0800)]
rate_control: compatible with old libva versions

11 years agovaapipostproc: warn when framerate failed to be parsed.
Zhong Cong [Wed, 16 Jan 2013 06:17:50 +0000 (14:17 +0800)]
vaapipostproc: warn when framerate failed to be parsed.

11 years agomodify the DEBUG function name "vaapi_encoder_dump_bytes" to "gst_vaapi_encoder_dump_...
Zhong Cong [Mon, 24 Dec 2012 06:28:45 +0000 (14:28 +0800)]
modify the DEBUG function name "vaapi_encoder_dump_bytes" to "gst_vaapi_encoder_dump_bytes",because only symbols with the gst-vaapi_* prefix will be exported

11 years agoencoders: h263, mpeg4 change bitrate attributes to unit kbps
Wind Yuan [Mon, 5 Nov 2012 07:34:24 +0000 (15:34 +0800)]
encoders: h263, mpeg4 change bitrate attributes to unit kbps

11 years agoh264encoder: implement bitrate control for CBR and VBR
Wind Yuan [Mon, 5 Nov 2012 07:22:28 +0000 (15:22 +0800)]
h264encoder: implement bitrate control for CBR and VBR

11 years agodecoder context: rate_control unset to GST_VAAPI_RATECONTROL_NONE
Wind Yuan [Mon, 12 Nov 2012 09:04:07 +0000 (17:04 +0800)]
decoder context: rate_control unset to GST_VAAPI_RATECONTROL_NONE

11 years agoh264encoder: add rate-control attribute
Wind Yuan [Wed, 14 Nov 2012 08:35:48 +0000 (16:35 +0800)]
h264encoder: add rate-control attribute

encoder create context with special rate-control config

11 years agovaapicontext: support rate-control attribute
Wind Yuan [Fri, 2 Nov 2012 08:55:13 +0000 (16:55 +0800)]
vaapicontext: support rate-control attribute

encoder need rate-control on context creation

11 years agoencoder: h264 support multiple slices
Wind Yuan [Thu, 1 Nov 2012 07:27:32 +0000 (15:27 +0800)]
encoder: h264 support multiple slices

11 years agoencoder: PVR only need seq paramerter set once
Wind Yuan [Thu, 18 Oct 2012 09:58:04 +0000 (17:58 +0800)]
encoder: PVR only need seq paramerter set once

11 years agoconfigure.ac: check old/new h264 encoder API
Wind Yuan [Tue, 25 Sep 2012 07:37:43 +0000 (15:37 +0800)]
configure.ac: check old/new h264 encoder API

11 years agoencoder: h264 compatible with old libva by macro HAVE_OLD_H264_ENCODER
Wind Yuan [Tue, 25 Sep 2012 05:31:51 +0000 (13:31 +0800)]
encoder: h264 compatible with old libva by macro HAVE_OLD_H264_ENCODER

11 years agoencoder: align formats to gstreamer code style
Wind Yuan [Fri, 21 Sep 2012 09:03:35 +0000 (17:03 +0800)]
encoder: align formats to gstreamer code style

11 years agoencoder: reduce function parameters and change variable names
Wind Yuan [Thu, 20 Sep 2012 06:41:53 +0000 (14:41 +0800)]
encoder: reduce function parameters and change variable names

11 years agoencoders: remove encoders image upload and simplify parts code
Wind Yuan [Thu, 2 Aug 2012 07:29:05 +0000 (03:29 -0400)]
encoders: remove encoders image upload and simplify parts code

11 years agoh264 encoder: worked in staging branch
Wind Yuan [Mon, 30 Jul 2012 07:34:55 +0000 (03:34 -0400)]
h264 encoder: worked in staging branch

11 years agoh264 encoder: compiling passed with libva staging branch
Wind Yuan [Mon, 30 Jul 2012 02:03:08 +0000 (22:03 -0400)]
h264 encoder: compiling passed with libva staging branch

11 years agoencoder(h264,h263,mpeg4): changed styles, names
Wind Yuan [Fri, 20 Jul 2012 07:27:57 +0000 (03:27 -0400)]
encoder(h264,h263,mpeg4): changed styles, names

current h264 encoder works in branch of 'vaapiext' of libva/intel-driver in GEN platform.
other encoders(h263,mpeg4) only tested in pvr long ago.
encoder need be configured with '--enable-encoders' explicitly.

11 years agoh264encoder: auto-detect stream-format: avc/byte-stream by next linked-pad's caps
Wind Yuan [Thu, 21 Jun 2012 06:46:43 +0000 (14:46 +0800)]
h264encoder: auto-detect stream-format: avc/byte-stream by next linked-pad's caps

11 years agofix compile issue after rebase
Wind Yuan [Wed, 18 Jan 2012 11:02:43 +0000 (19:02 +0800)]
fix compile issue after rebase

11 years agoadd Intel Copyright
Wind Yuan [Thu, 22 Dec 2011 13:02:10 +0000 (21:02 +0800)]
add Intel Copyright

11 years agocompiling passed in for new vaapiencode
Wind Yuan [Thu, 22 Dec 2011 06:42:40 +0000 (14:42 +0800)]
compiling passed in for new vaapiencode

11 years agochange encoder log output format, support GST log
Wind Yuan [Tue, 29 Nov 2011 02:31:44 +0000 (10:31 +0800)]
change encoder log output format, support GST log

11 years agosupport B frames
Wind Yuan [Mon, 28 Nov 2011 06:17:52 +0000 (01:17 -0500)]
support B frames

11 years agoSupport h264encoder on SandyBridge platform(lots libva h264 encoding parameters changed)
Wind Yuan [Wed, 23 Nov 2011 07:04:42 +0000 (02:04 -0500)]
Support h264encoder on SandyBridge platform(lots libva h264 encoding parameters changed)

11 years agosupports mpeg4 encoder
Wind Yuan [Thu, 20 Oct 2011 07:24:30 +0000 (15:24 +0800)]
supports mpeg4 encoder

11 years agochange h264encoder.x to gstvaapih264encoder.x
Wind Yuan [Thu, 13 Oct 2011 07:32:22 +0000 (15:32 +0800)]
change h264encoder.x to gstvaapih264encoder.x

11 years agosupport h263 encoder(vah263encode) in mrst "gst-launch videotestsrc num-buffers=100...
Wind Yuan [Thu, 13 Oct 2011 07:17:54 +0000 (15:17 +0800)]
support h263 encoder(vah263encode) in mrst "gst-launch videotestsrc num-buffers=100 pattern=18 ! video/x-raw-yuv,format='(fourcc)'NV12,width=640,height=480,framerate=30/1 ! vaapiconvert ! vah263encode ! qtmux faststart=true ! filesink location=263.mp4"

11 years agoextract vaapiencoder structure to make other encoders possible
Wind Yuan [Mon, 10 Oct 2011 02:24:02 +0000 (10:24 +0800)]
extract vaapiencoder structure to make other encoders possible

11 years agosupport multiple h264 slices, auto calculate bitrate(=w*h*fps/4) add properties ...
Wind Yuan [Fri, 30 Sep 2011 06:33:44 +0000 (14:33 +0800)]
support multiple h264 slices, auto calculate bitrate(=w*h*fps/4) add properties : min-qp, slice-num

11 years agoadd properties in gsth264encode; profile, level,bitrate, intra-period, init-qp
Wind Yuan [Thu, 29 Sep 2011 14:08:26 +0000 (22:08 +0800)]
add properties in gsth264encode; profile, level,bitrate, intra-period, init-qp

11 years agovah264encode co-work with vaapiconvert passed "gst-launch videotestsrc ! video/x...
Wind Yuan [Tue, 27 Sep 2011 05:24:05 +0000 (13:24 +0800)]
vah264encode co-work with vaapiconvert passed "gst-launch videotestsrc ! video/x-raw-yuv,format='(fourcc)'NV12,width=1280,height=720,framerate=30/1 ! vaapiconvert ! vah264encode ! fakesink"

11 years agochange h264encoder
Wind Yuan [Mon, 19 Sep 2011 01:47:36 +0000 (09:47 +0800)]
change h264encoder

11 years agovaapiconvert: change direct-rendering=0 to vaPutImage and support YUY2 colorspace...
Wind Yuan [Thu, 5 Jan 2012 03:17:33 +0000 (11:17 +0800)]
vaapiconvert: change direct-rendering=0 to vaPutImage and support YUY2 colorspace to vaImage

11 years agoadd Intel Copyright
Wind Yuan [Thu, 22 Dec 2011 13:02:10 +0000 (21:02 +0800)]
add Intel Copyright

11 years agocompiling passed in 3.0 for vaapiencode
Wind Yuan [Thu, 22 Dec 2011 06:42:40 +0000 (14:42 +0800)]
compiling passed in 3.0 for vaapiencode

11 years agovaapiconvert support multiple YUV colorspace
Wind Yuan [Thu, 22 Dec 2011 06:41:42 +0000 (14:41 +0800)]
vaapiconvert support multiple YUV colorspace

11 years agoAdd FPS log print in vaapiencode
Wind Yuan [Fri, 9 Dec 2011 07:55:01 +0000 (15:55 +0800)]
Add FPS log print in vaapiencode

11 years agoUse config.h to vaapiencode
Wind Yuan [Wed, 7 Dec 2011 04:58:10 +0000 (12:58 +0800)]
Use config.h to vaapiencode

11 years agoadd fps caculation macro
Wind Yuan [Tue, 6 Dec 2011 01:19:56 +0000 (20:19 -0500)]
add fps caculation macro

11 years agosupport YUY2 convert to surface
Wind Yuan [Mon, 5 Dec 2011 06:23:10 +0000 (01:23 -0500)]
support YUY2 convert to surface

11 years agovaapiconvert: try directly copy buffer to derived surface first
Wind Yuan [Thu, 1 Dec 2011 18:07:31 +0000 (13:07 -0500)]
vaapiconvert: try directly copy buffer to derived surface first

11 years agochange encoder log output format, support GST log
Wind Yuan [Tue, 29 Nov 2011 02:31:44 +0000 (10:31 +0800)]
change encoder log output format, support GST log

11 years agosupport multiple threads for vaapivideopool
Wind Yuan [Tue, 29 Nov 2011 02:31:02 +0000 (10:31 +0800)]
support multiple threads for vaapivideopool

11 years agosupport raw-buffer directly converted to surface in vaapiconvert
Wind Yuan [Thu, 24 Nov 2011 08:35:09 +0000 (03:35 -0500)]
support raw-buffer directly converted to surface in vaapiconvert

11 years agoAdd context API <gst_vaapi_context_get_surface_pool>
Wind Yuan [Wed, 23 Nov 2011 07:01:30 +0000 (02:01 -0500)]
Add context API <gst_vaapi_context_get_surface_pool>

11 years agoadd h264encoder
Wind Yuan [Mon, 19 Sep 2011 01:47:36 +0000 (09:47 +0800)]
add h264encoder

11 years agocaps: vaapi doesn't need framerate
Wind Yuan [Wed, 12 Sep 2012 08:58:06 +0000 (04:58 -0400)]
caps: vaapi doesn't need framerate