Home | History | Annotate | Download | only in src

Lines Matching full:pbuffer

315     VAEncPictureParameterBufferJPEG *pBuffer;
334 pBuffer = (VAEncPictureParameterBufferJPEG *) obj_buffer->buffer_data;
339 if (((pBuffer->pic_flags).bits.profile != 0) || /* Only "0 - Baseline" is supported */
340 ((pBuffer->pic_flags).bits.progressive != 0) || /* Only "0 - sequential" is supported */
341 ((pBuffer->pic_flags).bits.huffman != 1) || /* Only "1 - huffman" is supported */
342 ((pBuffer->pic_flags).bits.interleaved != 0) || /* Only "0 - non interleaved" is supported */
343 ((pBuffer->pic_flags).bits.differential != 0)) /* Only "0 - non differential" is supported */
346 if ((pBuffer->sample_bit_depth != 8) || /* Only 8-bits sample depth is supported */
347 (pBuffer->num_components != PNW_JPEG_COMPONENTS_NUM) || /* Only 3 components setting is supported */
348 (pBuffer->quality > 100))
352 if (pBuffer->quality != 0) { /* Quality value is set */
355 pBuffer->quality);
359 jpeg_ctx->ui32OutputWidth = (unsigned short)(~0x1 & (pBuffer->picture_width + 0x1));
360 jpeg_ctx->ui32OutputHeight = (unsigned short)(~0x1 & (pBuffer->picture_height + 0x1));
382 ctx->coded_buf = BUFFER(pBuffer->coded_buf);
383 free(pBuffer);
461 VAQMatrixBufferJPEG *pBuffer;
468 pBuffer = (VAQMatrixBufferJPEG *) obj_buffer->buffer_data;
471 if (0 != pBuffer->load_lum_quantiser_matrix) {
473 if (pBuffer->lum_quantiser_matrix[i] != 0)
475 pBuffer->lum_quantiser_matrix[i];
478 if (0 != pBuffer->load_chroma_quantiser_matrix) {
480 if (pBuffer->chroma_quantiser_matrix[i] != 0)
482 pBuffer->chroma_quantiser_matrix[i];