Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1532 unsigned int chroma_div; in total_frame_size() local
1539 chroma_div = q_data->info->width_div * q_data->info->height_div; in total_frame_size()
1542 return 2 * size + 2 * (size / chroma_div); in total_frame_size()
1544 return size + 2 * (size / chroma_div); in total_frame_size()
1556 unsigned int chroma_div; in vicodec_start_streaming() local
1560 chroma_div = info->width_div * info->height_div; in vicodec_start_streaming()
1625 state->ref_frame.cr = state->ref_frame.cb + size / chroma_div; in vicodec_start_streaming()
1629 state->ref_frame.cr + size / chroma_div; in vicodec_start_streaming()