/third_party/ffmpeg/libavcodec/ |
D | vp9lpf.c | 26 static av_always_inline void filter_plane_cols(VP9Context *s, int col, int ss_h, int ss_v, in filter_plane_cols() argument 39 for (x = 1; hm & ~(x - 1); x <<= 1, ptr += 8 * bytesperpixel >> ss_h) { in filter_plane_cols() 72 if (ss_h) { in filter_plane_cols() 101 static av_always_inline void filter_plane_rows(VP9Context *s, int row, int ss_h, int ss_v, in filter_plane_rows() argument 114 for (x = 1; vm & ~(x - 1); x <<= (2 << ss_h), ptr += 16 * bytesperpixel, l += 2 << ss_h) { in filter_plane_rows() 121 if (vmask[0] & (x << (1 + ss_h))) { in filter_plane_rows() 122 av_assert2(l[1 + ss_h] == L); in filter_plane_rows() 127 } else if (vm & (x << (1 + ss_h))) { in filter_plane_rows() 128 L = l[1 + ss_h]; in filter_plane_rows() 133 [!!(vmask[1] & (x << (1 + ss_h)))] in filter_plane_rows() [all …]
|
D | vp9_mc_template.c | 65 w1 = (w1 + s->ss_h) >> s->ss_h; in FN() 69 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][0], in FN() 73 row << 2, col << (3 - s->ss_h), in FN() 74 &uvmv,,,,, 8 >> s->ss_h, 4, w1, h1, 0); in FN() 76 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][0], in FN() 80 row << 3, col << (3 - s->ss_h), in FN() 81 &b->mv[0][0],,,,, 8 >> s->ss_h, 4, w1, h1, 0); in FN() 85 if (s->ss_h == 0) { in FN() 90 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][0], in FN() 94 (row << 3) + 4, col << (3 - s->ss_h), in FN() [all …]
|
D | vp9block.c | 1097 w4 >>= s->ss_h; in decode_coeffs() 1098 end_x >>= s->ss_h; in decode_coeffs() 1102 a = &s->above_uv_nnz_ctx[pl][col << !s->ss_h]; in decode_coeffs() 1139 static av_always_inline void mask_edges(uint8_t (*mask)[8][4], int ss_h, int ss_v, in mask_edges() argument 1157 if (tx == TX_4X4 && (ss_v | ss_h)) { in mask_edges() 1164 if (w == ss_h) { in mask_edges() 1175 int m_row_8 = m_col & wide_filter_col_mask[ss_h], m_row_4 = m_col - m_row_8; in mask_edges() 1192 if ((ss_h & ss_v) && (col_end & 1) && (y & 1)) { in mask_edges() 1197 if (!ss_h) in mask_edges() 1200 if (ss_h && (col_end & 1)) in mask_edges() [all …]
|
D | vp9.c | 316 chroma_blocks = 64 * 64 >> (s->ss_h + s->ss_v); in update_block_buffers() 317 chroma_eobs = 16 * 16 >> (s->ss_h + s->ss_v); in update_block_buffers() 457 s->ss_h = s->ss_v = 0; in read_colorspace_details() 481 s->ss_h = get_bits1(&s->gb); in read_colorspace_details() 483 s->pix_fmt = pix_fmt_for_ss[bits][s->ss_v][s->ss_h]; in read_colorspace_details() 494 s->ss_h = s->ss_v = 1; in read_colorspace_details() 565 s->ss_h = s->ss_v = 1; in decode_frame_header() 1120 uvoff += hbs * 8 * bytesperpixel >> s->ss_h; in decode_sb() 1127 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1); in decode_sb() 1133 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1); in decode_sb() [all …]
|
D | vp9recon.c | 37 int p, int ss_h, int ss_v, int bytesperpixel) in check_intra_mode() argument 98 int n_px_need = 4 << tx, n_px_have = (((s->cols - col) << !ss_h) - x) * 4; in check_intra_mode() 109 s->intra_pred_data[p] + (col * (8 >> ss_h) + x * 4) * bytesperpixel : in check_intra_mode() 113 s->intra_pred_data[p] + (col * (8 >> ss_h) + x * 4) * bytesperpixel : in check_intra_mode() 258 w4 >>= s->ss_h; in intra_recon() 259 end_x >>= s->ss_h; in intra_recon() 276 b->uvtx, p + 1, s->ss_h, s->ss_v, bytesperpixel); in intra_recon() 344 int mx = mv->x * (1 << !s->ss_h), my = mv->y * (1 << !s->ss_v), th; in mc_chroma_unscaled() 488 if (s->ss_h) { in mc_chroma_scaled() 625 end_x >>= s->ss_h; in inter_recon()
|
D | vp9dec.h | 111 uint8_t ss_h, ss_v; member
|
/third_party/ffmpeg/tests/checkasm/ |
D | vf_colorspace.c | 39 int ss = m ? ss_w + ss_h : 0; \ 98 int ss_w = !!fmt, ss_h = fmt == 2; in check_yuv2yuv() local 110 memcmp(dst0[1], dst1[1], uv_dst_stride * H >> ss_h) || in check_yuv2yuv() 111 memcmp(dst0[2], dst1[2], uv_dst_stride * H >> ss_h)) { in check_yuv2yuv() 161 int ss_w = !!fmt, ss_h = fmt == 2; in check_yuv2rgb() local 242 int ss_w = !!fmt, ss_h = fmt == 2; in check_rgb2yuv() local 252 memcmp(dst0[1], dst1[1], H * uv_dst_stride >> ss_h) || in check_rgb2yuv() 253 memcmp(dst0[2], dst1[2], H * uv_dst_stride >> ss_h)) { in check_rgb2yuv()
|