/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 | 1099 w4 >>= s->ss_h; in decode_coeffs() 1100 end_x >>= s->ss_h; in decode_coeffs() 1104 a = &s->above_uv_nnz_ctx[pl][col << !s->ss_h]; in decode_coeffs() 1141 static av_always_inline void mask_edges(uint8_t (*mask)[8][4], int ss_h, int ss_v, in mask_edges() argument 1159 if (tx == TX_4X4 && (ss_v | ss_h)) { in mask_edges() 1166 if (w == ss_h) { in mask_edges() 1177 int m_row_8 = m_col & wide_filter_col_mask[ss_h], m_row_4 = m_col - m_row_8; in mask_edges() 1194 if ((ss_h & ss_v) && (col_end & 1) && (y & 1)) { in mask_edges() 1199 if (!ss_h) in mask_edges() 1202 if (ss_h && (col_end & 1)) in mask_edges() [all …]
|
D | vp9.c | 319 chroma_blocks = 64 * 64 >> (s->ss_h + s->ss_v); in update_block_buffers() 320 chroma_eobs = 16 * 16 >> (s->ss_h + s->ss_v); in update_block_buffers() 460 s->ss_h = s->ss_v = 0; in read_colorspace_details() 484 s->ss_h = get_bits1(&s->gb); in read_colorspace_details() 486 s->pix_fmt = pix_fmt_for_ss[bits][s->ss_v][s->ss_h]; in read_colorspace_details() 497 s->ss_h = s->ss_v = 1; in read_colorspace_details() 568 s->ss_h = s->ss_v = 1; in decode_frame_header() 1124 uvoff += hbs * 8 * bytesperpixel >> s->ss_h; in decode_sb() 1131 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1); in decode_sb() 1137 uvoff + (8 * hbs * bytesperpixel >> s->ss_h), bl + 1); in decode_sb() [all …]
|
D | vp9recon.c | 38 int p, int ss_h, int ss_v, int bytesperpixel) in check_intra_mode() argument 99 int n_px_need = 4 << tx, n_px_have = (((s->cols - col) << !ss_h) - x) * 4; in check_intra_mode() 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() 259 w4 >>= s->ss_h; in intra_recon() 260 end_x >>= s->ss_h; in intra_recon() 277 b->uvtx, p + 1, s->ss_h, s->ss_v, bytesperpixel); in intra_recon() 345 int mx = mv->x * (1 << !s->ss_h), my = mv->y * (1 << !s->ss_v), th; in mc_chroma_unscaled() 489 if (s->ss_h) { in mc_chroma_scaled() 626 end_x >>= s->ss_h; in inter_recon()
|
D | vp9dec.h | 110 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()
|