Home
last modified time | relevance | path

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

/hardware/intel/img/psb_video/src/
Dpnw_H264ES.c209 VAEncSequenceParameterBufferH264 *pSequenceParams; in pnw__H264ES_process_sequence_param() local
230 pSequenceParams = (VAEncSequenceParameterBufferH264 *) obj_buffer->buffer_data; in pnw__H264ES_process_sequence_param()
234 if (!pSequenceParams->bits_per_second) { in pnw__H264ES_process_sequence_param()
235 pSequenceParams->bits_per_second = ctx->Height * ctx->Width * 30 * 12; in pnw__H264ES_process_sequence_param()
237 pSequenceParams->bits_per_second); in pnw__H264ES_process_sequence_param()
240 (pSequenceParams->bits_per_second == ctx->sRCParams.BitsPerSecond ? in pnw__H264ES_process_sequence_param()
243 if (pSequenceParams->bits_per_second > TOPAZ_H264_MAX_BITRATE) { in pnw__H264ES_process_sequence_param()
247 pSequenceParams->bits_per_second, in pnw__H264ES_process_sequence_param()
261 if (pSequenceParams->bits_per_second > max_bps) { in pnw__H264ES_process_sequence_param()
264 "\n clip to %d bps\n", pSequenceParams->bits_per_second, max_bps); in pnw__H264ES_process_sequence_param()
[all …]
Dpnw_H263ES.c182 VAEncSequenceParameterBufferH263 *pSequenceParams; in pnw__H263ES_process_sequence_param() local
199 pSequenceParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; in pnw__H263ES_process_sequence_param()
203 if (pSequenceParams->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in pnw__H263ES_process_sequence_param()
207 pSequenceParams->bits_per_second, in pnw__H263ES_process_sequence_param()
210 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in pnw__H263ES_process_sequence_param()
212 ctx->sRCParams.FrameRate = (pSequenceParams->frame_rate < 1) ? 1 : in pnw__H263ES_process_sequence_param()
213 ((65535 < pSequenceParams->frame_rate) ? 65535 : pSequenceParams->frame_rate); in pnw__H263ES_process_sequence_param()
214 ctx->sRCParams.InitialQp = pSequenceParams->initial_qp; in pnw__H263ES_process_sequence_param()
215 ctx->sRCParams.MinQP = pSequenceParams->min_qp; in pnw__H263ES_process_sequence_param()
229 if (ctx->sRCParams.IntraFreq != pSequenceParams->intra_period in pnw__H263ES_process_sequence_param()
[all …]
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H263ES.c190 VAEncSequenceParameterBufferH263 *pSequenceParams; in lnc__H263ES_process_sequence_param() local
201 pSequenceParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; in lnc__H263ES_process_sequence_param()
206 (ctx->sRCParams.BitsPerSecond != pSequenceParams->bits_per_second)) in lnc__H263ES_process_sequence_param()
209 if (pSequenceParams->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in lnc__H263ES_process_sequence_param()
213 pSequenceParams->bits_per_second, in lnc__H263ES_process_sequence_param()
216 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in lnc__H263ES_process_sequence_param()
218 if (pSequenceParams->initial_qp < 3) in lnc__H263ES_process_sequence_param()
219 pSequenceParams->initial_qp = 3; in lnc__H263ES_process_sequence_param()
221 ctx->sRCParams.FrameRate = pSequenceParams->frame_rate; in lnc__H263ES_process_sequence_param()
222 ctx->sRCParams.InitialQp = pSequenceParams->initial_qp; in lnc__H263ES_process_sequence_param()
[all …]
Dlnc_H264ES.c210 VAEncSequenceParameterBufferH264 *pSequenceParams; in lnc__H264ES_process_sequence_param() local
227 pSequenceParams = (VAEncSequenceParameterBufferH264 *) obj_buffer->buffer_data; in lnc__H264ES_process_sequence_param()
232 (ctx->sRCParams.BitsPerSecond != pSequenceParams->bits_per_second)) in lnc__H264ES_process_sequence_param()
238 if (pSequenceParams->bits_per_second > TOPAZ_H264_MAX_BITRATE) { in lnc__H264ES_process_sequence_param()
242 pSequenceParams->bits_per_second, in lnc__H264ES_process_sequence_param()
245 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in lnc__H264ES_process_sequence_param()
249 ctx->sRCParams.IntraFreq = pSequenceParams->intra_period; in lnc__H264ES_process_sequence_param()
253 ctx->sRCParams.IDRFreq = pSequenceParams->intra_idr_period; in lnc__H264ES_process_sequence_param()
285 …e_header((IMG_UINT32 *)(cmdbuf->header_mem_p + ctx->seq_header_ofs), pSequenceParams->max_num_ref_… in lnc__H264ES_process_sequence_param()
286 pSequenceParams->picture_width_in_mbs, in lnc__H264ES_process_sequence_param()
[all …]