diff for duplicates of <5542105A.1010601@cogentembedded.com> diff --git a/a/1.txt b/N1/1.txt index c1752aa..6a7ed9d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -31,7 +31,7 @@ On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: > format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, RWPF_PAD_SINK, > sel->which); > + -> + if (format->code = MEDIA_BUS_FMT_AYUV8_1X32) { +> + if (format->code == MEDIA_BUS_FMT_AYUV8_1X32) { > + sel->r.left = (sel->r.left + 1) & ~1; > + sel->r.top = (sel->r.top + 1) & ~1; @@ -46,10 +46,11 @@ On 4/29/2015 8:05 PM, Yoshihiro Kaneko wrote: > + > sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); > sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); -> if (rwpf->entity.type = VSP1_ENTITY_WPF) { +> if (rwpf->entity.type == VSP1_ENTITY_WPF) { > - sel->r.left = min_t(unsigned int, sel->r.left, 255); > - sel->r.top = min_t(unsigned int, sel->r.top, 255); -> + int maxcrop > + format->code = MEDIA_BUS_FMT_AYUV8_1X32 ? 254 : 255; +> + int maxcrop = +> + format->code == MEDIA_BUS_FMT_AYUV8_1X32 ? 254 : 255; I think you need an empty line here. diff --git a/a/content_digest b/N1/content_digest index 1f78ca0..df62869 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01430327133-8461-1-git-send-email-ykaneko0929@gmail.com\0" "From\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" "Subject\0Re: [PATCH/RFC] v4l: vsp1: Align crop rectangle to even boundary for YUV formats\0" - "Date\0Thu, 30 Apr 2015 11:22:02 +0000\0" + "Date\0Thu, 30 Apr 2015 14:22:02 +0300\0" "To\0Yoshihiro Kaneko <ykaneko0929@gmail.com>" " linux-media@vger.kernel.org\0" "Cc\0Mauro Carvalho Chehab <m.chehab@samsung.com>" @@ -44,7 +44,7 @@ "> \tformat = vsp1_entity_get_pad_format(&rwpf->entity, cfg, RWPF_PAD_SINK,\n" "> \t\t\t\t\t sel->which);\n" "> +\n" - "> +\tif (format->code = MEDIA_BUS_FMT_AYUV8_1X32) {\n" + "> +\tif (format->code == MEDIA_BUS_FMT_AYUV8_1X32) {\n" "> +\t\tsel->r.left = (sel->r.left + 1) & ~1;\n" "> +\t\tsel->r.top = (sel->r.top + 1) & ~1;\n" "\n" @@ -59,10 +59,11 @@ "> +\n" "> \tsel->r.left = min_t(unsigned int, sel->r.left, format->width - 2);\n" "> \tsel->r.top = min_t(unsigned int, sel->r.top, format->height - 2);\n" - "> \tif (rwpf->entity.type = VSP1_ENTITY_WPF) {\n" + "> \tif (rwpf->entity.type == VSP1_ENTITY_WPF) {\n" "> -\t\tsel->r.left = min_t(unsigned int, sel->r.left, 255);\n" "> -\t\tsel->r.top = min_t(unsigned int, sel->r.top, 255);\n" - "> +\t\tint maxcrop > +\t\t\tformat->code = MEDIA_BUS_FMT_AYUV8_1X32 ? 254 : 255;\n" + "> +\t\tint maxcrop =\n" + "> +\t\t\tformat->code == MEDIA_BUS_FMT_AYUV8_1X32 ? 254 : 255;\n" "\n" " I think you need an empty line here.\n" "\n" @@ -74,4 +75,4 @@ "\n" WBR, Sergei -44857a67be0fdd4289e21f3213287e7b0e6a577ea0839d650f1fbbd6a921f3fe +f5ee42ffa7c1a79c810bd69babccad62a3646587c3b17609affc09d7dfd0c7c3
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.