Mercurial > libavcodec.hg
comparison h264.c @ 6903:0f63fc62ea8b libavcodec
consistency cosmetics: indices --> indexes
author | diego |
---|---|
date | Mon, 26 May 2008 23:14:25 +0000 |
parents | 5ddf098691d3 |
children | c1b722b79649 |
comparison
equal
deleted
inserted
replaced
6902:b6e110c575ff | 6903:0f63fc62ea8b |
---|---|
6503 const int mvy_limit = IS_INTERLACED(mb_type) ? 2 : 4; | 6503 const int mvy_limit = IS_INTERLACED(mb_type) ? 2 : 4; |
6504 int first_vertical_edge_done = 0; | 6504 int first_vertical_edge_done = 0; |
6505 int dir; | 6505 int dir; |
6506 /* FIXME: A given frame may occupy more than one position in | 6506 /* FIXME: A given frame may occupy more than one position in |
6507 * the reference list. So ref2frm should be populated with | 6507 * the reference list. So ref2frm should be populated with |
6508 * frame numbers, not indices. */ | 6508 * frame numbers, not indexes. */ |
6509 static const int ref2frm[34] = {-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, | 6509 static const int ref2frm[34] = {-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, |
6510 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}; | 6510 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}; |
6511 | 6511 |
6512 //for sufficiently low qp, filtering wouldn't do anything | 6512 //for sufficiently low qp, filtering wouldn't do anything |
6513 //this is a conservative estimate: could also check beta_offset and more accurate chroma_qp | 6513 //this is a conservative estimate: could also check beta_offset and more accurate chroma_qp |