/third_party/mesa3d/src/loader/ |
D | loader_dri3_helper.c | 64 dri3_flush_present_events(struct loader_dri3_drawable *draw); 67 dri3_find_back_alloc(struct loader_dri3_drawable *draw); 84 get_xcb_visualtype_for_depth(struct loader_dri3_drawable *draw, int depth) in get_xcb_visualtype_for_depth() argument 87 xcb_screen_t *screen = draw->screen; in get_xcb_visualtype_for_depth() 134 dri3_get_red_mask_for_depth(struct loader_dri3_drawable *draw, int depth) in dri3_get_red_mask_for_depth() argument 136 xcb_visualtype_t *visual = get_xcb_visualtype_for_depth(draw, depth); in dri3_get_red_mask_for_depth() 150 static bool loader_dri3_have_image_blit(const struct loader_dri3_drawable *draw) in loader_dri3_have_image_blit() argument 152 return draw->ext->image->base.version >= 9 && in loader_dri3_have_image_blit() 153 draw->ext->image->blitImage != NULL; in loader_dri3_have_image_blit() 169 loader_dri3_blit_context_get(struct loader_dri3_drawable *draw) in loader_dri3_blit_context_get() argument [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_context.c | 84 struct draw_context *draw = CALLOC_STRUCT( draw_context ); in draw_create_context() local 85 if (!draw) in draw_create_context() 93 draw->llvm = draw_llvm_create(draw, (LLVMContextRef)context); in draw_create_context() 97 draw->pipe = pipe; in draw_create_context() 98 draw->constant_buffer_stride = (sizeof(float) * 4); in draw_create_context() 100 if (!draw_init(draw)) in draw_create_context() 103 draw->ia = draw_prim_assembler_create(draw); in draw_create_context() 104 if (!draw->ia) in draw_create_context() 107 return draw; in draw_create_context() 110 draw_destroy( draw ); in draw_create_context() [all …]
|
D | draw_pipe.c | 40 boolean draw_pipeline_init( struct draw_context *draw ) in draw_pipeline_init() argument 43 draw->pipeline.wide_line = draw_wide_line_stage( draw ); in draw_pipeline_init() 44 draw->pipeline.wide_point = draw_wide_point_stage( draw ); in draw_pipeline_init() 45 draw->pipeline.stipple = draw_stipple_stage( draw ); in draw_pipeline_init() 46 draw->pipeline.unfilled = draw_unfilled_stage( draw ); in draw_pipeline_init() 47 draw->pipeline.twoside = draw_twoside_stage( draw ); in draw_pipeline_init() 48 draw->pipeline.offset = draw_offset_stage( draw ); in draw_pipeline_init() 49 draw->pipeline.clip = draw_clip_stage( draw ); in draw_pipeline_init() 50 draw->pipeline.flatshade = draw_flatshade_stage( draw ); in draw_pipeline_init() 51 draw->pipeline.cull = draw_cull_stage( draw ); in draw_pipeline_init() [all …]
|
D | draw_pt.c | 57 draw_pt_arrays(struct draw_context *draw, in draw_pt_arrays() argument 69 if (draw->gs.geometry_shader) in draw_pt_arrays() 70 out_prim = draw->gs.geometry_shader->output_primitive; in draw_pt_arrays() 71 else if (draw->tes.tess_eval_shader) in draw_pt_arrays() 72 out_prim = get_tes_output_prim(draw->tes.tess_eval_shader); in draw_pt_arrays() 74 if (!draw->render) { in draw_pt_arrays() 78 if (draw_need_pipeline(draw, in draw_pt_arrays() 79 draw->rasterizer, in draw_pt_arrays() 84 if ((draw->clip_xy || in draw_pt_arrays() 85 draw->clip_z || in draw_pt_arrays() [all …]
|
D | draw_pipe_validate.c | 50 draw_need_pipeline(const struct draw_context *draw, in draw_need_pipeline() argument 58 if (draw->render && in draw_need_pipeline() 59 draw->render->need_pipeline) in draw_need_pipeline() 61 return draw->render->need_pipeline( draw->render, in draw_need_pipeline() 72 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple) in draw_need_pipeline() 76 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold) in draw_need_pipeline() 80 if ((!rasterizer->multisample && rasterizer->line_smooth) && draw->pipeline.aaline) in draw_need_pipeline() 83 if (draw_current_shader_num_written_culldistances(draw)) in draw_need_pipeline() 88 if (rasterizer->point_size > draw->pipeline.wide_point_threshold) in draw_need_pipeline() 93 && draw->pipeline.wide_point_sprites) in draw_need_pipeline() [all …]
|
D | draw_context.h | 79 void draw_destroy( struct draw_context *draw ); 81 void draw_flush(struct draw_context *draw); 83 void draw_set_viewport_states( struct draw_context *draw, 106 void draw_set_rasterizer_state( struct draw_context *draw, 110 void draw_set_rasterize_stage( struct draw_context *draw, 113 void draw_wide_point_threshold(struct draw_context *draw, float threshold); 115 void draw_wide_point_sprites(struct draw_context *draw, boolean draw_sprite); 117 void draw_wide_line_threshold(struct draw_context *draw, float threshold); 119 void draw_enable_line_stipple(struct draw_context *draw, boolean enable); 121 void draw_enable_point_sprites(struct draw_context *draw, boolean enable); [all …]
|
D | draw_pt_fetch_shade_emit.c | 51 struct draw_context *draw; member 75 struct draw_context *draw = fse->draw; in fse_prepare() local 76 unsigned num_vs_inputs = draw->vs.vertex_shader->info.num_inputs; in fse_prepare() 83 assert(!draw->gs.geometry_shader); in fse_prepare() 85 draw->render->set_primitive(draw->render, prim); in fse_prepare() 89 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in fse_prepare() 98 fse->key.viewport = !draw->bypass_viewport; in fse_prepare() 99 fse->key.clip = draw->clip_xy || draw->clip_z || draw->clip_user; in fse_prepare() 106 const struct pipe_vertex_element *src = &draw->pt.vertex_element[i]; in fse_prepare() 118 if (draw->pt.vertex_buffer[i].stride == 0) in fse_prepare() [all …]
|
D | draw_vs.c | 57 draw_create_vertex_shader(struct draw_context *draw, in draw_create_vertex_shader() argument 63 if (draw->dump_vs) { in draw_create_vertex_shader() 68 if (draw->pt.middle.llvm) { in draw_create_vertex_shader() 69 struct pipe_screen *screen = draw->pipe->screen; in draw_create_vertex_shader() 79 vs = draw_create_vs_llvm(draw, &state); in draw_create_vertex_shader() 84 vs = draw_create_vs_exec( draw, &state ); in draw_create_vertex_shader() 121 draw_bind_vertex_shader(struct draw_context *draw, in draw_bind_vertex_shader() argument 124 draw_do_flush( draw, DRAW_FLUSH_STATE_CHANGE ); in draw_bind_vertex_shader() 128 draw->vs.vertex_shader = dvs; in draw_bind_vertex_shader() 129 draw->vs.num_vs_outputs = dvs->info.num_outputs; in draw_bind_vertex_shader() [all …]
|
D | draw_pt_fetch.c | 39 struct draw_context *draw; member 60 struct draw_context *draw = fetch->draw; in draw_pt_fetch_prepare() local 78 assert(draw->pt.nr_vertex_elements + num_extra_inputs >= vs_input_count); in draw_pt_fetch_prepare() 80 nr_inputs = MIN2(vs_input_count, draw->pt.nr_vertex_elements + num_extra_inputs); in draw_pt_fetch_prepare() 90 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare() 92 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare() 93 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare() 94 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare() 95 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare() 101 } else if (util_format_is_pure_uint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare() [all …]
|
D | draw_pt_emit.c | 39 struct draw_context *draw; member 58 struct draw_context *draw = emit->draw; in draw_pt_emit_prepare() local 66 draw_do_flush(draw, DRAW_FLUSH_BACKEND); in draw_pt_emit_prepare() 73 draw->render->set_primitive(draw->render, emit->prim); in draw_pt_emit_prepare() 74 if (draw->render->set_view_index) in draw_pt_emit_prepare() 75 draw->render->set_view_index(draw->render, draw->pt.user.viewid); in draw_pt_emit_prepare() 79 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare() 131 *max_vertices = (draw->render->max_vertex_buffer_bytes / in draw_pt_emit_prepare() 145 struct draw_context *draw = emit->draw; in draw_pt_emit() local 147 struct vbuf_render *render = draw->render; in draw_pt_emit() [all …]
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 46 struct draw_context *draw; member 75 struct draw_context *draw = fpme->draw; in llvm_middle_end_prepare_gs() local 77 struct draw_geometry_shader *gs = draw->gs.geometry_shader; in llvm_middle_end_prepare_gs() 145 struct draw_context *draw = fpme->draw; in llvm_middle_end_prepare_tcs() local 147 struct draw_tess_ctrl_shader *tcs = draw->tcs.tess_ctrl_shader; in llvm_middle_end_prepare_tcs() 215 struct draw_context *draw = fpme->draw; in llvm_middle_end_prepare_tes() local 217 struct draw_tess_eval_shader *tes = draw->tes.tess_eval_shader; in llvm_middle_end_prepare_tes() 268 variant = draw_tes_llvm_create_variant(llvm, draw_total_tes_outputs(draw), key); in llvm_middle_end_prepare_tes() 294 struct draw_context *draw = fpme->draw; in llvm_middle_end_prepare() local 296 struct draw_vertex_shader *vs = draw->vs.vertex_shader; in llvm_middle_end_prepare() [all …]
|
D | draw_pt_so_emit.c | 44 struct draw_context *draw; member 58 draw_so_info(const struct draw_context *draw) in draw_so_info() argument 62 if (draw->gs.geometry_shader) { in draw_so_info() 63 state = &draw->gs.geometry_shader->state.stream_output; in draw_so_info() 64 } else if (draw->tes.tess_eval_shader) { in draw_so_info() 65 state = &draw->tes.tess_eval_shader->state.stream_output; in draw_so_info() 67 state = &draw->vs.vertex_shader->state.stream_output; in draw_so_info() 74 draw_has_so(const struct draw_context *draw) in draw_has_so() argument 76 const struct pipe_stream_output_info *state = draw_so_info(draw); in draw_has_so() 86 struct draw_context *draw = emit->draw; in draw_pt_so_emit_prepare() local [all …]
|
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/ |
D | draw.txt | 1 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_list 2 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_strip 3 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_list 4 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_strip 5 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_list 6 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_strip 7 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_list 8 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_strip 9 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw.triangle_list 10 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw.triangle_strip [all …]
|
D | conditional-rendering.txt | 1 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw 2 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed 3 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect 4 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect 5 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect_count 6 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect_count 7 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw 8 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed 9 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indirect 10 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed_indirect [all …]
|
/third_party/vk-gl-cts/android/cts/master/vk-master-2020-03-01/ |
D | draw.txt | 1 dEQP-VK.draw.renderpass.concurrent.compute_and_triangle_list 2 dEQP-VK.draw.renderpass.instanced.draw_vk_primitive_topology_point_list_attrib_divisor_0_multiview 3 dEQP-VK.draw.renderpass.instanced.draw_vk_primitive_topology_point_list_attrib_divisor_1_multiview 4 dEQP-VK.draw.renderpass.instanced.draw_vk_primitive_topology_point_list_attrib_divisor_2_multiview 5 dEQP-VK.draw.renderpass.instanced.draw_vk_primitive_topology_point_list_attrib_divisor_4_multiview 6 dEQP-VK.draw.renderpass.instanced.draw_vk_primitive_topology_point_list_attrib_divisor_20_multiview 7 dEQP-VK.draw.renderpass.instanced.draw_indexed_vk_primitive_topology_point_list_attrib_divisor_0_mu… 8 dEQP-VK.draw.renderpass.instanced.draw_indexed_vk_primitive_topology_point_list_attrib_divisor_1_mu… 9 dEQP-VK.draw.renderpass.instanced.draw_indexed_vk_primitive_topology_point_list_attrib_divisor_2_mu… 10 dEQP-VK.draw.renderpass.instanced.draw_indexed_vk_primitive_topology_point_list_attrib_divisor_4_mu… [all …]
|
D | conditional-rendering.txt | 1 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_execution.draw 2 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_execution.draw_indexed 3 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_execution.draw_indirect 4 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_execution.draw_indexed_indirect 5 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_execution.draw_indirect_count 6 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_execution.draw_indexed_indirect_count 7 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_noop.draw 8 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_noop.draw_indexed 9 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_noop.draw_indirect 10 dEQP-VK.conditional_rendering.draw.condition_inherited_expect_noop.draw_indexed_indirect [all …]
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/ |
D | draw.txt | 1 dEQP-VK.draw.renderpass.concurrent.compute_and_triangle_list 2 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_list 3 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_strip 4 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_list 5 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_strip 6 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_list 7 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_strip 8 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_list 9 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_strip 10 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw.triangle_list [all …]
|
D | conditional-rendering.txt | 1 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw 2 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed 3 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect 4 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect 5 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect_count 6 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect_count 7 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw 8 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed 9 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indirect 10 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed_indirect [all …]
|
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/ |
D | draw.txt | 1 dEQP-VK.draw.renderpass.concurrent.compute_and_triangle_list 2 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_list 3 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_strip 4 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_list 5 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_strip 6 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_list 7 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_strip 8 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_list 9 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_strip 10 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw.triangle_list [all …]
|
D | conditional-rendering.txt | 1 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw 2 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed 3 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect 4 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect 5 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect_count 6 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect_count 7 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw 8 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed 9 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indirect 10 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed_indirect [all …]
|
/third_party/vk-gl-cts/android/cts/master/vk-master/ |
D | draw.txt | 1 dEQP-VK.draw.renderpass.concurrent.compute_and_triangle_list 2 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_list 3 dEQP-VK.draw.renderpass.simple_draw.simple_draw_triangle_strip 4 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_list 5 dEQP-VK.draw.renderpass.simple_draw.simple_draw_instanced_triangle_strip 6 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_list 7 dEQP-VK.draw.renderpass.indexed_draw.draw_indexed_triangle_strip 8 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_list 9 dEQP-VK.draw.renderpass.indexed_draw.draw_instanced_indexed_triangle_strip 10 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw.triangle_list [all …]
|
D | conditional-rendering.txt | 1 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw 2 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed 3 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect 4 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect 5 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indirect_count 6 dEQP-VK.conditional_rendering.draw.condition_expect_execution.draw_indexed_indirect_count 7 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw 8 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed 9 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indirect 10 dEQP-VK.conditional_rendering.draw.condition_expect_noop.draw_indexed_indirect [all …]
|
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/ |
D | draw.txt | 1 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count.triangle_list 2 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count.triangle_strip 3 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count_first_instance.triangle_… 4 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count_first_instance.triangle_… 5 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count_instanced.no_first_insta… 6 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count_instanced.no_first_insta… 7 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count_instanced.first_instance… 8 dEQP-VK.draw.renderpass.indirect_draw.sequential.indirect_draw_param_count_instanced.first_instance… 9 dEQP-VK.draw.renderpass.indirect_draw.indexed.indirect_draw_param_count.triangle_list 10 dEQP-VK.draw.renderpass.indirect_draw.indexed.indirect_draw_param_count.triangle_strip [all …]
|
D | conditional-rendering.txt | 1 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_execution.draw 2 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_execution.draw_index… 3 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_execution.draw_indir… 4 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_execution.draw_index… 5 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_execution.draw_indir… 6 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_execution.draw_index… 7 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_noop.draw 8 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_noop.draw_indexed 9 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_noop.draw_indirect 10 dEQP-VK.conditional_rendering.draw.condition_secondary_buffer_inherited_expect_noop.draw_indexed_in… [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | drawutils.c | 84 int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags) in ff_draw_init() argument 122 memset(draw, 0, sizeof(*draw)); in ff_draw_init() 123 draw->desc = desc; in ff_draw_init() 124 draw->format = format; in ff_draw_init() 125 draw->nb_planes = nb_planes; in ff_draw_init() 126 draw->flags = flags; in ff_draw_init() 127 draw->full_range = full_range; in ff_draw_init() 128 memcpy(draw->pixelstep, pixelstep, sizeof(draw->pixelstep)); in ff_draw_init() 129 draw->hsub[1] = draw->hsub[2] = draw->hsub_max = desc->log2_chroma_w; in ff_draw_init() 130 draw->vsub[1] = draw->vsub[2] = draw->vsub_max = desc->log2_chroma_h; in ff_draw_init() [all …]
|