Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."
Modified by: shy.ward nokia.com
Reviewed by:
Date: 23-Mar-2007
Project: SymbianMmf_Rel
Feature ID: 101-31157
Synopsis: CR: Implement Single Instance Restriction for Julie Decoder
The Julie hardware can only support one instance of the decoder at time. So in the case of multiple instances we have implemented a resource manager. The last instance to request
the resource the will acquire it. The first instance will receive a notification that the resource has been lost. At this point it will pause DevVideo, report the error to the client,
and remain in holding state until a force resume is issued or the resource becomes available. Currently the clients do nothing with the Resource lost (or restore) message and everything
still works fine. No action is really required from them. In the future they should change to monitor this messages and put themselves into a paused state. The restore notification to the client
is currently commented out as no suitable error from Symbian exists yet. If/when one is available it will be changed. I've included the design document if anyone wants to read it.
Files Modified:
clientapps/symbianMmf/hxmmfstatepaused.cpp
clientapps/symbianMmf/hxmmfstateplaying.cpp
clientapps/symbianMmf/common/hxmmfbasectrl.cpp
clientapps/symbianMmf/common/hxmmfbasectrl.h
clientapps/symbianMmf/videocontroller/hxmmfctrlimpl.cpp
common/include/hxresult.h
datatype/mdf/video/renderer/mdfvideoadapter.cpp
datatype/mdf/video/renderer/umakedll
datatype/mdf/video/renderer/umakelib
datatype/mdf/video/renderer/pub/mdfvideoadapter.h
Files Added: None
Image Size and Heap Use impact: minor
Module Release testing (STIF) : Local MRT test cases run and 1 failure. This failure occurs without my code as well. MPEG4 SeekPause.
Root Cause: New Feature.
Test case(s) Added : No. I'm not sure yet how to simulate this in STIF. It may be possible in the future.
Memory leak check performed : Yes. No new leaks introduced. Please note I could not get the emulator to run on devlon. I ran the code in the Rosetta emulator but this only half tests due it does not implement the single client resrtiction code.
Platforms and Profiles Build Verified: helix-client-s60-32-mmf-mdf-arm
Platforms and Profiles Functionality verified: armv5, winscw
Branch: Head & 210CayS
<<clientappsdiff.txt>> <<common_includediff.txt>> <<datatypediff.txt>>
|