Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_zscan.c92 create_vert_shader(struct vl_zscan *zscan) in create_vert_shader() argument
109 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader()
112 (float)VL_BLOCK_WIDTH / zscan->buffer_width, in create_vert_shader()
113 (float)VL_BLOCK_HEIGHT / zscan->buffer_height); in create_vert_shader()
123 for (i = 0; i < zscan->num_channels; ++i) in create_vert_shader()
143 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line)); in create_vert_shader()
148 for (i = 0; i < zscan->num_channels; ++i) { in create_vert_shader()
150 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH) in create_vert_shader()
151 * (i - (signed)zscan->num_channels / 2))); in create_vert_shader()
154 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); in create_vert_shader()
[all …]
Dvl_zscan.h75 vl_zscan_init(struct vl_zscan *zscan, struct pipe_context *pipe,
81 vl_zscan_cleanup(struct vl_zscan *zscan);
84 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
94 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
98 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
Dvl_mpeg12_decoder.c129 &buffer->zscan[i], buffer->zscan_source, destination[i])) in init_zscan_buffer()
136 vl_zscan_cleanup_buffer(&buffer->zscan[i - 1]); in init_zscan_buffer()
154 vl_zscan_cleanup_buffer(&buffer->zscan[i]); in cleanup_zscan_buffer()
537 struct vl_zscan *zscan = i == 0 ? &dec->zscan_y : &dec->zscan_c; in vl_mpeg12_begin_frame() local
538 vl_zscan_upload_quant(zscan, &buf->zscan[i], intra_matrix, true); in vl_mpeg12_begin_frame()
539 vl_zscan_upload_quant(zscan, &buf->zscan[i], non_intra_matrix, false); in vl_mpeg12_begin_frame()
568 vl_zscan_set_layout(&buf->zscan[i], dec->zscan_linear); in vl_mpeg12_begin_frame()
662 vl_zscan_set_layout(&buf->zscan[i], desc->alternate_scan ? in vl_mpeg12_decode_bitstream()
730 … vl_zscan_render(i ? &dec->zscan_c : & dec->zscan_y, &buf->zscan[i] , buf->num_ycbcr_blocks[i]); in vl_mpeg12_end_frame()
Dvl_mpeg12_decoder.h92 struct vl_zscan_buffer zscan[VL_NUM_COMPONENTS]; member