ウェブ 画像 動画 地図 ニュース グループ Gmail その他 »
最近アクセスしたグループ | ヘルプ | ログイン
Google グループ
V4L2 Camera interface
現在、このグループで最初に表示するトピックが多すぎます。このトピックを最初に表示するには、別のトピックからこのオプションを削除してください。
リクエストの処理中にエラーが発生しました。 もう一度やり直してください。
フラッグ
  メッセージ 1 - 25 / 78 - すべて折りたたんで表示  -  すべてをに翻訳 翻訳(すべてのオリジナルを表示)   新しいメッセージ >
投稿先のグループは Usenet グループです。このグループにメッセージを投稿すると、インターネット上のユーザーがメール アドレスを閲覧できるようになります。
返信メッセージが送信されていません。
投稿しました。
 
差出人:
宛先:
Cc:
フォローアップ先:
Cc を追加 | フォローアップ先を追加 | 件名を編集
件名:
確認:
確認のため、下の画像に表示されている文字か、アクセシビリティ アイコンをクリックすると聞こえる数字を入力してください。 聞こえた番号を入力します
 
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月6日, 午後11:19
差出人: Androidphan <niels.kee...@tass.nl>
日付: Wed, 6 May 2009 07:19:46 -0700 (PDT)
ローカル: 2009年5月6日(水) 午後11:19
件名: V4L2 Camera interface
I'm currently trying to replace the CameraHardwareStub with my own
CameraHardware which uses the v4l2 interface. Now I can capture jpeg
frames from the camera which will be automatically saved onto the SD
card.

I'm having problems with my preview video. I'm not getting a preview
image on my screen. It seems that Android is using some kind of YUV422
format? At the moment I'm getting my frames in YUYV format. How can I
convert this into the format Android is using for it's preview video?

As I get this right, the memory base that's given with
mPreviewCallback is used for preview video?


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月7日, 午前12:52
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Wed, 6 May 2009 21:22:43 +0530
ローカル: 2009年5月7日(木) 午前12:52
件名: Re: [android-porting] V4L2 Camera interface

Hi,

Even i am in the course of that only. I am unable to preview video.

YUYV to YUV422 conversion in the capturing layer can be tried.

Thanks and Regards,
HarishKumar.V


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
teddy.teddypig@gmail.com  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月7日, 午前9:54
差出人: "teddy.teddy...@gmail.com" <teddy.teddy...@gmail.com>
日付: Thu, 07 May 2009 08:54:25 +0800
ローカル: 2009年5月7日(木) 午前9:54
件名: Re: [android-porting] V4L2 Camera interface
Hi, Androidphan,
        Could you please paste ur CameraHardwareStub.cpp ? We are meeting the
exact issue as urs. And we haven't successfully grip our data to be a
jpeg file. So , if we can get that from you, it will be very appreciate.
        BTW, seems YUYV is a kind of YUV422. We can ge video from camera but
the  image are not correct. We doubt that the YUYV pattern of our camera
is different from android system demanded.
thanks.

Androidphan write:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月7日, 午後4:59
差出人: Androidphan <niels.kee...@tass.nl>
日付: Thu, 7 May 2009 00:59:39 -0700 (PDT)
ローカル: 2009年5月7日(木) 午後4:59
件名: Re: V4L2 Camera interface
I now can get a preview through. But still I would like to know how to
convert my frame to yuv422sp? How is it stored in memory?

    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月7日, 午後5:46
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Thu, 7 May 2009 14:16:48 +0530
ローカル: 2009年5月7日(木) 午後5:46
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi Androidphan,

Can you share the camera stub source, we are facing the same problem.
It would be appreciated.

Thanks and Regards,
HarishKumar.V


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
teddy.teddypig@gmail.com  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月7日, 午後5:50
差出人: "teddy.teddy...@gmail.com" <teddy.teddy...@gmail.com>
日付: Thu, 07 May 2009 16:50:00 +0800
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi androidphan,
        See my attachment for get preview image.(unfortunately, android app
seems only takes the Y filed but u and v.So our preview image is single
colored)
        You should transfer ur raw data YUYV to YYYYUUVV format as our
device.cpp write.

Androidphan 写道:

  libcameraservice.tar.gz
139Kダウンロード

    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月7日, 午後11:41
差出人: Androidphan <niels.kee...@tass.nl>
日付: Thu, 7 May 2009 07:41:33 -0700 (PDT)
ローカル: 2009年5月7日(木) 午後11:41
件名: Re: V4L2 Camera interface
My preview video is now black & white only... Anyone from the
developers can give a hint on how to convert YUYV to this YUV420/
YUV422 SP format?

On May 7, 10:50 am, "teddy.teddy...@gmail.com"


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示  
 詳細オプション 5月8日, 午前11:59
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Fri, 8 May 2009 08:29:10 +0530
ローカル: 2009年5月8日(金) 午前11:59
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi Androidplan,

you can see android_build/external/opencore/colorconvert/

there lot of conersions are available.

Thanks and Regards,
HarishKumar.V


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示  
 詳細オプション 5月8日, 午後12:07
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Fri, 8 May 2009 08:37:05 +0530
ローカル: 2009年5月8日(金) 午後12:07
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi Androidplan,

ignore previous mail.

you can see
android_build/external/opencore/codecs_v2/utilities/colorconvert/src/

there lot of conersions are available.

Thanks and Regards,
HarishKumar.V

2009/5/8 Harishkumar V <harishpres...@gmail.com>


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示  
 詳細オプション 5月8日, 午後3:41
差出人: Androidphan <niels.kee...@tass.nl>
日付: Thu, 7 May 2009 23:41:45 -0700 (PDT)
ローカル: 2009年5月8日(金) 午後3:41
件名: Re: V4L2 Camera interface
Thanks for the tip, I'll let you know if it worked.

On May 8, 5:07 am, Harishkumar V <harishpres...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示  
 詳細オプション 5月8日, 午後5:08
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Fri, 8 May 2009 13:38:53 +0530
ローカル: 2009年5月8日(金) 午後5:08
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi,

i tried to compile libcameraservice.tgz, but its failing.

Am i need to modify other files. if so, what are the files.

Thanks and Regards,
HarishKumar.V

2009/5/8 Androidphan <niels.kee...@tass.nl>


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示  
 詳細オプション 5月11日, 午後11:15
差出人: Androidphan <niels.kee...@tass.nl>
日付: Mon, 11 May 2009 07:15:44 -0700 (PDT)
ローカル: 2009年5月11日(月) 午後11:15
件名: Re: V4L2 Camera interface
I'm still not able to get my preview video in color...

Is the preview format YUV420 or YUV422 and is it semi-planar so
something like Y plane then U0 V0 U1 V1 or V0 U0 V1 U1 ?

Can anyone provide details?

On May 8, 8:41 am, Androidphan <niels.kee...@tass.nl> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Steve Fischer  
プロフィールを表示  
 詳細オプション 5月11日, 午後11:17
差出人: Steve Fischer <steve2...@gmail.com>
日付: Mon, 11 May 2009 07:17:16 -0700 (PDT)
ローカル: 2009年5月11日(月) 午後11:17
件名: Re: V4L2 Camera interface
The reason that the preview is only grayscale is that OpenGLES (which
is used by Surface Flinger for scene composition) does not support YUV
input.  Instead, Surface Flinger is only passing in the Y component in
GLES as a lumiance texture, which gives you the grayscale preview.  In
order to get a full color preview, the preview frames would have to be
converted to RGB, likely RGB565, but this will take more time per
frame, since the YUV->RGB conversion is more complicated.

Steve.

On May 8, 3:08 am, Harishkumar V <harishpres...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示  
 詳細オプション 5月12日, 午後10:29
差出人: Androidphan <niels.kee...@tass.nl>
日付: Tue, 12 May 2009 06:29:10 -0700 (PDT)
ローカル: 2009年5月12日(火) 午後10:29
件名: Re: V4L2 Camera interface
I now have a rgb 565 image, but it also shows only grayscale?

On May 11, 4:17 pm, Steve Fischer <steve2...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
blindfold  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月12日, 午後10:44
差出人: blindfold <seeingwithso...@gmail.com>
日付: Tue, 12 May 2009 06:44:56 -0700 (PDT)
ローカル: 2009年5月12日(火) 午後10:44
件名: Re: V4L2 Camera interface
http://groups.google.com/group/android-developers/browse_thread/threa...

On May 11, 4:15 pm, Androidphan <niels.kee...@tass.nl> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月13日, 午後6:43
差出人: Androidphan <niels.kee...@tass.nl>
日付: Wed, 13 May 2009 02:43:35 -0700 (PDT)
ローカル: 2009年5月13日(水) 午後6:43
件名: Re: V4L2 Camera interface
Thanks for the reply. But I already converted my yuyv frame into
yuv420sp yuv422sp yuv422, rgb 565, no luck at all.

On May 12, 3:44 pm, blindfold <seeingwithso...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
blindfold  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月13日, 午後9:31
差出人: blindfold <seeingwithso...@gmail.com>
日付: Wed, 13 May 2009 05:31:05 -0700 (PDT)
ローカル: 2009年5月13日(水) 午後9:31
件名: Re: V4L2 Camera interface
I'm not sure what you are doing: the Android emulator code for
previewing for instance simply ignores all color data and displays
only the Y component, i.e., the first width * height bytes out of the
2 * width * height bytes in the YUV422 data[] in the preview callback.
The G1 hardware code on the other hand does show the color preview,
but uses a quite different (YUV420) encoding with 3/2 * width * height
bytes per preview frame.

On May 13, 11:43 am, Androidphan <niels.kee...@tass.nl> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月13日, 午後10:00
差出人: Androidphan <niels.kee...@tass.nl>
日付: Wed, 13 May 2009 06:00:22 -0700 (PDT)
ローカル: 2009年5月13日(水) 午後10:00
件名: Re: V4L2 Camera interface
I'm porting Android to a x86 netbook. But why is color ignored? Can't
I get this working?

On May 13, 2:31 pm, blindfold <seeingwithso...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
blindfold  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月13日, 午後10:21
差出人: blindfold <seeingwithso...@gmail.com>
日付: Wed, 13 May 2009 06:21:28 -0700 (PDT)
ローカル: 2009年5月13日(水) 午後10:21
件名: Re: V4L2 Camera interface
Don't know why the Android team dropped color preview from the
emulator with recent SDKs. Color preview was still present and fully
functional in the SDK M5 RC15 emulator, but then it stopped working as
of SDK 0.9 beta even though the color info is still in the preview
callback data[] with the moving checkerboard. See my issue 822
http://code.google.com/p/android/issues/detail?id=822

I think you will have to write/adapt your own camera preview branch to
get color, either by fixing the emulator code or by adapting the G1
hardware code (or better still, submit a patch such that everybody
will benefit).

On May 13, 3:00 pm, Androidphan <niels.kee...@tass.nl> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Steve Fischer  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 5月14日, 午前12:11
差出人: Steve Fischer <steve2...@gmail.com>
日付: Wed, 13 May 2009 08:11:15 -0700 (PDT)
ローカル: 2009年5月14日(木) 午前12:11
件名: Re: V4L2 Camera interface
If you are producing RGB565 frames in your CameraHardwareInterface
implementation, then you will likely need to make a format change in
the "framework/base/camera/libcameraservice/CameraService.cpp" file.
Specifically, in the "startPreview" function, the preview frame format
is hardcoded to "YCbCr_420_SP", as in:

mSurface->registerBuffers(w, h, w, h,
PIXEL_FORMAT_YCbCr_420_SP, ... );

You will need to change this hardcoded value to match the pixel format
of the frames you are producing.  I think in there are only a couple
of supported format choices.  I believe "RGB_565" is supported.  Give
it a try.

Steve.

On May 13, 8:21 am, blindfold <seeingwithso...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 6月17日, 午後5:16
差出人: Androidphan <niels.kee...@tass.nl>
日付: Wed, 17 Jun 2009 01:16:08 -0700 (PDT)
ローカル: 2009年6月17日(水) 午後5:16
件名: Re: V4L2 Camera interface
A bit late, but that solved it.

I converted my YUYV to rgb 565 and it worked.

On May 13, 5:11 pm, Steve Fischer <steve2...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 6月21日, 午後10:45
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Sun, 21 Jun 2009 19:15:16 +0530
ローカル: 2009年6月21日(日) 午後10:45
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi AndroidPlan,

Can u update the latest source and share or attach it.

Thanks and Regards,
HarishKumar.V


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 6月22日, 午後3:53
差出人: Androidphan <niels.kee...@tass.nl>
日付: Sun, 21 Jun 2009 23:53:44 -0700 (PDT)
ローカル: 2009年6月22日(月) 午後3:53
件名: Re: V4L2 Camera interface
Source can be found here:
http://android-m912.googlecode.com/files/v4l2_camera_v2.patch

This is a V4L2 implementation for a UVC camera with mmap support and
output format V4L2_PIX_FMT_YUYV.

On Jun 21, 3:45 pm, Harishkumar V <harishpres...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Androidphan  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 6月23日, 午後7:46
差出人: Androidphan <niels.kee...@tass.nl>
日付: Tue, 23 Jun 2009 03:46:49 -0700 (PDT)
ローカル: 2009年6月23日(火) 午後7:46
件名: Re: V4L2 Camera interface
Was it useful?

On Jun 21, 3:45 pm, Harishkumar V <harishpres...@gmail.com> wrote:


    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
Harishkumar V  
プロフィールを表示   に翻訳 翻訳(オリジナルを表示)
 詳細オプション 6月23日, 午後9:31
差出人: Harishkumar V <harishpres...@gmail.com>
日付: Tue, 23 Jun 2009 18:01:05 +0530
ローカル: 2009年6月23日(火) 午後9:31
件名: Re: [android-porting] Re: V4L2 Camera interface

Hi Androidplan,

I downloaded and during compiling its showing errors,arget thumb C++:
libcamera <= frameworks/base/camera/libcameraservice/CameraHardware.cpp
In file included from
frameworks/base/camera/libcameraservice/CameraHardware.cpp:21:
frameworks/base/camera/libcameraservice/CameraHardware.h:28:21: error:
jpeglib.h: No such file or directory
In file included from
frameworks/base/camera/libcameraservice/CameraHardware.cpp:21:
frameworks/base/camera/libcameraservice/CameraHardware.h:42: error:
'recording_callback' has not been declared
frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: error:
'android::status_t android::CameraHardware::startRecording' is not a static
member of 'class android::CameraHardware'
frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: error:
'recording_callback' was not declared in this scope
frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: error:
expected primary-expression before 'void'
frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: error:
initializer expression list treated as compound expression
frameworks/base/camera/libcameraservice/CameraHardware.cpp:163: error:
expected ',' or ';' before '{' token
make: ***
[out/target/product/beagle/obj/SHARED_LIBRARIES/libcamera_intermediates/Cam eraHardware.o]
Error 1

I also attach my Android.mk file.

Thanks and Regards,
HarishKumar.V

  Android.mk
1Kダウンロード

    投稿者に返信    転送  
メッセージを投稿するには、ログインする必要があります。
メッセージを投稿するには、まず最初にこのグループに参加する必要があります。
投稿する前に、[設定] ページでニックネームを更新してください。
投稿に必要な権限がありません。
メッセージ 1 - 25 / 78   新しいメッセージ >
« ディスカッションに戻る « 新しいトピック     過去のトピック »

グループを作成 - Google グループ - Google ホーム - 利用規約 - プライバシー ポリシー
©2009 Google