Lines Matching defs:bytesperpixel
193 int bytesperpixel = s->bytesperpixel, ret, cols, rows;
268 p = av_malloc(s->sb_cols * (128 + 192 * bytesperpixel +
272 assign(s->intra_pred_data[0], uint8_t *, 64 * bytesperpixel);
273 assign(s->intra_pred_data[1], uint8_t *, 64 * bytesperpixel);
274 assign(s->intra_pred_data[2], uint8_t *, 64 * bytesperpixel);
309 int chroma_blocks, chroma_eobs, bytesperpixel = s->bytesperpixel;
322 td->block_base = av_mallocz(((64 * 64 + 2 * chroma_blocks) * bytesperpixel * sizeof(int16_t) +
326 td->uvblock_base[0] = td->block_base + sbs * 64 * 64 * bytesperpixel;
327 td->uvblock_base[1] = td->uvblock_base[0] + sbs * chroma_blocks * bytesperpixel;
328 td->eob_base = (uint8_t *) (td->uvblock_base[1] + sbs * chroma_blocks * bytesperpixel);
343 s->td[i].block_base = av_mallocz((64 * 64 + 2 * chroma_blocks) * bytesperpixel * sizeof(int16_t) +
347 s->td[i].uvblock_base[0] = s->td[i].block_base + 64 * 64 * bytesperpixel;
348 s->td[i].uvblock_base[1] = s->td[i].uvblock_base[0] + chroma_blocks * bytesperpixel;
349 s->td[i].eob_base = (uint8_t *) (s->td[i].uvblock_base[1] + chroma_blocks * bytesperpixel);
451 s->bytesperpixel = (7 + s->s.h.bpp) >> 3;
568 s->bytesperpixel = 1;
1099 int bytesperpixel = s->bytesperpixel;
1119 yoff += hbs * 8 * bytesperpixel;
1120 uvoff += hbs * 8 * bytesperpixel >> s->ss_h;
1126 yoff + 8 * hbs * bytesperpixel,
1127 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
1132 yoff + 8 * hbs * bytesperpixel,
1133 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
1142 yoff + 8 * hbs * bytesperpixel,
1143 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
1174 int bytesperpixel = s->bytesperpixel;
1186 yoff += hbs * 8 * bytesperpixel;
1187 uvoff += hbs * 8 * bytesperpixel >> s->ss_h;
1194 decode_sb_mem(td, row, col + hbs, lflvl, yoff + 8 * hbs * bytesperpixel,
1195 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
1200 yoff + 8 * hbs * bytesperpixel,
1201 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1);
1203 yoff += hbs * 8 * bytesperpixel;
1204 uvoff += hbs * 8 * bytesperpixel >> s->ss_h;
1264 int bytesperpixel;
1272 bytesperpixel = s->bytesperpixel;
1331 col += 8, yoff2 += 64 * bytesperpixel,
1332 uvoff2 += 64 * bytesperpixel >> s->ss_h, lflvl_ptr++) {
1360 8 * s->cols * bytesperpixel);
1363 8 * s->cols * bytesperpixel >> s->ss_h);
1366 8 * s->cols * bytesperpixel >> s->ss_h);
1375 col += 8, yoff2 += 64 * bytesperpixel,
1376 uvoff2 += 64 * bytesperpixel >> s->ss_h, lflvl_ptr++) {
1399 int bytesperpixel = s->bytesperpixel, row, col, tile_row;
1412 uvoff = (64 * bytesperpixel >> s->ss_h)*(tile_col_start >> 3);
1413 yoff = (64 * bytesperpixel)*(tile_col_start >> 3);
1439 col += 8, yoff2 += 64 * bytesperpixel,
1440 uvoff2 += 64 * bytesperpixel >> s->ss_h, lflvl_ptr++) {
1452 memcpy(s->intra_pred_data[0] + (tile_col_start * 8 * bytesperpixel),
1454 8 * tile_cols_len * bytesperpixel);
1455 memcpy(s->intra_pred_data[1] + (tile_col_start * 8 * bytesperpixel >> s->ss_h),
1457 8 * tile_cols_len * bytesperpixel >> s->ss_h);
1458 memcpy(s->intra_pred_data[2] + (tile_col_start * 8 * bytesperpixel >> s->ss_h),
1460 8 * tile_cols_len * bytesperpixel >> s->ss_h);
1475 int bytesperpixel = s->bytesperpixel, col, i;
1490 col += 8, yoff += 64 * bytesperpixel,
1491 uvoff += 64 * bytesperpixel >> s->ss_h, lflvl_ptr++) {
1853 s->bytesperpixel = ssrc->bytesperpixel;