Go to advanced search

by kaikeraut
Wed Aug 20, 2014 8:30 am
Forum: Compute Module
Topic: How to take yuv buffers from raspivid
Replies: 2
Views: 994

How to take yuv buffers from raspivid

How can get a yuv data frames from raspivid.??
by kaikeraut
Thu Jul 31, 2014 5:16 am
Forum: Camera board
Topic: Raspberry pi Gingerbread Camera HAL implementation
Replies: 3
Views: 846

Re: Raspberry pi Gingerbread Camera HAL implementation

- Enable MMAL logging by rebuilding userland repo having edited interface/mmal/core/mmal_logging.c to set the log level to VCOS_LOG_TRACE. - Add your own logging to confirm that you really are sending buffers to the GPU. If no buffers have been sent then none can be returned. From the code you sent...
by kaikeraut
Wed Jul 30, 2014 11:24 am
Forum: Camera board
Topic: Raspberry pi Gingerbread Camera HAL implementation
Replies: 3
Views: 846

Raspberry pi Gingerbread Camera HAL implementation

Hi I am trying to implement own Camera HAL for the Raspberry Pi, some what i progressed but stucked now. here is the progress details. - Implemented HAL layer to communicate with cameraService and build libcamera.so - In HAL function used MMAL function directly to use the camera. ->>> StartPreview f...
by kaikeraut
Tue Jul 29, 2014 11:14 am
Forum: Beginners
Topic: How to see vcos and mmal messages
Replies: 0
Views: 324

How to see vcos and mmal messages

LOG_ERROR mmal_log_error
LOG_INFO mmal_log_info
LOG_WARN mmal_log_warn
LOG_DEBUG mmal_log_debug
LOG_TRACE mmal_log_trace
vcos_log_error
How to see the message from above prints, in raspian.
by kaikeraut
Mon Jul 28, 2014 11:56 am
Forum: Camera board
Topic: MMAL - RPI
Replies: 6
Views: 1525

Re: MMAL - RPI

Hmm, that sounds suspiciously like my day job! :D We have a full Android libCamera1 implementation sitting on top of MMAL, so it is totally possible. You'll want to talk to MMAL directly rather than via raspistill as you need to pass frames out to SurfaceFlinger, StageFright and the like. Obviously...
by kaikeraut
Tue Jul 22, 2014 9:10 am
Forum: Camera board
Topic: MMAL take Picture Callback is not getting called
Replies: 4
Views: 1148

Re: MMAL take Picture Callback is not getting called

6by9 wrote:Have you done a mmal_component_enable? Otherwise I'm out of ideas and would suggest you post your code to github or similar so that others can review it rather than speculate.
yes i did.
by kaikeraut
Tue Jul 22, 2014 8:41 am
Forum: Camera board
Topic: MMAL take Picture Callback is not getting called
Replies: 4
Views: 1148

Re: MMAL take Picture Callback is not getting called

mmal_port_parameter_set_boolean(camera_still_port, MMAL_PARAMETER_CAPTURE, 1) The port can be set up and enabled at start of day an is then ready to capture, but until you set that parameter it doesn't actually do so. It reduces the capture latency slightly. mmal_port_parameter_set_boolean(camera_s...
by kaikeraut
Mon Jul 21, 2014 10:20 am
Forum: Camera board
Topic: MMAL take Picture Callback is not getting called
Replies: 4
Views: 1148

MMAL take Picture Callback is not getting called

I registered the camera take picture callback in mmal_port_enable(camera_still_port, camera_buffer_callback)

But camera_buffer_callback is not getting called.

What can be the issues.?
by kaikeraut
Tue Jun 17, 2014 5:28 am
Forum: Android
Topic: mmal_component_create_core: could not find component 'vc.ril
Replies: 3
Views: 2724

mmal_component_create_core: could not find component 'vc.ril

Hi, I have implemented own HAL layer for the camera in Android gingerbread, But while calling camera_create_component its failing. here is log for error E/mmal ( 1409): mmal_component_create_core: could not find component 'vc.ril.camera' E/mmal ( 1409): Failed to create camera component What is miss...
by kaikeraut
Wed Jun 11, 2014 11:32 am
Forum: Beginners
Topic: How camera preview is working
Replies: 3
Views: 569

Re: How camera preview is working

The preview is done by the MMAL_COMPONENT_DEFAULT_VIDEO_RENDER component - see the RaspiPreview.c code. The work is all done on the GPU - the data is never sent to the ARM, it's tunnelled directly from the camera to the video render and the encoder. The 'viewfinder' is a bitmap superimposed over th...
by kaikeraut
Wed Jun 11, 2014 10:50 am
Forum: Beginners
Topic: How camera preview is working
Replies: 3
Views: 569

How camera preview is working

Hello All,
By seeing the RaspStill.c code i am unable to figure out how preview is continuously displaying,
when we pass raspistill -k from command line.
Can anyone help me out in understanding.

I am going through the code but unable to understand.
by kaikeraut
Tue Jun 10, 2014 9:53 am
Forum: Beginners
Topic: How MMAL is interacting with OMX.?
Replies: 0
Views: 315

How MMAL is interacting with OMX.?

I am going through the RaspStill.c code for understanding of camera. RaspStill is using MMAL api but inside those mmal api's i am nowhere seeing the OMX related calls. I read that MMAL internally calls OMX api. But i didn't found any OMX calls in MMAL. Can anyone please highlight how camera is worki...
by kaikeraut
Wed Jun 04, 2014 9:42 am
Forum: Beginners
Topic: bcm_host_init failed
Replies: 3
Views: 543

Re: bcm_host_init failed

jamesh wrote:Does raspistill work?
Yes, raspstill working.
by kaikeraut
Wed Jun 04, 2014 6:18 am
Forum: Beginners
Topic: bcm_host_init failed
Replies: 3
Views: 543

bcm_host_init failed

I am trying to write my own simple camera app, taking reference from RaspStill.c.

But its failing at bcm_host_init.

error : failed to open vchiq instance.
by kaikeraut
Wed Jun 04, 2014 6:07 am
Forum: Beginners
Topic: How to see vcos logs of userland
Replies: 1
Views: 474

How to see vcos logs of userland

where i can see the vcos logging message.?
by kaikeraut
Wed May 28, 2014 11:35 am
Forum: Android
Topic: Android slow
Replies: 26
Views: 8705

Re: Android slow

Any updates on this post.?
by kaikeraut
Tue May 27, 2014 6:03 am
Forum: Advanced users
Topic: Raspstill sample code only for preview
Replies: 3
Views: 1034

Re: Raspstill sample code only for preview

Can anyone post the bare code just for camera preview using mmal or omx.?

thanks
by kaikeraut
Tue May 27, 2014 5:49 am
Forum: Camera board
Topic: is there a way to get from mmal to opengl texture
Replies: 47
Views: 13459

Re: is there a way to get from mmal to opengl texture

Can anyone post the bare code just for camera preview using mmal or omx.

Thanks
by kaikeraut
Fri May 23, 2014 9:52 am
Forum: Android
Topic: Porting Android
Replies: 264
Views: 201825

Re: Porting Android

Any updates on Android porting..??
by kaikeraut
Tue May 20, 2014 5:44 am
Forum: Android
Topic: Raspberry pi Gingerbread Camera HAL implementation
Replies: 3
Views: 1379

Re: Raspberry pi Gingerbread Camera HAL implementation

Which file should i look to write my own HAL code. camera service will be calling specific API that should be present in HAL.
From where i can get those specific API's that as to be implemented.
by kaikeraut
Mon May 19, 2014 11:21 am
Forum: Advanced users
Topic: Raspstill sample code only for preview
Replies: 3
Views: 1034

Raspstill sample code only for preview

Hello,

I just want a simple raspstill code which do just preview.
Where should i look.? or any one have code for just preview can post it.

Thanks in advance. :) :)
by kaikeraut
Mon May 19, 2014 11:18 am
Forum: Android
Topic: camera is not working on Raspberry Pi with Android image
Replies: 11
Views: 3373

Re: camera is not working on Raspberry Pi with Android image

hi geraspi
any updates on what you were working.?
I am looking for the same..
by kaikeraut
Mon May 19, 2014 8:29 am
Forum: Android
Topic: Raspberry pi Gingerbread Camera HAL implementation
Replies: 3
Views: 1379

Raspberry pi Gingerbread Camera HAL implementation

Hi everyone,
for enabling camera in android i have to write my own HAL,
So can anyone help me from where should i start.?
currently i am following this link http://source.android.com/devices/camera/camera.html.

Thanks
by kaikeraut
Mon May 12, 2014 10:16 am
Forum: Beginners
Topic: Raspberry pi raspbian no camera preview
Replies: 15
Views: 1381

Re: Raspberry pi Gingerbread no camera preview

There's an option in sudo raspi-config to set all the parms you need to enable the camera. Hi DougieLawson, Thanks for your reply. I read out some posts which says raspi-config checks the config.txt file and set the start_x=1 to enable camera. But what i need to know is, how can i enable camera at ...
by kaikeraut
Mon May 12, 2014 10:11 am
Forum: Beginners
Topic: Raspberry pi raspbian no camera preview
Replies: 15
Views: 1381

Re: Raspberry pi Gingerbread no camera preview

If i want to explicitly enable the camera module in raspian linux, how can i do it.. Form the kernel point of view which version of kernel should i use and how i can enable camera by "menuconfig" I don't want to do sudo apt-get update and raspi-config. How manually i can achieve it. sudo apt-get up...

Go to advanced search