From: vkalia@codeaurora.org
To: "Hans Verkuil" <hverkuil@xs4all.nl>
Cc: vkalia@codeaurora.org, linux-media@vger.kernel.org
Subject: Re: Pause/Resume and flush for V4L2 codec drivers.
Date: Fri, 6 Jan 2012 17:55:08 -0800 (PST) [thread overview]
Message-ID: <0a833d4c5de7f07094de25c5769121e3.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <201201061144.49354.hverkuil@xs4all.nl>
Thanks Hans.
Yes it does solve a part of my problem - Pause/Resume. But I dont see any
command defined for Flush yet. Do you think we should add one more command
to Flush. Also, I see two more commands
#define V4L2_DEC_CMD_START (0)
#define V4L2_DEC_CMD_STOP (1)
How should I use the above two commands for an encoding/decoding session?
I was calling start/stop to hardware in streamon/streamoff earlier.
Thanks
Vinay
> On Friday, January 06, 2012 03:31:37 vkalia@codeaurora.org wrote:
>> Hi
>>
>> I am trying to implement v4l2 driver for video decoders. The problem I
>> am
>> facing is how to send pause/resume and flush commands from user-space to
>> v4l2 driver. I am thinking of using controls for this. Has anyone done
>> this before or if anyone has any ideas please let me know. Appreciate
>> your
>> help.
>
> See this patch series:
>
> http://www.mail-archive.com/linux-media@vger.kernel.org/msg40516.html
>
> Does this give you what you need?
>
> Regards,
>
> Hans
>
>>
>> Thanks
>> Vinay
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media"
>> in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2012-01-07 1:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 2:31 Pause/Resume and flush for V4L2 codec drivers vkalia
2012-01-06 10:44 ` Hans Verkuil
2012-01-07 1:55 ` vkalia [this message]
2012-01-11 8:37 ` Hans Verkuil
2012-01-11 14:25 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a833d4c5de7f07094de25c5769121e3.squirrel@www.codeaurora.org \
--to=vkalia@codeaurora.org \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.