Lines Matching defs:y_ctb
194 int y_ctb = y >> s->sps->log2_ctb_size;
195 int ctb_addr_rs = y_ctb * s->sps->ctb_width + x_ctb;
197 SAOParams *sao = &CTB(s->sao, x_ctb, y_ctb);
202 uint8_t lfase = CTB(s->filter_slice_edges, x_ctb, y_ctb);
212 edges[1] = y_ctb == 0;
214 edges[3] = y_ctb == s->sps->ctb_height - 1;
219 vert_edge[0] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb - 1, y_ctb)) || left_tile_edge;
223 vert_edge[1] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb + 1, y_ctb)) || right_tile_edge;
227 horiz_edge[0] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb, y_ctb - 1)) || up_tile_edge;
231 horiz_edge[1] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb, y_ctb + 1)) || bottom_tile_edge;
234 diag_edge[0] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb - 1, y_ctb - 1)) || left_tile_edge || up_tile_edge;
237 diag_edge[1] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb + 1, y_ctb - 1)) || right_tile_edge || up_tile_edge;
240 diag_edge[2] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb + 1, y_ctb + 1)) || right_tile_edge || bottom_tile_edge;
243 diag_edge[3] = (!lfase && CTB(s->tab_slice_address, x_ctb, y_ctb) != CTB(s->tab_slice_address, x_ctb - 1, y_ctb + 1)) || left_tile_edge || bottom_tile_edge;
704 void ff_hevc_hls_filters(HEVCContext *s, int x_ctb, int y_ctb, int ctb_size)
707 int y_end = y_ctb >= s->sps->height - ctb_size;
708 if (y_ctb && x_ctb)
709 ff_hevc_hls_filter(s, x_ctb - ctb_size, y_ctb - ctb_size, ctb_size);
710 if (y_ctb && x_end)
711 ff_hevc_hls_filter(s, x_ctb, y_ctb - ctb_size, ctb_size);
713 ff_hevc_hls_filter(s, x_ctb - ctb_size, y_ctb, ctb_size);