1. It's intentionally "golden C" - should compile for _many_ targets,
including C64P, ARM, x86 Linux, and others. In your use case, it's "the
DSP side codec" of the video_copy/dual_cpu example.
2. It builds using the XDC tools, which supports Linux and Windows.
There are no CCStudio .pjt files provided because CCS doesn't support
all our "golden" targets.
3. The VISA APIs are supported in many environments; including ARM, and
DSP. Where you call them depends on how you structure your application.
In this video_copy example, the application runs on the ARM, and codecs
are "remote" and run on the DSP. As such, the application calls these
from the ARM side.
A confusing point is when the application runs on the DSP side, or if
your device is a DSP-only (or ARM-only) device. In those cases, the
VISA calls are made from "the app processor"... which is equivalent to
"the codec processor". CE's quite flexible, which makes it a tough to
explain sometimes(!).
4. VISA APIs (question 3) are APIs which the app sees. The APIs you
mention in #4 below are a particular codec's implementation of the xDM
APIs spec - they're codec APIs. The CE framework implements the
app-side APIs in a way that results in calling the xDM APIs. There's
some magic, in that these xDM codecs can run on either the DSP or the
ARM; the decision _where_ is handled during the application's
configuration step (app.cfg), and the application's source codec doesn't
really know where the codec runs.
Chris
________________________________
From: yoni l [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 14, 2007 12:59 AM
To: Ring, Chris
Subject: Re: codec engine
Hi Chris,
1. Does the examples\codecs\viddec_copy\ directory
is a DSP source?
2. Does is compile under Linux or CCstudio?
3. In the ceapp.c file under dualcpu directory its
uses the VIDENC_create VIDENC_control and VIDENC_process functions, does
these function should run on DSP side?
4. In the examples\codecs\viddec_copy\
viddec_copy.c file I saw the following functions VIDENCCOPY_TI_process
and VIDENCCOPY_TI_control. How these functions are related to the
function that in question 3?
Thanks.
2007/1/14, Ring, Chris <[EMAIL PROTECTED]>:
Per this particular request, the "copy" codec sources
_are_ provided with Codec Engine. Look in examples/codecs/viddec_copy
and videnc_copy directories. These "copy codecs" simply copy the input
buffers into the output buffers. They're useful for getting started,
and can often be used by the application developers while the "real"
codecs are being developed.
The video_copy "server" (or DSP image) containing these
codecs for the video_copy example app is provided in the Codec Engine
product's examples/servers/video_copy directory. That directory
provides an example for configuring and building a server.
You may also want to refer to the Server Integrator
User's Guide, provided with the Codec Engine product, and also available
online here:
http://focus.ti.com/lit/ug/sprued5/sprued5.pdf
Chris
________________________________
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Maughan, Thomas
Sent: Thursday, January 11, 2007 2:29 PM
To: yoni l;
[email protected]
Subject: RE: codec engine
If you have purchased a DVEVM and have a board
serial number, then you can access the DSP side content (no 64x+ DSP
compiler) from www.ti.com/dvevmupdates.com
Not all DSP content comes with source code -
DSP/BIOS, codecs are configurable binary.
If you purchase a DVSDK then you get first class
treatment, access to the MontaVista Zone, dvevmupdates site, and ARM and
DSP content WITH compiler.
Regards,
Thom
________________________________
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] ] On
Behalf Of yoni l
Sent: Thursday, January 11, 2007 10:19 AM
To:
[email protected]
Subject: codec engine
Hi all,
I'm new with TI da-vinci DSP and I now learning
how to create codec engine.
I saw the example of the video_copy and I'm
looking for the DSP side source code.
Does it exist?
I'm trying to find CCstudio example which
related to codec engine, Can someone point me were can I find it?
Thanks.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source