Lines Matching refs:rects
208 if (h->num_rects == 0 || h->rects == NULL)
231 bytestream_put_be16(&q, h->rects[region_id]->x); /* left pos */
232 bytestream_put_be16(&q, h->rects[region_id]->y); /* top pos */
242 if (h->rects[clut_id]->nb_colors <= 4) {
245 } else if (h->rects[clut_id]->nb_colors <= 16) {
260 for(i = 0; i < h->rects[clut_id]->nb_colors; i++) {
265 uint32_t x= ((uint32_t*)h->rects[clut_id]->pict.data[1])[i];
286 if (h->rects[region_id]->nb_colors <= 4) {
289 } else if (h->rects[region_id]->nb_colors <= 16) {
303 bytestream_put_be16(&q, h->rects[region_id]->w); /* region width */
304 bytestream_put_be16(&q, h->rects[region_id]->h); /* region height */
326 if (h->rects[object_id]->nb_colors <= 4) {
329 } else if (h->rects[object_id]->nb_colors <= 16) {
362 dvb_encode_rle(&q, h->rects[object_id]->pict.data[0], h->rects[object_id]->w * 2,
363 h->rects[object_id]->w, h->rects[object_id]->h >> 1);
365 dvb_encode_rle(&q, h->rects[object_id]->pict.data[0] + h->rects[object_id]->w,
366 h->rects[object_id]->w * 2, h->rects[object_id]->w,
367 h->rects[object_id]->h >> 1);