Searched refs:zscan (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_zscan.c | 99 create_vert_shader(struct vl_zscan *zscan) in create_vert_shader() argument 113 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader() 116 (float)VL_BLOCK_WIDTH / zscan->buffer_width, in create_vert_shader() 117 (float)VL_BLOCK_HEIGHT / zscan->buffer_height); in create_vert_shader() 127 for (i = 0; i < zscan->num_channels; ++i) in create_vert_shader() 147 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line)); in create_vert_shader() 152 for (i = 0; i < zscan->num_channels; ++i) { in create_vert_shader() 154 ureg_imm1f(shader, 1.0f / (zscan->blocks_per_line * VL_BLOCK_WIDTH) in create_vert_shader() 155 * ((signed)i - (signed)zscan->num_channels / 2))); in create_vert_shader() 158 ureg_imm1f(shader, 1.0f / zscan->blocks_per_line), ureg_src(tmp)); in create_vert_shader() [all …]
|
D | vl_zscan.h | 76 vl_zscan_init(struct vl_zscan *zscan, struct pipe_context *pipe, 82 vl_zscan_cleanup(struct vl_zscan *zscan); 85 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, 95 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, 99 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
|
D | vl_mpeg12_decoder.c | 208 &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()
|
D | vl_mpeg12_decoder.h | 96 struct vl_zscan_buffer zscan[VL_NUM_COMPONENTS]; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video.h | 100 const int *zscan; member
|
D | nv84_video_vp.c | 342 *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()
|
D | nv84_video.c | 195 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/ |
D | radeon_uvd.c | 825 const int *zscan = pic->alternate_scan ? vl_zscan_alternate : vl_zscan_normal; in get_mpeg2_msg() local 838 result.intra_quantiser_matrix[i] = pic->intra_matrix[zscan[i]]; in get_mpeg2_msg() 839 result.nonintra_quantiser_matrix[i] = pic->non_intra_matrix[zscan[i]]; in get_mpeg2_msg()
|