| 333 | const qpel_mc_func (*qpix_op)[16]); |
| 334 | |
| 335 | static inline void ff_update_block_index(MpegEncContext *s, int bits_per_raw_sample, |
| 336 | int lowres, int chroma_x_shift) |
| 337 | { |
| 338 | const int bytes_per_pixel = 1 + (bits_per_raw_sample > 8); |
| 339 | const int block_size = (8 * bytes_per_pixel) >> lowres; |
| 340 | |
| 341 | s->block_index[0]+=2; |
| 342 | s->block_index[1]+=2; |
| 343 | s->block_index[2]+=2; |
| 344 | s->block_index[3]+=2; |
| 345 | s->block_index[4]++; |
| 346 | s->block_index[5]++; |
| 347 | s->dest[0]+= 2*block_size; |
| 348 | s->dest[1] += (2 >> chroma_x_shift) * block_size; |
| 349 | s->dest[2] += (2 >> chroma_x_shift) * block_size; |
| 350 | } |
| 351 | |
| 352 | #endif /* AVCODEC_MPEGVIDEO_H */ |
no outgoing calls
no test coverage detected