Home
last modified time | relevance | path

Searched refs:vrect (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddvdsubenc.c263 AVSubtitleRect vrect; in encode_dvd_subtitles() local
296 vrect = *h->rects[0]; in encode_dvd_subtitles() local
311 vrect.x = xmin; in encode_dvd_subtitles()
312 vrect.y = ymin; in encode_dvd_subtitles()
313 vrect.w = xmax - xmin; in encode_dvd_subtitles()
314 vrect.h = ymax - ymin; in encode_dvd_subtitles()
315 if ((ret = av_image_check_size(vrect.w, vrect.h, 0, avctx)) < 0) in encode_dvd_subtitles()
319 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles()
329 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles()
331 vrect.data [0] = vrect_data; in encode_dvd_subtitles()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_idct.c262 struct ureg_src vrect, vpos; in create_stage1_vert_shader() local
271 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in create_stage1_vert_shader()
301 ureg_ADD(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, vrect); in create_stage1_vert_shader()
310 calc_addr(shader, o_r_addr, vrect, ureg_imm1f(shader, 0.0f), true, true, VL_BLOCK_WIDTH / 4); in create_stage1_vert_shader()
396 struct ureg_src vrect, vpos; in vl_idct_stage2_vert_shader() local
401 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in vl_idct_stage2_vert_shader()
419 ureg_scalar(vrect, TGSI_SWIZZLE_X), in vl_idct_stage2_vert_shader()
423 calc_addr(shader, o_l_addr, vrect, ureg_imm1f(shader, 0.0f), false, false, VL_BLOCK_WIDTH / 4); in vl_idct_stage2_vert_shader()
Dvl_mc.c55 struct ureg_src vrect, vpos; in calc_position() local
59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in calc_position()
73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); in calc_position()
233 struct ureg_src vrect, vpos; in create_ycbcr_vert_shader() local
248 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in create_ycbcr_vert_shader()
282 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)), in create_ycbcr_vert_shader()
Dvl_zscan.c124 struct ureg_src vrect, vpos, block_num; in create_vert_shader() local
140 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); in create_vert_shader()
163 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect); in create_vert_shader()
178 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect, in create_vert_shader()
180 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect); in create_vert_shader()