Lines Matching refs:aspect_ratio
526 int i, aspect_ratio, picture_rate; in mpeg1_sequence_header() local
530 switch (go->aspect_ratio) { in mpeg1_sequence_header()
532 aspect_ratio = go->standard == GO7007_STD_NTSC ? 3 : 2; in mpeg1_sequence_header()
535 aspect_ratio = go->standard == GO7007_STD_NTSC ? 5 : 4; in mpeg1_sequence_header()
538 aspect_ratio = 1; in mpeg1_sequence_header()
542 switch (go->aspect_ratio) { in mpeg1_sequence_header()
544 aspect_ratio = 2; in mpeg1_sequence_header()
547 aspect_ratio = 3; in mpeg1_sequence_header()
550 aspect_ratio = 1; in mpeg1_sequence_header()
577 CODE_ADD(c, aspect_ratio, 4); in mpeg1_sequence_header()
777 int i, aspect_ratio; in mpeg4_sequence_header() local
781 switch (go->aspect_ratio) { in mpeg4_sequence_header()
783 aspect_ratio = go->standard == GO7007_STD_NTSC ? 3 : 2; in mpeg4_sequence_header()
786 aspect_ratio = go->standard == GO7007_STD_NTSC ? 5 : 4; in mpeg4_sequence_header()
789 aspect_ratio = 1; in mpeg4_sequence_header()
795 CODE_ADD(c, aspect_ratio, 4); in mpeg4_sequence_header()