From: Tomasz Figa <tomasz.figa@gmail.com>
To: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Cc: Alexander Nestorov <alexandernst@gmail.com>,
Juergen Beisert <jbe@pengutronix.de>,
oselas@community.pengutronix.de,
linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
Andrey Gusakov <dron0gus@gmail.com>,
Kukjin Kim <kgene.kim@samsung.com>,
LMML <linux-media@vger.kernel.org>
Subject: Re: [oselas] Audio support on Mini6410 board
Date: Sat, 09 Feb 2013 19:52:43 +0100 [thread overview]
Message-ID: <9072709.Au7dcGPusH@flatron> (raw)
In-Reply-To: <511693AC.5010604@gmail.com>
Hi,
On Saturday 09 of February 2013 19:21:32 Sylwester Nawrocki wrote:
> Hi,
>
> On 01/20/2013 09:46 PM, Alexander Nestorov wrote:
> > I have been playing for a week with the board. Both audio and video
> > work correctly, but I haven't
> > been able to set the mic settings in alsamixer (so I can't test the
> > mic). The touchscreen isn't working, so I'll try to make it working
> > and send you some patches.
> >
> > Anyways, now there's another question/problem that I have. Video
> > playback is really slow because
> > I'm not using the device's cpu-decoder but rather doing everything in
> > software mode.
> >
> > Is there support for hardware acceleration in the kernel for this
> > device? Also, after talking with
>
> No, there is still no video codec (MFC) driver for s3c6410 upstream.
> Now, when there is support for the hardware video codec available in
> newer SoC (Exynos4/5) and some V4L2 infrastructure added together with
> the s5p-mfc driver, it should be much easier to write a driver for the
> s3c64xx MFC. Still it is relatively huge task and I didn't see any
> volunteers willing to add support upstream for the s3c64xx MFC, except
> Andrey who replied in this thread. I could provide some help, but
> I will likely won't find time to do any development work or testing.
>
> Also please note there is no support for the mem-to-mem features (color
> space conversion, scaling, rotation/flip) in the s3c-camif driver.
> It should be relatively simple to add it though. I'm not really sure
> if it is needed to run the codec on s3c64xx, but the plugin [1] uses
> FIMC (CAMIF) as a video post-processor. This plugin sets up processing
> pipeline like:
>
> memory (compressed data) -> MFC -> (YCbCr tiled) memory -> FIMC ->
> memory (display)
AFAIK the MFC (like rest of the media processing peripherals) on S3C6410
does not support tiled buffers. It uses the standard planar Y + Cb + Cr
format.
In addition, the MFC of S3C6410 supports built-in rotation and mirroring
of decoded video.
For scaling, there is a video post-processor block. There is no upstreamed
driver for it, but the hardware is reasonably simple, so it wouldn't be
too hard to write a driver for it. (I might be able to do it, although
don't count on me, as I have also much other work to do, part of which is
also related to S3C64xx).
Best regards,
Tomasz
> > some people from #gstreamer they pointed me to a component[1] in
> > gstreamer, but I'm not really
> > sure how to I use it. Any ideas/experience with that?
>
> This component uses multi-planar V4L2 API [2], which also use the
> s5p-mfc and s5p-fimc driver. The s3c-camif driver uses the
> single-planar API at the camera capture video node. So if this existing
> plugin was to be used with the s3c64xx hardware, the drivers for it
> would have to support the multi-planar API, which I believe is not
> needed on s3c64xx hardware.
> The best is probably to make the drivers only single-plane API aware
> and adapt the plugin. The required changes at the plugin wouldn't be
> significant.
>
> Anyway, a real problem here is lack of the s3c64xx MFC driver. So
> first we need the codec driver, which could be tested with modified
> test application [3], or directly with modified plugin [1].
>
> > Regards!
> >
> > [1] http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/mfc
>
> [2] http://linuxtv.org/downloads/v4l-dvb-apis/planar-apis.html
> [3]
> http://git.infradead.org/users/kmpark/public-apps/tree/9c057b001e8873861
> a70f7025214003837a0860b
>
> --
>
> Regards,
> Sylwester
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-samsung-soc" 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:[~2013-02-09 18:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CACuz9s2w28eVG8qS9FXkUYAggXn7y2deHi2fPGizcURu_Bp4wg@mail.gmail.com>
[not found] ` <50D19AE6.1080306@gmail.com>
[not found] ` <50D19D03.3060203@gmail.com>
[not found] ` <CACuz9s0hXGO_kBtWWLqMtktMyUhVBw-a0+auVEEfMvVEX4jD=w@mail.gmail.com>
[not found] ` <50D2109D.9@gmail.com>
[not found] ` <CACuz9s3vY3XvaWymLGwnzEudBkOUW4o-LpfJQTF0=mgy0cAhzg@mail.gmail.com>
[not found] ` <CACuz9s0a2A6F7zWyxQkBAZtj=Xi1NwT7cLEHe-fa6G5p__bUgg@mail.gmail.com>
[not found] ` <50D2F879.6020501@gmail.com>
[not found] ` <CACuz9s0rTGDGvB9PcKfjGvvt8vEdBDKKvQTx94fuj1MrDcNfOg@mail.gmail.com>
[not found] ` <50D305CF.2030600@gmail.com>
[not found] ` <CACuz9s19M2Qv8dOBY0h0EKNidD3r4G3esvAAWZAUDZEjFMCGiA@mail.gmail.com>
[not found] ` <50D30F6C.7000004@gmail.com>
[not found] ` <CACuz9s1_KKfVDCa4FvZLe9pEVWuqQzuLPX7pYX9Tw1NUQGPtzA@mail.gmail.com>
[not found] ` <CACuz9s1waQ3VgRjdxw9CoiHX2BtfOaxTosqLDwhX+O7px0=JXg@mail.gmail.com>
[not found] ` <50D31BF8.8040301@gmail.com>
[not found] ` <CACuz9s3xtCndC2jks4T-ytSWxwTBjLbXUrehE tsNwm7H=wJC1Q@mail.gmail.com>
[not found] ` <50D31F63.6090304@gmail.com>
[not found] ` <CACuz9s06v5nXNze+AAZyPTyxib4OXmqRi9E_Hw4SqBoprym0UA@mail.gmail.com>
[not found] ` <CACuz9s1mnOon=EywOrcxZjMOGrx2=f0-4sj6ietZFoEXC66uWQ@mail.gmail.com>
2013-01-10 23:16 ` Audio support on Mini6410 board [was Re: Hi again] Sylwester Nawrocki
2013-01-11 10:13 ` Andrey Gusakov
2013-01-11 18:17 ` Alexander Nestorov
2013-01-11 22:50 ` Audio support on Mini6410 board Sylwester Nawrocki
2013-01-12 17:07 ` Alexander Nestorov
2013-01-13 10:42 ` Andrey Gusakov
2013-01-14 22:44 ` Sylwester Nawrocki
[not found] ` <CACuz9s2fQYw-2pbE6dyNY7MiUSQxGiWArmXARxdwn1ULuDwm_Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-15 9:30 ` Juergen Beisert
2013-01-15 18:58 ` [oselas] " Alexander Nestorov
2013-01-20 20:46 ` Alexander Nestorov
2013-01-21 7:32 ` Andrey Gusakov
2013-01-21 8:07 ` Alexander Nestorov
2013-01-21 9:01 ` Andrey Gusakov
2013-02-09 18:21 ` Sylwester Nawrocki
2013-02-09 18:41 ` Sylwester Nawrocki
2013-02-09 18:52 ` Tomasz Figa [this message]
[not found] ` <50D85D93.7060201@gmail.com>
[not found] ` <CACuz9s19ssgPkVM3fB+3JQ5EOp9rTTOncaZro_rA=4c98DJGZQ@mail.gmail.com>
[not found] ` <CACuz9s1Bs4W8Nq_2R3uMQn4dJVahtrqWhfEAVH1PGwguZWALEA@mail.gmail.com>
[not found] ` <50E081DE.5070208@gmail.com>
[not found] ` <CACuz9s30Om4DTqy8=VVQma=+GEC0=vmbK_n1+ic4v6YiCfdYQQ@mail.gmail.com>
[not found] ` <50E359D2.4080105@gmail.com>
[not found] ` <CACuz9s3_+MsDcwNdPeyaTaPC3zvknCe0sZ6vGCENUcQdfz6ZJg@mail.gmail.com>
[not found] ` <5109A415.8090300@gmail.com>
[not found] ` <CACuz9s3nrTYsSvDSecV3OO4U22DmEVynmixkkJ6BQX83smNL1A@mail.gmail.com>
[not found] ` <CACuz9s2MwexhTuNYf2rN5QSaN=Q0FZ2qJXK2Ud7ytkr-rUoQ6w@mail.gmail.com>
2013-02-06 23:53 ` Hi again Sylwester Nawrocki
2013-02-07 22:34 ` Sylwester Nawrocki
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=9072709.Au7dcGPusH@flatron \
--to=tomasz.figa@gmail.com \
--cc=alexandernst@gmail.com \
--cc=dron0gus@gmail.com \
--cc=jbe@pengutronix.de \
--cc=kgene.kim@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=oselas@community.pengutronix.de \
--cc=sylvester.nawrocki@gmail.com \
/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.