KitWang Tong

Hi All,

We have a PXA270 + 2700G development platform on hand with using WinCE 5 OS, and we are going to build a video decoding application on this platform. We knew the 2700G has the acceleration ability for the color converting, video decoding, and scaling operations, but what APIs we should use in order to enable these accelerations DirectX or GameAPI or others or Is there any library we should download first

Thanks in advance!

Cheers,

KW Tong



Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

Michael Koster

Hi KK Tong

Provided that the display driver for your development platform has a DirectX enabled driver (implementing the hardware accelerations using the 2700G chip) - you'd be using the normal DirectX APIs.

I'd higly recommend that you do check the availability of the (orginally Intel) 2700G chip. I could not find the documentation on the Intel site anymore. Either Intel discontinued the chip or sold the design.

Hope this makes sens

Michael






Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

AlexFeinman

AFAIK Intel sold this to Marvell, who is not doing a very good job supporting developers (but they do have a pretty web site).

Since neither Intel nor Marvell builds the actual hardware boards, the right way to go about it would be to ask the board manufacturer. E.g. the PXA270 board from Compulab that I have, comes with BSP that contains DirectX and DirectDraw support for 2700G. Some of the PPC devices shipped with 2700G have DX and DDraw support as well.

There is no sense in trying to uncover some Processor-specific APIs when the DX/DDraw are available.






Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

KitWang Tong

Hi Michael and Alex,

Thank you very much for your replies.

It is the reason why I asked here for help. I just can't found any related information either in Intel's or in Marvell's web site. V_V

Yes, we are using the Compulab's one. When we received the hardware, the WinCE 5 OS has already been loaded. I'm not sure whether the display driver in the OS is DirectX enabled or not. Is there any way to check

Regarding in the BSP, we have this package. But we don't which folder contains the 2700G driver Can we build the 2700G driver only and replace the OS's one or We need to build and replace the whole OS's image

BTW, AFAIK the DirectDraw's API can help for drawing and scaling the video frames only. How about the video decoding and color converting acceleration abilities Which APIs we should use

Thanks in advance!

Cheers,

KW Tong





Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

KitWang Tong

BTW, Is there any sample source code for demonstrating on how to use DirectDraw on WinCE 5.0 and, Is there any SDK (something like Window Mobile SDK 6...) we need to installed before building a DirectDraw application Thanks.

*** The compiler we used is eMbedded Visual C++ 4.0 and the OS version is Microsoft Window CE V5.00 (build 0 on Jan 1 2007)

Cheers,

KW Tong





Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

Michael Koster

Hi KW Tong

On option to check isIf the OS contains the files ddraw.dll and ddcore.dll - you'll have DirectDraw support included.

There are also two tools called dxview (DirectX capabilities viewer) and ddcaps (DirectDraw capabilities viewer).

These Tools are usually not included in an OS image - they're only abailable in the release directory on the development workstations. To build these tools: create and build an OS design with DirectX support.

The 2700G drivers should be located in the directories under <BSP-ROOT>\SRC\DRIVERS\Marathon

For Video decoding: I'd consider using DirectShow.

There used to be an Intel tool called Graphics Performance Primitives (GPP) and the 'Intel Performance Primitives' (IPP) providing base services for these kind of applications.

To get them, you'd have to contact Marvell (http://www.marvell.com/contact/index.jsp)

Cheers

Michael






Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

Michael Koster

Yes there are samples shipped with Platform Builder 5.0: look under <WINCEROOT>\PUBLIC\DIRECTX\SDK\SAMPLES

There is no separate SDK (like on the desktop) for DirectX - the required files are included in the SDK your hardware vendor shoiuld ship with the installed OS on the device.

If you did not get this SDK,. I'd contact the vendor and ask for an SDK.

Cheers

Michael






Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

KitWang Tong

Hi Michael,

Thank you very much again. Your information is very helpful !

Could we download the Platform Builder 5.0 on the Internet or, should we contact the vendor for getting this um... Is it necessary to install the Window Mobile SDK 6 too It seems that it contains a lot development information about the Windows CE.

Actaully, we have something obtained from Compulab, they are x270-wince5-sdk, x270-wince5-img, and x270-wince5-drv(BSP). Is x270-wince5-sdk the SDK you mentioned in above

Cheers,

KW Tong





Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

Michael Koster

Hi KW Tong

No - Platform Builder 5.0 is no longer available as trial download. I'd contact either the hardware vendor or a autorized embedded license vendor.

Yes - he x270-wince5-sdk is the SDK you need to do application development using the installed OS.

Cheers

Michael






Re: Smart Devices Native C++ Development APIs for the 2700G Acceleration?

KitWang Tong

Hi Michael,

I got it. Thank you very much.

Cheers,

KW Tong