Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
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->blocks_per_line), ureg_src(tmp)); in create_vert_shader()
[all …]
Dvl_zscan.h78 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);
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[i], desc->alternate_scan ? in vl_mpeg12_decode_bitstream()
809 … 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.h96 struct vl_zscan_buffer zscan[VL_NUM_COMPONENTS]; member
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.h100 const int *zscan; member
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()
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()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_dec.c491 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in get_mpeg2_msg() local
504 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]]; in get_mpeg2_msg()
510 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]]; in get_mpeg2_msg()
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()
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c790 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in get_mpeg2_msg() local
803 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]]; in get_mpeg2_msg()
804 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]]; in get_mpeg2_msg()