[media] exynos-gsc: modify number of output/capture buffers
authorShaik Ameer Basha <shaik.ameer@samsung.com>
Tue, 27 Nov 2012 12:48:58 +0000 (09:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 12:26:44 +0000 (10:26 -0200)
G-Scaler src buffer count as well as destination buffer
count is increased to 32. This is required for G-Scaler to
interface with MFC, as MFC demands 32 capture buffers for
some H264 streams.

Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos-gsc/gsc-core.c

index 0c22ad570500d4ed61beee7726adb3911563db12..ae885c7ebc41eef2ba9266b526d1b57164b7d940 100644 (file)
@@ -944,8 +944,8 @@ static struct gsc_variant gsc_v_100_variant = {
        .pix_max                = &gsc_v_100_max,
        .pix_min                = &gsc_v_100_min,
        .pix_align              = &gsc_v_100_align,
-       .in_buf_cnt             = 8,
-       .out_buf_cnt            = 16,
+       .in_buf_cnt             = 32,
+       .out_buf_cnt            = 32,
        .sc_up_max              = 8,
        .sc_down_max            = 16,
        .poly_sc_down_max       = 4,