Reply by sankaran August 11, 20052005-08-11
Thanks for the info, since you are copying the encoded data, this should be
pretty small. The DSP copies the data to SDRAM, I am assuming though an
EDMA. You need to see how the video port drivers and audio port drivers are
opening the priority, this may be exposed in the .cdb file or in the code.

As far as your HPI transfer, you can specify a priority for it, either in
the .cdb or in code. Where the priority helps, is in case audio needs to
run, since it is almost hard real time, you want it in high or urgent
priority, so that it gets to submit to the TC as soon as possible,
pre-empting your slower HPI transfer.

HPI data transfer EDMA should be lower priority than audio and video.

Regds
JS
-----Original Message-----
From: mayank agarwal [mailto:may_ank77@may_...]
Sent: Thursday, August 11, 2005 12:44 PM
To: sankaran
Cc: c6x@c6x@...
Subject: RE: [c6x] audio video on DM642

Many thanks for your reply.
In both audio/video i am copying the encoded stream
for video it is MPEG4 simple profile of CIF resolution
and in the case of audio it is g.711 encoded data.
The dsp is copying the data to some location in SDRAM
and ARM is copying that encoded data from one location
on sdram to another sdram.
I don't know what do you understand by priority of
queues and where i can configure them in my present
set up.i have read in one documnet in which we can
change the HPI priority for C55x processor by setting
some bit in DMA global control register.I don't know
where i can do the corresponding change in DM642
processor.
Also i have seen in cdb file where the default
settings for l2 queues is 6 2 2 2.
But i don't see the difference on changing the
priority of those queues.
Regards,
Mayank

--- sankaran <sankaran@sank...> wrote:

> The question has to do with what you are sending
> through HPI. Are you
> sending decoded video and audio in raw format
> through HPI, and if so what
> resolution.
>
> Additionally you will have to check on the
> priorities of the queues on which
> these transfers are being programmed. If the HPI
> transfer is not of high
> priority, you may want to program it on lowest
> priority, and also break up a
> large transfer in a loop into smaller transfers.
>
> Regds
> JS
>
> -----Original Message-----
> From: c6x@c6x@...
> [mailto:c6x@c6x@...] On Behalf Of mayank
> agarwal
> Sent: Thursday, August 11, 2005 10:35 AM
> To: c6x@c6x@...
> Subject: [c6x] audio video on DM642
>
> Hi all,
> i am running audio/video on DM642 and ARM processor.
> when i am running audio/video combine on DM642 only
> the quality of both real time audio/video is good
> but when i am using HOST PORT INTERFACE(hpi) to
> communicate between DM642 and ARM9 and then running
> real time audio/video on that there is degradation
> in
> real time audio quality.I have the following doubts:
> 1.If the overhead of running the code through HPI
> between DM642 and ARM9 processor will always be
> evident in quality of real time audio and video or
> it
> is possible to get the same quality when audio/video
> run combine on DM642 only or both audio and video
> run
> separately.
> 2.Is there are any settings in aic23 codec and audio
> ADC and DAC settings through which i cam remove the
> drag that is happening in audio when i am running
> combined real time audio/video on ARM and DM642.
> 3.Are there any TI manuals which i can refer to
> solve
> the above problem.
>
> Thanks and Regards,
> Mayank Agarwal >
>
> __________________________________________________
> >
>
> c6x-unsubscribe@c6x-... >

__________________________________



Reply by mayank agarwal August 11, 20052005-08-11
Many thanks for your reply.
In both audio/video i am copying the encoded stream
for video it is MPEG4 simple profile of CIF resolution
and in the case of audio it is g.711 encoded data.
The dsp is copying the data to some location in SDRAM
and ARM is copying that encoded data from one location
on sdram to another sdram.
I don't know what do you understand by priority of
queues and where i can configure them in my present
set up.i have read in one documnet in which we can
change the HPI priority for C55x processor by setting
some bit in DMA global control register.I don't know
where i can do the corresponding change in DM642
processor.
Also i have seen in cdb file where the default
settings for l2 queues is 6 2 2 2.
But i don't see the difference on changing the
priority of those queues.
Regards,
Mayank

--- sankaran <sankaran@sank...> wrote:

> The question has to do with what you are sending
> through HPI. Are you
> sending decoded video and audio in raw format
> through HPI, and if so what
> resolution.
>
> Additionally you will have to check on the
> priorities of the queues on which
> these transfers are being programmed. If the HPI
> transfer is not of high
> priority, you may want to program it on lowest
> priority, and also break up a
> large transfer in a loop into smaller transfers.
>
> Regds
> JS
>
> -----Original Message-----
> From: c6x@c6x@...
> [mailto:c6x@c6x@...] On Behalf Of mayank
> agarwal
> Sent: Thursday, August 11, 2005 10:35 AM
> To: c6x@c6x@...
> Subject: [c6x] audio video on DM642
>
> Hi all,
> i am running audio/video on DM642 and ARM processor.
> when i am running audio/video combine on DM642 only
> the quality of both real time audio/video is good
> but when i am using HOST PORT INTERFACE(hpi) to
> communicate between DM642 and ARM9 and then running
> real time audio/video on that there is degradation
> in
> real time audio quality.I have the following doubts:
> 1.If the overhead of running the code through HPI
> between DM642 and ARM9 processor will always be
> evident in quality of real time audio and video or
> it
> is possible to get the same quality when audio/video
> run combine on DM642 only or both audio and video
> run
> separately.
> 2.Is there are any settings in aic23 codec and audio
> ADC and DAC settings through which i cam remove the
> drag that is happening in audio when i am running
> combined real time audio/video on ARM and DM642.
> 3.Are there any TI manuals which i can refer to
> solve
> the above problem.
>
> Thanks and Regards,
> Mayank Agarwal >
>
> __________________________________________________
> >
>
> c6x-unsubscribe@c6x-... >

__________________________________



Reply by sankaran August 11, 20052005-08-11
The question has to do with what you are sending through HPI. Are you
sending decoded video and audio in raw format through HPI, and if so what
resolution.

Additionally you will have to check on the priorities of the queues on which
these transfers are being programmed. If the HPI transfer is not of high
priority, you may want to program it on lowest priority, and also break up a
large transfer in a loop into smaller transfers.

Regds
JS

-----Original Message-----
From: c6x@c6x@... [mailto:c6x@c6x@...] On Behalf Of mayank
agarwal
Sent: Thursday, August 11, 2005 10:35 AM
To: c6x@c6x@...
Subject: [c6x] audio video on DM642

Hi all,
i am running audio/video on DM642 and ARM processor.
when i am running audio/video combine on DM642 only
the quality of both real time audio/video is good
but when i am using HOST PORT INTERFACE(hpi) to
communicate between DM642 and ARM9 and then running
real time audio/video on that there is degradation in
real time audio quality.I have the following doubts:
1.If the overhead of running the code through HPI
between DM642 and ARM9 processor will always be
evident in quality of real time audio and video or it
is possible to get the same quality when audio/video
run combine on DM642 only or both audio and video run
separately.
2.Is there are any settings in aic23 codec and audio
ADC and DAC settings through which i cam remove the
drag that is happening in audio when i am running
combined real time audio/video on ARM and DM642.
3.Are there any TI manuals which i can refer to solve
the above problem.

Thanks and Regards,
Mayank Agarwal

__________________________________________________



Reply by mayank agarwal August 11, 20052005-08-11
Hi all,
i am running audio/video on DM642 and ARM processor.
when i am running audio/video combine on DM642 only
the quality of both real time audio/video is good
but when i am using HOST PORT INTERFACE(hpi) to
communicate between DM642 and ARM9 and then running
real time audio/video on that there is degradation in
real time audio quality.I have the following doubts:
1.If the overhead of running the code through HPI
between DM642 and ARM9 processor will always be
evident in quality of real time audio and video or it
is possible to get the same quality when audio/video
run combine on DM642 only or both audio and video run
separately.
2.Is there are any settings in aic23 codec and audio
ADC and DAC settings through which i cam remove the
drag that is happening in audio when i am running
combined real time audio/video on ARM and DM642.
3.Are there any TI manuals which i can refer to solve
the above problem.

Thanks and Regards,
Mayank Agarwal

__________________________________________________