comparison pixdesc.c @ 857:c88d7a5ffa24 libavutil

Add initial support for 12-bit color mode. Patch by Janusz Krzysztofik jkrzyszt tis icnet pl Original thread: Subject: [FFmpeg-devel] [PATCH v2] Add initial support for 12-bit color mode. Date: Mon, 1 Mar 2010 02:05:07 +0100
author benoit
date Fri, 05 Mar 2010 08:26:23 +0000
parents f01741b79070
children 9087f43dbcd2
comparison
equal deleted inserted replaced
856:f01741b79070 857:c88d7a5ffa24
592 {0,1,2,2,4}, /* R */ 592 {0,1,2,2,4}, /* R */
593 {0,1,1,5,4}, /* G */ 593 {0,1,1,5,4}, /* G */
594 {0,1,1,0,4}, /* B */ 594 {0,1,1,0,4}, /* B */
595 }, 595 },
596 }, 596 },
597 [PIX_FMT_RGB444BE] = {
598 .name = "rgb444be",
599 .nb_components= 3,
600 .log2_chroma_w= 0,
601 .log2_chroma_h= 0,
602 .comp = {
603 {0,1,0,0,3}, /* R */
604 {0,1,1,4,3}, /* G */
605 {0,1,1,0,3}, /* B */
606 },
607 .flags = PIX_FMT_BE,
608 },
609 [PIX_FMT_RGB444LE] = {
610 .name = "rgb444le",
611 .nb_components= 3,
612 .log2_chroma_w= 0,
613 .log2_chroma_h= 0,
614 .comp = {
615 {0,1,2,0,3}, /* R */
616 {0,1,1,4,3}, /* G */
617 {0,1,1,0,3}, /* B */
618 },
619 },
597 [PIX_FMT_BGR565BE] = { 620 [PIX_FMT_BGR565BE] = {
598 .name = "bgr565be", 621 .name = "bgr565be",
599 .nb_components= 3, 622 .nb_components= 3,
600 .log2_chroma_w= 0, 623 .log2_chroma_w= 0,
601 .log2_chroma_h= 0, 624 .log2_chroma_h= 0,
636 .log2_chroma_h= 0, 659 .log2_chroma_h= 0,
637 .comp = { 660 .comp = {
638 {0,1,2,2,4}, /* B */ 661 {0,1,2,2,4}, /* B */
639 {0,1,1,5,4}, /* G */ 662 {0,1,1,5,4}, /* G */
640 {0,1,1,0,4}, /* R */ 663 {0,1,1,0,4}, /* R */
664 },
665 },
666 [PIX_FMT_BGR444BE] = {
667 .name = "bgr444be",
668 .nb_components= 3,
669 .log2_chroma_w= 0,
670 .log2_chroma_h= 0,
671 .comp = {
672 {0,1,0,0,3}, /* B */
673 {0,1,1,4,3}, /* G */
674 {0,1,1,0,3}, /* R */
675 },
676 .flags = PIX_FMT_BE,
677 },
678 [PIX_FMT_BGR444LE] = {
679 .name = "bgr444le",
680 .nb_components= 3,
681 .log2_chroma_w= 0,
682 .log2_chroma_h= 0,
683 .comp = {
684 {0,1,2,0,3}, /* B */
685 {0,1,1,4,3}, /* G */
686 {0,1,1,0,3}, /* R */
641 }, 687 },
642 }, 688 },
643 [PIX_FMT_VAAPI_MOCO] = { 689 [PIX_FMT_VAAPI_MOCO] = {
644 .name = "vaapi_moco", 690 .name = "vaapi_moco",
645 .log2_chroma_w = 1, 691 .log2_chroma_w = 1,