Lines Matching defs:region
211 const arib_buf_region_t *region = arib_decoder_get_regions(b24->decoder);
218 while (region) {
219 ptrdiff_t region_length = region->p_end - region->p_start;
221 region->i_fontheight == (profile_font_size / 2);
224 int foreground_bgr_color = RGB_TO_BGR(region->i_foreground_color);
225 int background_bgr_color = RGB_TO_BGR(region->i_background_color);
228 av_log(avctx, AV_LOG_ERROR, "Invalid negative region length!\n");
241 if (region->i_foreground_alpha != 0)
242 av_bprintf(&buf, "{\\1a&H%02x&}", region->i_foreground_alpha);
247 if (region->i_background_alpha != 0)
248 av_bprintf(&buf, "{\\3a&H%02x&}", region->i_background_alpha);
251 if (region->i_fontwidth != profile_font_size ||
252 region->i_fontheight != profile_font_size) {
254 av_rescale(region->i_fontwidth, 100,
256 av_rescale(region->i_fontheight, 100,
262 av_bprint_append_data(&buf, region->p_start, region_length);
267 region = region->p_next;
353 // flush the region buffers, otherwise the linked list keeps getting