Searched refs:zscan (Results 1 - 21 of 21) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
H A Dvl_zscan.c120 create_vert_shader(struct vl_zscan *zscan) argument
134 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst));
137 (float)VL_BLOCK_WIDTH / zscan->buffer_width,
138 (float)VL_BLOCK_HEIGHT / zscan->buffer_height);
148 for (i = 0; i < zscan->num_channels; ++i)
168 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line));
173 for (i = 0; i < zscan->num_channels; ++i) {
175 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH)
176 * ((signed)i - (signed)zscan->num_channels / 2)));
179 ureg_imm1f(shader, 1.0f / zscan
195 create_frag_shader(struct vl_zscan * zscan) argument
257 init_shaders(struct vl_zscan * zscan) argument
279 cleanup_shaders(struct vl_zscan * zscan) argument
288 init_state(struct vl_zscan * zscan) argument
359 cleanup_state(struct vl_zscan * zscan) argument
450 vl_zscan_init(struct vl_zscan * zscan,struct pipe_context * pipe,unsigned buffer_width,unsigned buffer_height,unsigned blocks_per_line,unsigned blocks_total,unsigned num_channels) argument
476 vl_zscan_cleanup(struct vl_zscan * zscan) argument
485 vl_zscan_init_buffer(struct vl_zscan * zscan,struct vl_zscan_buffer * buffer,struct pipe_sampler_view * src,struct pipe_surface * dst) argument
555 vl_zscan_upload_quant(struct vl_zscan * zscan,struct vl_zscan_buffer * buffer,const uint8_t matrix[64],bool intra) argument
596 vl_zscan_render(struct vl_zscan * zscan,struct vl_zscan_buffer * buffer,unsigned num_instances) argument
[all...]
H A Dvl_zscan.h35 * shader based zscan and quantification
78 vl_zscan_init(struct vl_zscan *zscan, struct pipe_context *pipe,
84 vl_zscan_cleanup(struct vl_zscan *zscan);
87 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
97 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
101 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
H A Dvl_mpeg12_decoder.h96 struct vl_zscan_buffer zscan[VL_NUM_COMPONENTS]; member in struct:vl_mpeg12_buffer
H A Dvl_mpeg12_decoder.c208 &buffer->zscan[i], buffer->zscan_source, destination[i]))
215 vl_zscan_cleanup_buffer(&buffer->zscan[i - 1]);
233 vl_zscan_cleanup_buffer(&buffer->zscan[i]);
619 struct vl_zscan *zscan = i == 0 ? &dec->zscan_y : &dec->zscan_c; local in function:vl_mpeg12_begin_frame
620 vl_zscan_upload_quant(zscan, &buf->zscan[i], intra_matrix, true);
621 vl_zscan_upload_quant(zscan, &buf->zscan[i], non_intra_matrix, false);
648 vl_zscan_set_layout(&buf->zscan[i], dec->zscan_linear);
742 vl_zscan_set_layout(&buf->zscan[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
H A Dvl_zscan.c120 create_vert_shader(struct vl_zscan *zscan) argument
134 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst));
137 (float)VL_BLOCK_WIDTH / zscan->buffer_width,
138 (float)VL_BLOCK_HEIGHT / zscan->buffer_height);
148 for (i = 0; i < zscan->num_channels; ++i)
168 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line));
173 for (i = 0; i < zscan->num_channels; ++i) {
175 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH)
176 * ((signed)i - (signed)zscan->num_channels / 2)));
179 ureg_imm1f(shader, 1.0f / zscan
195 create_frag_shader(struct vl_zscan * zscan) argument
257 init_shaders(struct vl_zscan * zscan) argument
279 cleanup_shaders(struct vl_zscan * zscan) argument
288 init_state(struct vl_zscan * zscan) argument
359 cleanup_state(struct vl_zscan * zscan) argument
450 vl_zscan_init(struct vl_zscan * zscan,struct pipe_context * pipe,unsigned buffer_width,unsigned buffer_height,unsigned blocks_per_line,unsigned blocks_total,unsigned num_channels) argument
476 vl_zscan_cleanup(struct vl_zscan * zscan) argument
485 vl_zscan_init_buffer(struct vl_zscan * zscan,struct vl_zscan_buffer * buffer,struct pipe_sampler_view * src,struct pipe_surface * dst) argument
559 vl_zscan_upload_quant(struct vl_zscan * zscan,struct vl_zscan_buffer * buffer,const uint8_t matrix[64],bool intra) argument
600 vl_zscan_render(struct vl_zscan * zscan,struct vl_zscan_buffer * buffer,unsigned num_instances) argument
[all...]
H A Dvl_zscan.h35 * shader based zscan and quantification
78 vl_zscan_init(struct vl_zscan *zscan, struct pipe_context *pipe,
84 vl_zscan_cleanup(struct vl_zscan *zscan);
87 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
97 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
101 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
H A Dvl_mpeg12_decoder.h96 struct vl_zscan_buffer zscan[VL_NUM_COMPONENTS]; member in struct:vl_mpeg12_buffer
H A Dvl_mpeg12_decoder.c208 &buffer->zscan[i], buffer->zscan_source, destination[i]))
215 vl_zscan_cleanup_buffer(&buffer->zscan[i - 1]);
233 vl_zscan_cleanup_buffer(&buffer->zscan[i]);
619 struct vl_zscan *zscan = i == 0 ? &dec->zscan_y : &dec->zscan_c; local in function:vl_mpeg12_begin_frame
620 vl_zscan_upload_quant(zscan, &buf->zscan[i], intra_matrix, true);
621 vl_zscan_upload_quant(zscan, &buf->zscan[i], non_intra_matrix, false);
648 vl_zscan_set_layout(&buf->zscan[i], dec->zscan_linear);
742 vl_zscan_set_layout(&buf->zscan[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.h100 const int *zscan; member in struct:nv84_decoder
H A Dnv84_video_vp.c342 *dec->mpeg12_data++ = dec->zscan[i] * 2;
354 *dec->mpeg12_data++ = dec->zscan[i] * 2;
401 *dec->mpeg12_data++ = dec->zscan[i] * 2;
H A Dnv84_video.c195 dec->zscan = desc->alternate_scan ? vl_zscan_alternate : vl_zscan_normal;
197 dec->mpeg12_intra_matrix[i] = desc->intra_matrix[dec->zscan[i]];
198 dec->mpeg12_non_intra_matrix[i] = desc->non_intra_matrix[dec->zscan[i]];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.h100 const int *zscan; member in struct:nv84_decoder
H A Dnv84_video_vp.c342 *dec->mpeg12_data++ = dec->zscan[i] * 2;
354 *dec->mpeg12_data++ = dec->zscan[i] * 2;
401 *dec->mpeg12_data++ = dec->zscan[i] * 2;
H A Dnv84_video.c195 dec->zscan = desc->alternate_scan ? vl_zscan_alternate : vl_zscan_normal;
197 dec->mpeg12_intra_matrix[i] = desc->intra_matrix[dec->zscan[i]];
198 dec->mpeg12_non_intra_matrix[i] = desc->non_intra_matrix[dec->zscan[i]];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dradeon_uvd.c563 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; local in function:get_mpeg2_msg
576 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]];
577 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]];
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D13.0.4.rst105 - vl/zscan: fix "Fix trivial sign compare warnings"
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dradeon_uvd.c790 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; local in function:get_mpeg2_msg
803 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]];
804 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeon/
H A Dradeon_uvd.c865 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; local in function:get_mpeg2_msg
877 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]];
883 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]];
H A Dradeon_vcn_dec.c666 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; local in function:get_mpeg2_msg
679 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]];
685 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon/
H A Dradeon_uvd.c865 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; local in function:get_mpeg2_msg
877 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]];
883 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]];
H A Dradeon_vcn_dec.c1228 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; local in function:get_mpeg2_msg
1241 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]];
1247 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]];

Completed in 42 milliseconds