Mercurial > libavcodec.hg
comparison svq1.c @ 10832:f20726a6d538 libavcodec
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
instead of custom and bloated code to find an index into a w/h array.
author | michael |
---|---|
date | Sat, 09 Jan 2010 18:33:21 +0000 |
parents | e9d9d946f213 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
10831:94982978af3b | 10832:f20726a6d538 |
---|---|
35 #include "svq1.h" | 35 #include "svq1.h" |
36 #include "svq1_cb.h" | 36 #include "svq1_cb.h" |
37 #include "svq1_vlc.h" | 37 #include "svq1_vlc.h" |
38 | 38 |
39 /* standard video sizes */ | 39 /* standard video sizes */ |
40 const struct svq1_frame_size ff_svq1_frame_size_table[8] = { | 40 const struct svq1_frame_size ff_svq1_frame_size_table[7] = { |
41 { 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 }, | 41 { 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 }, |
42 { 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 } | 42 { 704, 576 }, { 240, 180 }, { 320, 240 } |
43 }; | 43 }; |