×

Discussion Board

Results 1 to 6 of 6

Thread: CCamera slow?

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    44

    CCamera slow?

    hello,

    I am trying to capture image through SDK 2.0's CCamera.

    I have a 1 microsecond timer which basically first checks if it can call CCamera::CaptureImage() already (i have a boolean flag in ImageRead() that says i can shoot another image).

    unfortunately, display is very slow. i am guessing it's because the captureimage() is taking a very long time.

    i have used RCameraServ before using same method (the using timer and displaying it),and it worked fast.

    any ideas? thanks.

  2. #2
    Regular Contributor
    Join Date
    Apr 2005
    Posts
    162
    Hi Nomad,

    I'm working with RCameraServ too. To my mind it works fine.
    Until now it's not time-critical for processing.
    What is the reason, for "changing the running system"?
    It's because RCameraServ is deprecated?
    Don't mind.
    Think of the target system. Some handys are not ready for Symbian 2.0.

    Christian

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    44
    hi,

    i needed it to support some extra functinality like zoom and brightness, etc...

    got it working already though. instead of timer and then taking shots every X interval, it happens the API also has the callback ViewFinderFrameReady() and StartViewFinderBitmapsL()...

  4. #4
    Regular Contributor
    Join Date
    Apr 2005
    Posts
    162
    hi,
    that's nice.
    when you doin' it this way (bitmap cycle by cycle), it's nothing else than RCameraServ, right?
    thinking your problem over, i got to mind, that maybe CCamera give back a stream of bitmaps?
    looking into the sdk of symbian, i found nothing about CCamera.
    unfortunately...

    christian

  5. #5
    Registered User
    Join Date
    Jul 2004
    Posts
    44
    Originally posted by chrishawaii
    hi,
    that's nice.
    when you doin' it this way (bitmap cycle by cycle), it's nothing else than RCameraServ, right?
    thinking your problem over, i got to mind, that maybe CCamera give back a stream of bitmaps?
    looking into the sdk of symbian, i found nothing about CCamera.
    unfortunately...

    christian
    hi there,

    the original camera i used (RCameraSeve) tries to grab a bitmap every X microsecond (timer), i then display it to the screen.

    I tried the same with CCamera but it was too slow...it turns out CCamera has its own way. So when you call StartViewFinderBitmapsL(), symbian will then pass a bitmap to ViewFinderFrameReady() as soon as an image is grabbed.

    CCamera i think is supported since 7.0...not sure, i forgot, will have to look at docu again. i guess the reason you're not seeing it in your sdk/docu is because your sdk is for 1.x?

    hope this helps.

  6. #6
    Regular Contributor
    Join Date
    Apr 2005
    Posts
    162
    yes,
    you're defenitely right. CCamera is not part of symbian 2.0
    that's why i can't use it, and that's what i wrote in my first answer.
    and besides RCameraServ does it's job very well, although it's deprecated.

    Christian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×