Home
last modified time | relevance | path

Searched refs:bytesperpixel (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvp9recon.c38 int p, int ss_h, int ss_v, int bytesperpixel) in check_intra_mode() argument
110 s->intra_pred_data[p] + (col * (8 >> ss_h) + x * 4) * bytesperpixel : in check_intra_mode()
114 s->intra_pred_data[p] + (col * (8 >> ss_h) + x * 4) * bytesperpixel : in check_intra_mode()
127 memcpy(*a, top, n_px_need * bytesperpixel); in check_intra_mode()
130 if (bytesperpixel == 1) { \ in check_intra_mode()
139 memcpy(*a, top, n_px_have * bytesperpixel); in check_intra_mode()
144 if (bytesperpixel == 1) { \ in check_intra_mode()
158 if (bytesperpixel == 1) { \ in check_intra_mode()
167 if (bytesperpixel == 1) { \ in check_intra_mode()
179 memcpy(&(*a)[4 * bytesperpixel], &top[4 * bytesperpixel], 4 * bytesperpixel); in check_intra_mode()
[all …]
Dvp9lpf.c30 int y, x, bytesperpixel = s->bytesperpixel; in filter_plane_cols() local
39 for (x = 1; hm & ~(x - 1); x <<= 1, ptr += 8 * bytesperpixel >> ss_h) { in filter_plane_cols()
85 s->dsp.loop_filter_mix2[0][0][0](ptr + 4 * bytesperpixel, ls, E, I, H); in filter_plane_cols()
87 s->dsp.loop_filter_8[0][0](ptr + 4 * bytesperpixel, ls, E, I, H); in filter_plane_cols()
93 s->dsp.loop_filter_8[0][0](ptr + 8 * ls + 4 * bytesperpixel, ls, E, I, H); in filter_plane_cols()
105 int y, x, bytesperpixel = s->bytesperpixel; in filter_plane_rows() local
114 for (x = 1; vm & ~(x - 1); x <<= (2 << ss_h), ptr += 16 * bytesperpixel, l += 2 << ss_h) { in filter_plane_rows()
144 [1](ptr + 8 * bytesperpixel, ls, E, I, H); in filter_plane_rows()
165 s->dsp.loop_filter_8[0][1](ptr + ls * 4 + 8 * bytesperpixel, ls, E, I, H); in filter_plane_rows()
Dvp9_mc_template.c43 int bytesperpixel = BYTES_PER_PIXEL; in FN() local
143 mc_luma_dir(td, mc[4][b->filter][0], td->dst[0] + 4 * bytesperpixel, ls_y, in FN()
164 td->dst[1] + 4 * bytesperpixel, in FN()
165 td->dst[2] + 4 * bytesperpixel, ls_uv, in FN()
176 mc_luma_dir(td, mc[4][b->filter][1], td->dst[0] + 4 * bytesperpixel, ls_y, in FN()
197 td->dst[1] + 4 * bytesperpixel, in FN()
198 td->dst[2] + 4 * bytesperpixel, ls_uv, in FN()
218 mc_luma_dir(td, mc[4][b->filter][0], td->dst[0] + 4 * bytesperpixel, ls_y, in FN()
228 td->dst[0] + 4 * ls_y + 4 * bytesperpixel, ls_y, in FN()
254 td->dst[1] + 4 * bytesperpixel, in FN()
[all …]
Dvp9.c199 int bytesperpixel = s->bytesperpixel, ret, cols, rows; in update_size() local
271 p = av_malloc(s->sb_cols * (128 + 192 * bytesperpixel + in update_size()
275 assign(s->intra_pred_data[0], uint8_t *, 64 * bytesperpixel); in update_size()
276 assign(s->intra_pred_data[1], uint8_t *, 64 * bytesperpixel); in update_size()
277 assign(s->intra_pred_data[2], uint8_t *, 64 * bytesperpixel); in update_size()
312 int chroma_blocks, chroma_eobs, bytesperpixel = s->bytesperpixel; in update_block_buffers() local
325 … td->block_base = av_mallocz(((64 * 64 + 2 * chroma_blocks) * bytesperpixel * sizeof(int16_t) + in update_block_buffers()
329 td->uvblock_base[0] = td->block_base + sbs * 64 * 64 * bytesperpixel; in update_block_buffers()
330 td->uvblock_base[1] = td->uvblock_base[0] + sbs * chroma_blocks * bytesperpixel; in update_block_buffers()
331 td->eob_base = (uint8_t *) (td->uvblock_base[1] + sbs * chroma_blocks * bytesperpixel); in update_block_buffers()
[all …]
Dvp9block.c992 int bytesperpixel = is8bitsperpixel ? 1 : 2; in decode_coeffs() local
1009 (td, td->block + 16 * n * bytesperpixel, 16 * step * step, \ in decode_coeffs()
1083 (td, td->uvblock[pl] + 16 * n * bytesperpixel, \ in decode_coeffs()
1270 int bytesperpixel = s->bytesperpixel; in ff_vp9_decode_block() local
1304 if (bytesperpixel == 1) { in ff_vp9_decode_block()
1353 s->td[0].block += w4 * h4 * 64 * bytesperpixel; in ff_vp9_decode_block()
1354 s->td[0].uvblock[0] += w4 * h4 * 64 * bytesperpixel >> (s->ss_h + s->ss_v); in ff_vp9_decode_block()
1355 s->td[0].uvblock[1] += w4 * h4 * 64 * bytesperpixel >> (s->ss_h + s->ss_v); in ff_vp9_decode_block()
1367 emu[0] = (col + w4) * 8 * bytesperpixel > f->linesize[0] || in ff_vp9_decode_block()
1369 emu[1] = ((col + w4) * 8 >> s->ss_h) * bytesperpixel > f->linesize[1] || in ff_vp9_decode_block()
[all …]
Dvp9dec.h111 uint8_t last_bpp, bpp_index, bytesperpixel; member