Searched refs:sub_rect (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | libzvbi-teletextdec.c | 48 AVSubtitleRect *sub_rect; member 141 static void subtitle_rect_free(AVSubtitleRect **sub_rect) in subtitle_rect_free() argument 143 av_freep(&(*sub_rect)->data[0]); in subtitle_rect_free() 144 av_freep(&(*sub_rect)->data[1]); in subtitle_rect_free() 145 av_freep(&(*sub_rect)->ass); in subtitle_rect_free() 146 av_freep(sub_rect); in subtitle_rect_free() 166 static int gen_sub_text(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_to… in gen_sub_text() argument 218 sub_rect->type = SUBTITLE_ASS; in gen_sub_text() 219 sub_rect->ass = create_ass_text(ctx, buf.str); in gen_sub_text() 221 if (!sub_rect->ass) { in gen_sub_text() [all …]
|
/third_party/ffmpeg/fftools/ |
D | ffplay.c | 999 AVSubtitleRect *sub_rect = sp->sub.rects[i]; in video_image_display() local 1001 sub_rect->x = av_clip(sub_rect->x, 0, sp->width ); in video_image_display() 1002 sub_rect->y = av_clip(sub_rect->y, 0, sp->height); in video_image_display() 1003 sub_rect->w = av_clip(sub_rect->w, 0, sp->width - sub_rect->x); in video_image_display() 1004 sub_rect->h = av_clip(sub_rect->h, 0, sp->height - sub_rect->y); in video_image_display() 1007 sub_rect->w, sub_rect->h, AV_PIX_FMT_PAL8, in video_image_display() 1008 sub_rect->w, sub_rect->h, AV_PIX_FMT_BGRA, in video_image_display() 1014 … if (!SDL_LockTexture(is->sub_texture, (SDL_Rect *)sub_rect, (void **)pixels, pitch)) { in video_image_display() 1015 … sws_scale(is->sub_convert_ctx, (const uint8_t * const *)sub_rect->data, sub_rect->linesize, in video_image_display() 1016 0, sub_rect->h, pixels, pitch); in video_image_display() [all …]
|