Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_zscan.c120 create_vert_shader(struct vl_zscan *zscan) in create_vert_shader() argument
134 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader()
137 (float)VL_BLOCK_WIDTH / zscan->buffer_width, in create_vert_shader()
138 (float)VL_BLOCK_HEIGHT / zscan->buffer_height); in create_vert_shader()
148 for (i = 0; i < zscan->num_channels; ++i) in create_vert_shader()
168 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line)); in create_vert_shader()
173 for (i = 0; i < zscan->num_channels; ++i) { in create_vert_shader()
175 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH) in create_vert_shader()
176 * ((signed)i - (signed)zscan->num_channels / 2))); in create_vert_shader()
179 ureg_imm1f(shader, 1.0f / zscan in create_vert_shader()
195 create_frag_shader(struct vl_zscan *zscan) create_frag_shader() argument
257 init_shaders(struct vl_zscan *zscan) init_shaders() argument
279 cleanup_shaders(struct vl_zscan *zscan) cleanup_shaders() argument
288 init_state(struct vl_zscan *zscan) init_state() argument
359 cleanup_state(struct vl_zscan *zscan) cleanup_state() 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) vl_zscan_init() argument
476 vl_zscan_cleanup(struct vl_zscan *zscan) vl_zscan_cleanup() argument
485 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, struct pipe_sampler_view *src, struct pipe_surface *dst) vl_zscan_init_buffer() argument
559 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, const uint8_t matrix[64], bool intra) vl_zscan_upload_quant() argument
600 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances) vl_zscan_render() 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.c208 &buffer->zscan[i], buffer->zscan_source, destination[i])) in init_zscan_buffer()
215 vl_zscan_cleanup_buffer(&buffer->zscan[i - 1]); in init_zscan_buffer()
233 vl_zscan_cleanup_buffer(&buffer->zscan[i]); in cleanup_zscan_buffer()
619 struct vl_zscan *zscan = i == 0 ? &dec->zscan_y : &dec->zscan_c; in vl_mpeg12_begin_frame() local
620 vl_zscan_upload_quant(zscan, &buf->zscan[i], intra_matrix, true); in vl_mpeg12_begin_frame()
621 vl_zscan_upload_quant(zscan, &buf->zscan[i], non_intra_matrix, false); in vl_mpeg12_begin_frame()
648 vl_zscan_set_layout(&buf->zscan[i], dec->zscan_linear); in vl_mpeg12_begin_frame()
742 vl_zscan_set_layout(&buf->zscan[ in vl_mpeg12_decode_bitstream()
[all...]
H A Dvl_mpeg12_decoder.h96 struct vl_zscan_buffer zscan[VL_NUM_COMPONENTS]; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.h100 const int *zscan; member
H A Dnv84_video_vp.c342 *dec->mpeg12_data++ = dec->zscan[i] * 2; in nv84_decoder_vp_mpeg12_mb()
354 *dec->mpeg12_data++ = dec->zscan[i] * 2; in nv84_decoder_vp_mpeg12_mb()
401 *dec->mpeg12_data++ = dec->zscan[i] * 2; in nv84_decoder_vp_mpeg12_mb()
H A Dnv84_video.c195 dec->zscan = desc->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in nv84_decoder_begin_frame_mpeg12()
197 dec->mpeg12_intra_matrix[i] = desc->intra_matrix[dec->zscan[i]]; in nv84_decoder_begin_frame_mpeg12()
198 dec->mpeg12_non_intra_matrix[i] = desc->non_intra_matrix[dec->zscan[i]]; in nv84_decoder_begin_frame_mpeg12()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dradeon_uvd.c563 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in get_mpeg2_msg() local
576 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]]; in get_mpeg2_msg()
577 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]]; in get_mpeg2_msg()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_uvd.c865 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in get_mpeg2_msg() local
877 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]]; in get_mpeg2_msg()
883 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]]; in get_mpeg2_msg()
H A Dradeon_vcn_dec.c1480 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in get_mpeg2_msg() local
1493 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]]; in get_mpeg2_msg()
1499 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]]; in get_mpeg2_msg()

Completed in 13 milliseconds