List Info

Thread: RE: CR: Work round the problem that whensettingProcessTimeUnits to a large value, the




RE: CR: Work round the problem that whensettingProcessTimeUnits to a large value, the
country flaguser name
United States
2008-03-26 11:11:15
We cannot make this change. This essentially just
doesn't pass on any packets passed the second one
after we've gotten two blts. This ignores that
the the rest of the pipeline needs to be informed
when we shutdown early. If we want to close down
the pipeline early, then we need to do it properly.

I think that for now we should handle this at the
application layer. Once you get your first
call to OnPacket() in your sink in hxclientkit,
then inside that call, you should be able to
call IHXDataTypeDriver2::Stop(). I believe
this should do what you want.

Later, I'm planning on making a change similar to
what you are making - shutting down the pipeline
as soon as possible when in "thumbnail" mode.

Eric

=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: datatype-dev-bounceshelixcommunity.org 
> [mailto:datatype-dev-bounceshelixcommunity.org] On
Behalf Of 
> Chen, Weian
> Sent: Wednesday, March 26, 2008 3:10 AM
> To: datatype-devhelixcommunity.org
> Cc: Shen, Cathy
> Subject: [datatype-dev] CR: Work round the problem that

> whensettingProcessTimeUnits to a large value,the
performance 
> will be impacted very much.
> 
>  
> 
> Modify the title.
> 
>  
> 
>  
> 
> Synopsis: 
> 
>   Work round the problem that when setting
ProcessTimeUnits 
> to a large value, the performance will be impacted very
much.
> 
>     
> 
> Overview: 
> 
> When setting ProcessTimeUnits =1, thumbnail feature
will not 
> always work, so we should set ProcessTimeUnits to a
large 
> value, but for some streams, it will blt several times,
and 
> impact performance very much, so we work round this
problem 
> by stopping bltting if we found the frame have been
bltted. 
> 
>   The work round solution will work only when doing 
> thumbnail, we use SetOption to get known whether we are
doing 
> thumbnail.
> 
>  
> 
> Files Added:
> 
> No file added
> 
>  
> 
> Files Modified:
> 
> datatype/tools/dtdriver/decoder/video/vdecoder.cpp
> 
>         
> 
> Image Size and Heap Use impact (Client -Only):
> 
> Little
> 
>  
> 
> Platforms and Profiles Affected:
> 
> platform:   linux-2.2-libc6-gcc32-i586
> 
> profile:      helix-client-all-defines
> 
>  
> 
> Distribution Libraries Affected:
> 
> <dtdrplin.so>
> 
> <hxdtdriver.so>
> 
> <dtdrviddec.a>
> 
>  
> 
> Distribution library impact and planned action:
> 
>     <None>
> 
>  
> 
> Platforms and Profiles Build Verified:
> 
>     Set BIF branch  ->
hxclient_3_1_0_atlas_restricted
> 
>     Set Target(s)     -> datatype_tools_dtdriver
> 
>     Set Profile        -> helix-client-all-defines
> 
>     System ID        -> linux-2.2-libc6-gcc32-i586
> 
>  
> 
> Branch: 
> 
>     HEAD, hxclient_3_1_0_atlas_restricted
> 
>  
> 
> Copyright assignment: <MUST be one of the following
statements >
> 
>     2.      Intel has signed and delivered a Joint
Copyright 
> Assignment to RealNetworks, and received acknowledgment
that 
> the agreement was received. 
> 
>  
> 
> Files Attached:
> 
>     Dtdr-tools-thumabnail.diff
> 
>  
> 
>  
> 
> Weian
> 
>  
> 
> 


_______________________________________________
Datatype-dev mailing list
Datatype-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/da
tatype-dev

RE: CR: Work round the problem that whensettingProcessTimeUnits to a large value, the
user name
2008-03-27 01:56:43
Eric:

Thanks for your suggestion. I have tried, it works.
I will prepare and send another patch to work round this
problem.

Thanks!
Weian

-----Original Message-----
From: Eric Hyche [mailto:ehychereal.com] 
Sent: 2008Äê3ÔÂ27ÈÕ 0:11
To: Chen, Weian; datatype-devhelixcommunity.org
Cc: Shen, Cathy
Subject: RE: [datatype-dev] CR: Work round the problem that
whensettingProcessTimeUnits to a large value,the performance
will be impacted very much.


We cannot make this change. This essentially just
doesn't pass on any packets passed the second one
after we've gotten two blts. This ignores that
the the rest of the pipeline needs to be informed
when we shutdown early. If we want to close down
the pipeline early, then we need to do it properly.

I think that for now we should handle this at the
application layer. Once you get your first
call to OnPacket() in your sink in hxclientkit,
then inside that call, you should be able to
call IHXDataTypeDriver2::Stop(). I believe
this should do what you want.

Later, I'm planning on making a change similar to
what you are making - shutting down the pipeline
as soon as possible when in "thumbnail" mode.

Eric

=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: datatype-dev-bounceshelixcommunity.org 
> [mailto:datatype-dev-bounceshelixcommunity.org] On
Behalf Of 
> Chen, Weian
> Sent: Wednesday, March 26, 2008 3:10 AM
> To: datatype-devhelixcommunity.org
> Cc: Shen, Cathy
> Subject: [datatype-dev] CR: Work round the problem that

> whensettingProcessTimeUnits to a large value,the
performance 
> will be impacted very much.
> 
>  
> 
> Modify the title.
> 
>  
> 
>  
> 
> Synopsis: 
> 
>   Work round the problem that when setting
ProcessTimeUnits 
> to a large value, the performance will be impacted very
much.
> 
>     
> 
> Overview: 
> 
> When setting ProcessTimeUnits =1, thumbnail feature
will not 
> always work, so we should set ProcessTimeUnits to a
large 
> value, but for some streams, it will blt several times,
and 
> impact performance very much, so we work round this
problem 
> by stopping bltting if we found the frame have been
bltted. 
> 
>   The work round solution will work only when doing 
> thumbnail, we use SetOption to get known whether we are
doing 
> thumbnail.
> 
>  
> 
> Files Added:
> 
> No file added
> 
>  
> 
> Files Modified:
> 
> datatype/tools/dtdriver/decoder/video/vdecoder.cpp
> 
>         
> 
> Image Size and Heap Use impact (Client -Only):
> 
> Little
> 
>  
> 
> Platforms and Profiles Affected:
> 
> platform:   linux-2.2-libc6-gcc32-i586
> 
> profile:      helix-client-all-defines
> 
>  
> 
> Distribution Libraries Affected:
> 
> <dtdrplin.so>
> 
> <hxdtdriver.so>
> 
> <dtdrviddec.a>
> 
>  
> 
> Distribution library impact and planned action:
> 
>     <None>
> 
>  
> 
> Platforms and Profiles Build Verified:
> 
>     Set BIF branch  ->
hxclient_3_1_0_atlas_restricted
> 
>     Set Target(s)     -> datatype_tools_dtdriver
> 
>     Set Profile        -> helix-client-all-defines
> 
>     System ID        -> linux-2.2-libc6-gcc32-i586
> 
>  
> 
> Branch: 
> 
>     HEAD, hxclient_3_1_0_atlas_restricted
> 
>  
> 
> Copyright assignment: <MUST be one of the following
statements >
> 
>     2.      Intel has signed and delivered a Joint
Copyright 
> Assignment to RealNetworks, and received acknowledgment
that 
> the agreement was received. 
> 
>  
> 
> Files Attached:
> 
>     Dtdr-tools-thumabnail.diff
> 
>  
> 
>  
> 
> Weian
> 
>  
> 
> 


_______________________________________________
Datatype-dev mailing list
Datatype-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/da
tatype-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )