OSDN Git Service

android-x86/hardware-intel-common-libva.git
10 years agoAdded new surface attributes to enable VA surface creation from external buffers.
Jonathan Bian [Thu, 6 Sep 2012 23:07:31 +0000 (16:07 -0700)]
Added new surface attributes to enable VA surface creation from external buffers.

10 years agoAdd RGB RT format definition for video process
Li,Xiaowei [Mon, 27 Aug 2012 00:47:33 +0000 (08:47 +0800)]
Add RGB RT format definition for video process

RGB format surface is required for color
space conversion from YUV to RGB.

signed-off-by: Li,Xiaowei <xiaowei.a.li@intel.com>

10 years agotpi: clean the old interface, and use new one
Austin Yuan [Wed, 25 Apr 2012 06:00:03 +0000 (23:00 -0700)]
tpi: clean the old interface, and use new one

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
10 years agoAdd new fourcc codes
Jonathan Bian [Tue, 24 Apr 2012 23:51:55 +0000 (16:51 -0700)]
Add new fourcc codes

Added fourcc codes for YV24 and YV32 (4:4:4 planar formats)

Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
10 years agova_TraceCreateSurface->va_TraceCreateSurfaces: correct name change
Austin Yuan [Thu, 1 Mar 2012 06:21:12 +0000 (22:21 -0800)]
va_TraceCreateSurface->va_TraceCreateSurfaces: correct name change

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
10 years agoAPI: add compat glue for older vaCreateSurfaces().
Gwenole Beauchesne [Mon, 2 Jan 2012 16:28:45 +0000 (17:28 +0100)]
API: add compat glue for older vaCreateSurfaces().

10 years agoAPI: add surface attributes.
Gwenole Beauchesne [Sun, 18 Dec 2011 22:50:25 +0000 (23:50 +0100)]
API: add surface attributes.

10 years agotest: update MPEG-2 encoding case
Xiang, Haihao [Tue, 21 May 2013 05:35:22 +0000 (13:35 +0800)]
test: update MPEG-2 encoding case

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotests: disable v4l demo for now.
Gwenole Beauchesne [Mon, 18 Mar 2013 21:18:49 +0000 (14:18 -0700)]
tests: disable v4l demo for now.

10 years agovaPutSurface test on Android: fix build isste on Android JB
Austin Yuan [Thu, 7 Mar 2013 02:52:11 +0000 (10:52 +0800)]
vaPutSurface test on Android: fix build isste on Android JB

Change-Id: Ibfb3d6a653f9af924422edb052e751b84015ffd0
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
10 years agoh264encode: fix build warning on Android
Austin Yuan [Thu, 7 Mar 2013 02:57:32 +0000 (10:57 +0800)]
h264encode: fix build warning on Android

Change-Id: Iee2886bde2362e75d7e1837211553d9672bba650
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
10 years agoh264encode: remove the leftover file h264encode_android.cpp
Austin Yuan [Tue, 5 Mar 2013 02:53:52 +0000 (10:53 +0800)]
h264encode: remove the leftover file h264encode_android.cpp

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
10 years agoh264encode: fix some issues
Elaine Wang [Tue, 5 Mar 2013 13:17:47 +0000 (21:17 +0800)]
h264encode: fix some issues

1. reference frame setting looks odd
2. fix the issue that the first 16 frames are encoded twice

Signed-off-by: Elaine Wang <elaine.wang@intel.com>
10 years agotest/h264encode: refine the h264encode to support advanced mode
Austin Yuan [Thu, 28 Feb 2013 06:28:14 +0000 (14:28 +0800)]
test/h264encode: refine the h264encode to support advanced mode

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
10 years agotest/putsurface_x11.c: don't hard code the DISPLAY to ":0.0"
Austin Yuan [Wed, 6 Feb 2013 03:28:59 +0000 (11:28 +0800)]
test/putsurface_x11.c: don't hard code the DISPLAY to ":0.0"

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
10 years agompeg2enc: find the proper profile and level
Xiang, Haihao [Fri, 7 Dec 2012 08:00:04 +0000 (16:00 +0800)]
mpeg2enc: find the proper profile and level

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Fix the picture header for B frame
Xiang, Haihao [Thu, 6 Dec 2012 08:13:35 +0000 (16:13 +0800)]
mpeg2enc: Fix the picture header for B frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Fix time_code_seconds in time_code
Xiang, Haihao [Thu, 6 Dec 2012 08:12:45 +0000 (16:12 +0800)]
mpeg2enc: Fix time_code_seconds in time_code

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: temporal_referenc and GOP header follow MPEG-2 Spec.
Xiang, Haihao [Thu, 6 Dec 2012 07:56:12 +0000 (15:56 +0800)]
mpeg2enc: temporal_referenc and GOP header follow MPEG-2 Spec.

temporal_reference is reset to zero at each group of pictures header

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Silence compiler warning
Xiang, Haihao [Thu, 6 Dec 2012 07:19:02 +0000 (15:19 +0800)]
mpeg2enc: Silence compiler warning

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode: Add -Wall option to default build flags
Xiang, Haihao [Thu, 6 Dec 2012 07:17:27 +0000 (15:17 +0800)]
test/encode: Add -Wall option to default build flags

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Simplify the mapping between display order and encoding order
Xiang, Haihao [Thu, 6 Dec 2012 07:15:07 +0000 (15:15 +0800)]
mpeg2enc: Simplify the mapping between display order and encoding order

mode 0:
D: IIIII...
E: IIIII...

mode 1:
D: IPPPP...
E: IPPPP...

mode 2:
D: IBBPBBPBBPBBPBBPIBBP...
E: IPBBPBBPBBPBBPBBIPBB...

B frame is supported now

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: set the frames between I and P frames
Xiang, Haihao [Wed, 5 Dec 2012 08:18:20 +0000 (16:18 +0800)]
mpeg2enc: set the frames between I and P frames

The default valude is 2

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: forward and backword referenc follow the picture type
Xiang, Haihao [Wed, 5 Dec 2012 08:15:32 +0000 (16:15 +0800)]
mpeg2enc: forward and backword referenc follow the picture type

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Remove the assertion for mode 1
Xiang, Haihao [Thu, 29 Nov 2012 02:02:28 +0000 (10:02 +0800)]
mpeg2enc: Remove the assertion for mode 1

P frame is supported now

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: f_code[s][t] follows the picture coding type
Xiang, Haihao [Thu, 29 Nov 2012 01:56:06 +0000 (09:56 +0800)]
mpeg2enc: f_code[s][t] follows the picture coding type

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: level and profile follow the user setting
Xiang, Haihao [Thu, 29 Nov 2012 01:37:44 +0000 (09:37 +0800)]
mpeg2enc: level and profile follow the user setting

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Options for profile and level
Xiang, Haihao [Thu, 29 Nov 2012 01:30:47 +0000 (09:30 +0800)]
mpeg2enc: Options for profile and level

--profile <0|1>   specify the profile 0(Simple), or 1(Main, default)
--level <0|1|2>   specify the level 0(Low), 1(Main, default) or 2(High)

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: enumerate mode type
Xiang, Haihao [Thu, 29 Nov 2012 01:11:39 +0000 (09:11 +0800)]
mpeg2enc: enumerate mode type

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: fix a typo
Xiang, Haihao [Thu, 29 Nov 2012 00:41:18 +0000 (08:41 +0800)]
mpeg2enc: fix a typo

s/patter/pattern

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Set default qp to 8
Xiang, Haihao [Wed, 28 Nov 2012 03:32:02 +0000 (11:32 +0800)]
mpeg2enc: Set default qp to 8

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Keep the packed data consistent with each parameters
Xiang, Haihao [Wed, 28 Nov 2012 00:27:41 +0000 (08:27 +0800)]
mpeg2enc: Keep the packed data consistent with each parameters

So update paramters before packing SPS/PPS data buffers

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: update time_code for the new GOP
Xiang, Haihao [Tue, 27 Nov 2012 08:24:07 +0000 (16:24 +0800)]
mpeg2enc: update time_code for the new GOP

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: update temporal_reference
Xiang, Haihao [Mon, 26 Nov 2012 08:16:00 +0000 (16:16 +0800)]
mpeg2enc: update temporal_reference

Insert a GOP header once temporal_reference is 0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Fix the period between I frames
Xiang, Haihao [Mon, 26 Nov 2012 08:05:38 +0000 (16:05 +0800)]
mpeg2enc: Fix the period between I frames

1 for mode 0, and 16 for mode 1 and mode 2. Also temporarily
assert mode 1 and mode 2

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: add --mode option to command line
Xiang, Haihao [Mon, 26 Nov 2012 08:00:37 +0000 (16:00 +0800)]
mpeg2enc: add --mode option to command line

Usage: --mode <0|1|2>
0 means I frames only
1 means I and P frames
2 means I, P and B frames

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: insert picture header for each picture
Xiang, Haihao [Mon, 26 Nov 2012 07:23:40 +0000 (15:23 +0800)]
mpeg2enc: insert picture header for each picture

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Fix top_field_first
Xiang, Haihao [Mon, 26 Nov 2012 03:12:22 +0000 (11:12 +0800)]
mpeg2enc: Fix top_field_first

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: f_code[s][t] takes the value 15 for I frame
Xiang, Haihao [Mon, 26 Nov 2012 03:05:57 +0000 (11:05 +0800)]
mpeg2enc: f_code[s][t] takes the value 15 for I frame

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: make sure start codes are byte aligned
Xiang, Haihao [Mon, 26 Nov 2012 02:55:55 +0000 (10:55 +0800)]
mpeg2enc: make sure start codes are byte aligned

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: VBV buffer size
Xiang, Haihao [Mon, 26 Nov 2012 02:15:27 +0000 (10:15 +0800)]
mpeg2enc: VBV buffer size

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: find the right frame_rate_code
Xiang, Haihao [Mon, 26 Nov 2012 01:54:59 +0000 (09:54 +0800)]
mpeg2enc: find the right frame_rate_code

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Update intra slice flag
Xiang, Haihao [Fri, 23 Nov 2012 02:39:14 +0000 (10:39 +0800)]
mpeg2enc: Update intra slice flag

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: Pass slice parameters in a group
Xiang, Haihao [Fri, 23 Nov 2012 02:36:34 +0000 (10:36 +0800)]
mpeg2enc: Pass slice parameters in a group

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agompeg2enc: A simple MPEG-2 encoder based on VA-API
Xiang, Haihao [Fri, 19 Oct 2012 02:56:09 +0000 (10:56 +0800)]
mpeg2enc: A simple MPEG-2 encoder based on VA-API

Support I frame firstly

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agoAdd the SEI segment for CBR mode to pass HRD test
Zhao Yakui [Mon, 24 Sep 2012 21:17:19 +0000 (17:17 -0400)]
Add the SEI segment for CBR mode to pass HRD test

Otherwise the encoded h264 video stream can't be parsed by HRD test software.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
10 years agoandroid: fix tests for Android ICS.
Haitao Huang [Tue, 21 Aug 2012 18:26:26 +0000 (13:26 -0500)]
android: fix tests for Android ICS.

Change-Id: I478063713883fbb5fb1fac372dbc418b19ff7d2b
Signed-off-by: Haitao Huang <haitao.huang@intel.com>
10 years agotest: add YUY2 support in loadsurface.h
Zhao Halley [Wed, 5 Sep 2012 09:23:20 +0000 (17:23 +0800)]
test: add YUY2 support in loadsurface.h

10 years agotest: refine loadsurface.h, conveninent for new format support
Zhao Halley [Wed, 5 Sep 2012 09:23:19 +0000 (17:23 +0800)]
test: refine loadsurface.h, conveninent for new format support

10 years agotest: fix an issue in loading YV12 surface
Zhao Halley [Wed, 5 Sep 2012 09:23:18 +0000 (17:23 +0800)]
test: fix an issue in loading YV12 surface

10 years agoavcenc: Fix constraint flag
Xiang, Haihao [Fri, 7 Sep 2012 08:52:22 +0000 (04:52 -0400)]
avcenc: Fix constraint flag

This fixes the issue that the output file can't be play correctly by mplayer.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/avcenc: link with -lpthread.
Zhao Yakui [Wed, 1 Aug 2012 19:52:56 +0000 (15:52 -0400)]
test/avcenc: link with -lpthread.

Otherwise it will complain during compiling:
usr/bin/ld: avcenc.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
10 years agotest/basic: update to new API.
Haitao Huang [Fri, 6 Jul 2012 11:38:56 +0000 (13:38 +0200)]
test/basic: update to new API.

Signed-off-by: Haitao Huang <haitao.huang@intel.com>
10 years agoVAEncXXXH264Baseline: start to drop VAEncXXXXBaseline
Austin Yuan [Wed, 25 Apr 2012 06:17:03 +0000 (23:17 -0700)]
VAEncXXXH264Baseline: start to drop VAEncXXXXBaseline

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
10 years agoAdded high profile support in SPS for avcenc.
Zhou Chang [Thu, 22 Mar 2012 07:41:10 +0000 (15:41 +0800)]
Added high profile support in SPS for avcenc.

10 years agoAndroid.mk: change Android Makefile accordingly
Austin Yuan [Thu, 1 Mar 2012 05:59:03 +0000 (21:59 -0800)]
Android.mk: change Android Makefile accordingly

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
10 years agotest: use the new H264 encoding and VPP interfaces
Xiang, Haihao [Thu, 16 Feb 2012 03:03:20 +0000 (11:03 +0800)]
test: use the new H264 encoding and VPP interfaces

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: Add HRD support in avcenc demo application.
Zhou Chang [Mon, 6 Feb 2012 15:52:26 +0000 (23:52 +0800)]
test/encode/avcenc: Add HRD support in avcenc demo application.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: support I420/YV12 format
Xiang, Haihao [Tue, 31 Jan 2012 08:24:30 +0000 (16:24 +0800)]
test/encode/avcenc: support I420/YV12 format

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: Add transform 8x8 support in test application.
Zhou Chang [Thu, 13 Oct 2011 07:10:00 +0000 (15:10 +0800)]
test/encode/avcenc: Add transform 8x8 support in test application.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest: use new interface for all test cases
Xiang, Haihao [Mon, 10 Oct 2011 05:13:59 +0000 (13:13 +0800)]
test: use new interface for all test cases

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: use kbps as fb input
Hai Lan [Thu, 25 Aug 2011 07:37:46 +0000 (15:37 +0800)]
test/encode/avcenc: use kbps as fb input

Signed-off-by: Hai Lan <hai.lan@intel.com>
10 years agotest/encode/avcenc: use new packed header interface
Xiang, Haihao [Fri, 29 Jul 2011 07:34:48 +0000 (15:34 +0800)]
test/encode/avcenc: use new packed header interface

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: Wait upload thread exiting before release driver resource.
Zhou Chang [Fri, 29 Jul 2011 01:15:10 +0000 (09:15 +0800)]
test/encode/avcenc: Wait upload thread exiting before release driver resource.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: Simplify the IPB pattern file upload
Zhou Chang [Wed, 27 Jul 2011 07:16:25 +0000 (15:16 +0800)]
test/encode/avcenc: Simplify the IPB pattern file upload

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: Fixed bug about B frame display order wrong.
Zhou Chang [Wed, 27 Jul 2011 06:44:32 +0000 (14:44 +0800)]
test/encode/avcenc: Fixed bug about B frame display order wrong.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agoavcenc: correct the description for the mode parameter
Hai Lan [Mon, 25 Jul 2011 07:07:57 +0000 (15:07 +0800)]
avcenc: correct the description for the mode parameter

Signed-off-by: Hai Lan <hai.lan@intel.com>
10 years agotest/encode/avcenc: close files
Xiang, Haihao [Fri, 8 Jul 2011 05:07:23 +0000 (13:07 +0800)]
test/encode/avcenc: close files

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: re-try until success
Xiang, Haihao [Thu, 7 Jul 2011 02:41:20 +0000 (10:41 +0800)]
test/encode/avcenc: re-try until success

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: upload YUV data in a thread
Xiang, Haihao [Tue, 5 Jul 2011 00:25:39 +0000 (08:25 +0800)]
test/encode/avcenc: upload YUV data in a thread

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: silence waring about implicit declaration
Xiang, Haihao [Mon, 4 Jul 2011 04:43:57 +0000 (12:43 +0800)]
test/encode/avcenc: silence waring about implicit declaration

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: postpone YUV data uploading
Xiang, Haihao [Mon, 4 Jul 2011 01:43:23 +0000 (09:43 +0800)]
test/encode/avcenc: postpone YUV data uploading

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: increase the times of trying after overflow
Xiang, Haihao [Fri, 1 Jul 2011 05:39:55 +0000 (13:39 +0800)]
test/encode/avcenc: increase the times of trying after overflow

Also unmap the coded buffer if overflow

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agoavcenc: use gettimeofday to calculate the FPS
Hai Lan [Fri, 1 Jul 2011 03:35:55 +0000 (11:35 +0800)]
avcenc: use gettimeofday to calculate the FPS

Signed-off-by: Hai Lan <hai.lan@intel.com>
10 years agotest/encode/avcenc: Fix bug of ignoring QP value
Hai Lan [Fri, 1 Jul 2011 02:32:19 +0000 (10:32 +0800)]
test/encode/avcenc: Fix bug of ignoring QP value

Signed-off-by: Hai Lan <hai.lan@intel.com>
10 years agotest/encode/avcenc: Fix a QP error in avcenc
Hai Lan [Thu, 30 Jun 2011 08:39:33 +0000 (16:39 +0800)]
test/encode/avcenc: Fix a QP error in avcenc

Signed-off-by: Hai Lan <hai.lan@intel.com>
10 years agotest/encode/avcenc: Add a parameter to set I/IP/IPB mode
Hai Lan [Thu, 30 Jun 2011 08:04:08 +0000 (16:04 +0800)]
test/encode/avcenc: Add a parameter to set I/IP/IPB mode

Signed-off-by: Hai Lan <hai.lan@intel.com
10 years agotest/encode/avcenc: Support continue B frames in test code.
Zhou Chang [Thu, 30 Jun 2011 08:15:52 +0000 (16:15 +0800)]
test/encode/avcenc: Support continue B frames in test code.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: use generic ExtType name in test case
Xiang, Haihao [Thu, 30 Jun 2011 07:44:23 +0000 (15:44 +0800)]
test/encode/avcenc: use generic ExtType name in test case

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: send packed PPS/SPS header to driver
Xiang, Haihao [Thu, 30 Jun 2011 02:41:25 +0000 (10:41 +0800)]
test/encode/avcenc: send packed PPS/SPS header to driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: Modify default direct mode.
Zhou Chang [Thu, 30 Jun 2011 02:07:24 +0000 (10:07 +0800)]
test/encode/avcenc: Modify default direct mode.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: use a small size for coded buffer.
Xiang, Haihao [Wed, 29 Jun 2011 12:54:46 +0000 (20:54 +0800)]
test/encode/avcenc: use a small size for coded buffer.

Must check the status of coded buffer, if overflow, enlarge the size
and try again.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: directly uses coded buffer size
Xiang, Haihao [Wed, 29 Jun 2011 05:33:05 +0000 (13:33 +0800)]
test/encode/avcenc: directly uses coded buffer size

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: directly save slice data
Xiang, Haihao [Wed, 29 Jun 2011 05:02:05 +0000 (13:02 +0800)]
test/encode/avcenc: directly save slice data

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: use trail data to calculate slice length
Xiang, Haihao [Wed, 29 Jun 2011 01:30:35 +0000 (09:30 +0800)]
test/encode/avcenc: use trail data to calculate slice length

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: don't generate slice header anymore
Xiang, Haihao [Tue, 28 Jun 2011 07:31:00 +0000 (15:31 +0800)]
test/encode/avcenc: don't generate slice header anymore

It is generated by driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: pass all parameters to driver
Xiang, Haihao [Tue, 28 Jun 2011 02:04:09 +0000 (10:04 +0800)]
test/encode/avcenc: pass all parameters to driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: use new buffer type to pass parameters
Xiang, Haihao [Mon, 20 Jun 2011 07:14:20 +0000 (15:14 +0800)]
test/encode/avcenc: use new buffer type to pass parameters

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: indentation fix
Xiang, Haihao [Mon, 20 Jun 2011 06:58:23 +0000 (14:58 +0800)]
test/encode/avcenc: indentation fix

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest/encode/avcenc: Add bit rate control/const qp mode in test code.
Zhou Chang [Tue, 14 Jun 2011 03:01:47 +0000 (11:01 +0800)]
test/encode/avcenc: Add bit rate control/const qp mode in test code.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: fix reading raw YUV file order bug.
Zhou Chang [Wed, 8 Jun 2011 07:24:04 +0000 (15:24 +0800)]
test/encode/avcenc: fix reading raw YUV file order bug.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: bug fixed: B frame stream can't be decoded by JM.
Zhou Chang [Tue, 7 Jun 2011 02:41:38 +0000 (10:41 +0800)]
test/encode/avcenc: bug fixed: B frame stream can't be decoded by JM.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agotest/encode/avcenc: Support B frame in MFC and VME.
Zhou Chang [Thu, 2 Jun 2011 08:47:09 +0000 (16:47 +0800)]
test/encode/avcenc: Support B frame in MFC and VME.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>
10 years agovainfo: silence compiler warning
Xiang, Haihao [Mon, 1 Aug 2011 00:41:37 +0000 (08:41 +0800)]
vainfo: silence compiler warning

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agovainfo: update vainfo for Video Proc Pipeline
Xiang, Haihao [Tue, 5 Jul 2011 07:46:55 +0000 (15:46 +0800)]
vainfo: update vainfo for Video Proc Pipeline

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
10 years agotest: rename H.264 encoding buffer structs with a Baseline suffix.
Gwenole Beauchesne [Fri, 4 Nov 2011 16:23:48 +0000 (17:23 +0100)]
test: rename H.264 encoding buffer structs with a Baseline suffix.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
10 years agova_trace.c: fix a wrong conditional check
Austin Yuan [Thu, 2 Aug 2012 10:24:20 +0000 (18:24 +0800)]
va_trace.c: fix a wrong conditional check

Should check trace_fp_codedbuf instead of trace_fp_log because
we write to trace_fp_codedbuf

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
10 years agovatrace: VAEncXXXH264Baseline: start to drop VAEncXXXXBaseline
Austin Yuan [Wed, 25 Apr 2012 06:17:03 +0000 (23:17 -0700)]
vatrace: VAEncXXXH264Baseline: start to drop VAEncXXXXBaseline

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
10 years agovatrace: trace H.264 encode parameters
Ermilov, Dmitry [Thu, 19 Apr 2012 00:50:34 +0000 (08:50 +0800)]
vatrace: trace H.264 encode parameters

Signed-off-by: Ermilov, Dmitry <dmitry.ermilov@intel.com>
10 years agovatrace: API: drop H.264 specific VA buffer types.
Gwenole Beauchesne [Wed, 9 Nov 2011 10:08:28 +0000 (02:08 -0800)]
vatrace: API: drop H.264 specific VA buffer types.

VAEncH264VUIBufferType and VAEncH264SEIBufferType were never used
in any driver. Besides, they are codec-specific which is against
the generic buffer type policy. A new scheme will be developed.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>