Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_h264_enc.c113 struct h264_slice_descriptor slice_descriptor = { }; in vlVaHandleVAEncSliceParameterBufferTypeH264() local
114 slice_descriptor.macroblock_address = h264->macroblock_address; in vlVaHandleVAEncSliceParameterBufferTypeH264()
115 slice_descriptor.num_macroblocks = h264->num_macroblocks; in vlVaHandleVAEncSliceParameterBufferTypeH264()
119 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_B; in vlVaHandleVAEncSliceParameterBufferTypeH264()
122 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_P; in vlVaHandleVAEncSliceParameterBufferTypeH264()
125 if (slice_descriptor.macroblock_address == 0) { in vlVaHandleVAEncSliceParameterBufferTypeH264()
129 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_I; in vlVaHandleVAEncSliceParameterBufferTypeH264()
132 slice_descriptor.slice_type = PIPE_H264_SLICE_TYPE_I; in vlVaHandleVAEncSliceParameterBufferTypeH264()
142 …>desc.h264enc.slices_descriptors[context->desc.h264enc.num_slice_descriptors++] = slice_descriptor; in vlVaHandleVAEncSliceParameterBufferTypeH264()