Lines Matching defs:x_pos
171 int x_pos;
194 int x_pos;
738 int x_pos, y_pos;
767 x_pos = display->x_pos;
774 if (x_pos > region->width || y_pos > region->height) {
788 x_pos += dvbsub_read_2bit_string(pbuf + (y_pos * region->width) + x_pos,
789 region->width - x_pos, &buf, buf_end - buf,
803 x_pos += dvbsub_read_4bit_string(pbuf + (y_pos * region->width) + x_pos,
804 region->width - x_pos, &buf, buf_end - buf,
813 x_pos += dvbsub_read_8bit_string(pbuf + (y_pos * region->width) + x_pos,
814 region->width - x_pos, &buf, buf_end - buf,
834 x_pos = display->x_pos;
1079 display->x_pos = AV_RB16(buf) & 0xfff;
1141 display->x_pos = AV_RB16(buf);
1152 av_dlog(avctx, "Region %d, (%d,%d)\n", region_id, display->x_pos, display->y_pos);
1173 int x_pos, y_pos, width, height;
1179 x_pos = -1;
1187 if (x_pos == -1) {
1188 x_pos = display->x_pos;
1193 if (display->x_pos < x_pos) {
1194 width += (x_pos - display->x_pos);
1195 x_pos = display->x_pos;
1203 if (display->x_pos + region->width > x_pos + width) {
1204 width = display->x_pos + region->width - x_pos;
1213 if (x_pos >= 0) {
1220 x_off = display->x_pos - x_pos;
1342 rect->x = display->x_pos + offset_x;