Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 46) sorted by relevance

12

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_dpb.c457 if (active_fs->frame_num > pInfo->img.frame_num) in h264_dpb_update_ref_lists()
558 …pic_list_from_frame_list(p_dpb, gen_pic_pic_list, gen_pic_fs_list0, pInfo->img.structure, list0idx… in h264_dpb_update_ref_lists()
593 …ic_list_from_frame_list(p_dpb, gen_pic_pic_list, gen_pic_fs_listlt, pInfo->img.structure, listltid… in h264_dpb_update_ref_lists()
647 if (pInfo->img.framepoc >= active_fs->frame.poc) in h264_dpb_update_ref_lists()
682 if (pInfo->img.framepoc < active_fs->frame.poc) in h264_dpb_update_ref_lists()
751 if (pInfo->img.ThisPOC >= active_fs->frame.poc) { in h264_dpb_update_ref_lists()
781 if (pInfo->img.ThisPOC < active_fs->frame.poc) { in h264_dpb_update_ref_lists()
804 …pic_list_from_frame_list(p_dpb, gen_pic_pic_list, gen_pic_fs_list0, pInfo->img.structure, list0idx… in h264_dpb_update_ref_lists()
811 …pic_list_from_frame_list(p_dpb, gen_pic_pic_list, gen_pic_fs_list1, pInfo->img.structure, list0idx… in h264_dpb_update_ref_lists()
829 …ic_list_from_frame_list(p_dpb, gen_pic_pic_list, gen_pic_fs_listlt, pInfo->img.structure, listltid… in h264_dpb_update_ref_lists()
[all …]
Dh264parse.c123 pInfo->img.PicWidthInMbs = (pInfo->active_SPS.sps_disp.pic_width_in_mbs_minus1 + 1); in h264_active_par_set()
125 pInfo->img.FrameHeightInMbs = pInfo->active_SPS.sps_disp.frame_mbs_only_flag? \ in h264_active_par_set()
292 h264_memset(&(pInfo->img), 0x0, sizeof(h264_img_par) ); in h264_init_img()
344 h264_memset( &(pInfo->img), 0x0, sizeof(h264_img_par) ); in h264_init_Info_under_sps_pps_level()
400 pInfo->img.frame_count = 0; in h264_init_Info()
534 pInfo->img.current_slice_num = 0; in h264_check_previous_frame_end()
536 if((pInfo->img.structure == FRAME) || (pInfo->img.second_field)) { in h264_check_previous_frame_end()
615 pInfo->img.frame_num = pInfo->SliceHeader.frame_num; in h264_update_img_info()
616 pInfo->img.structure = pInfo->SliceHeader.structure; in h264_update_img_info()
618 pInfo->img.field_pic_flag = pInfo->SliceHeader.field_pic_flag; in h264_update_img_info()
[all …]
Dviddec_h264_parse.c54 pInfo->img.g_new_frame = 0; in viddec_h264_parse()
69 …nfo->nal_unit_type, pInfo->wl_err_curr, pInfo->is_current_workload_done, 0, pInfo->img.frame_num); in viddec_h264_parse()
77 pInfo->img.recovery_point_found |= 1; in viddec_h264_parse()
105 pInfo->img.recovery_point_found |=4; in viddec_h264_parse()
111 if(pInfo->img.recovery_point_found == 0) { in viddec_h264_parse()
112 pInfo->img.structure = FRAME; in viddec_h264_parse()
147 pInfo->img.current_slice_num++; in viddec_h264_parse()
167 pInfo->img.g_new_pic++; in viddec_h264_parse()
186 pInfo->img.second_field = h264_is_second_field(pInfo); in viddec_h264_parse()
187 if(pInfo->img.second_field == 0) in viddec_h264_parse()
[all …]
Dviddec_h264_workload.c81 attrs->cont_size.height = pInfo->img.FrameHeightInMbs*16; in h264_translate_parser_info_to_frame_attributes()
82 attrs->cont_size.width = pInfo->img.PicWidthInMbs*16; in h264_translate_parser_info_to_frame_attributes()
191 attrs->h264.top_field_poc = pInfo->img.toppoc; in h264_parse_update_frame_attributes()
192 attrs->h264.bottom_field_poc = pInfo->img.bottompoc; in h264_parse_update_frame_attributes()
244 PUT_BSD_SS_SKIP_REWIND_BITS((pInfo->img.MbaffFrameFlag? 2: 3)); in h264_fill_slice_data()
521 frame_structure = pInfo->img.structure; in h264_fill_pic_data()
530 PUT_BSD_IMAGE_MBAFF_FRAME_FLAG_BIT(pInfo->img.MbaffFrameFlag) + in h264_fill_pic_data()
549 if(pInfo->img.structure == FRAME) in h264_fill_pic_data()
552 p_pic_data->h264_cur_mpr_tf_poc = pInfo->img.toppoc; in h264_fill_pic_data()
553 p_pic_data->h264_cur_mpr_bf_poc = pInfo->img.bottompoc; in h264_fill_pic_data()
[all …]
Dh264parse_sh.c94 max_mb_num = pInfo->img.FrameHeightInMbs * pInfo->img.PicWidthInMbs; in h264_Parse_Slice_Header_2()
96 max_mb_num = pInfo->img.FrameHeightInMbs * pInfo->img.PicWidthInMbs/2; in h264_Parse_Slice_Header_2()
676 pInfo->img.long_term_reference_flag = (uint8_t)code; in h264_Parse_Dec_Ref_Pic_Marking()
720 pInfo->img.curr_has_mmco_5 = 1; in h264_Parse_Dec_Ref_Pic_Marking()
/hardware/intel/img/hwcomposer/merrifield/test/
Dnv12_ved_test.cpp91 uint8_t* img = NULL; in main() local
123 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**) (&img)); in main()
124 if (!img) { in main()
129 loadYUVBufferFromFile(img, 640, 480, buf->getStride()); in main()
/hardware/intel/common/libmix/videoencoder/
DPVSoftMPEG4Encoder.cpp409 uint8_t *img; in encode() local
421 rect, (void**)&img); in encode()
423 img = (uint8_t*)value; in encode()
426 trimBuffer(img, mTrimedInputData, pvinfo->width, pvinfo->height, in encode()
430 trimBuffer(img, mTrimedInputData, mVideoWidth, mVideoHeight, in encode()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp141 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
148 img->width = rhs->w; in set_image()
149 img->height = rhs->h; in set_image()
150 img->format = get_format(rhs->format); in set_image()
151 img->offset = hnd->offset; in set_image()
152 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp909 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
911 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
914 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
929 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
931 info.width = img->w; in populate_buffer_info()
932 info.height = img->h; in populate_buffer_info()
933 info.format = img->format; in populate_buffer_info()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit.cpp158 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
165 img->width = rhs->w; in set_image()
166 img->height = rhs->h; in set_image()
167 img->format = get_format(rhs->format); in set_image()
168 img->offset = (uint32_t)hnd->offset; in set_image()
169 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp933 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
935 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
938 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
955 info.width = img->w; in populate_buffer_info()
956 info.height = img->h; in populate_buffer_info()
957 info.format = img->format; in populate_buffer_info()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp147 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
154 img->width = rhs->w; in set_image()
155 img->height = rhs->h; in set_image()
156 img->format = get_format(rhs->format); in set_image()
157 img->offset = (uint32_t)hnd->offset; in set_image()
158 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp935 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
937 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
940 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
955 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
957 info.width = img->w; in populate_buffer_info()
958 info.height = img->h; in populate_buffer_info()
959 info.format = img->format; in populate_buffer_info()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp153 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
160 img->width = rhs->w; in set_image()
161 img->height = rhs->h; in set_image()
162 img->format = get_format(rhs->format); in set_image()
163 img->offset = (uint32_t)hnd->offset; in set_image()
164 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp913 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
915 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
918 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
933 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
935 info.width = img->w; in populate_buffer_info()
936 info.height = img->h; in populate_buffer_info()
937 info.format = img->format; in populate_buffer_info()
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp150 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
157 img->width = rhs->w; in set_image()
158 img->height = rhs->h; in set_image()
159 img->format = get_format(rhs->format); in set_image()
160 img->offset = (uint32_t)hnd->offset; in set_image()
161 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp938 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
940 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
943 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
958 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
960 info.width = img->w; in populate_buffer_info()
961 info.height = img->h; in populate_buffer_info()
962 info.format = img->format; in populate_buffer_info()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp147 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
154 img->width = rhs->w; in set_image()
155 img->height = rhs->h; in set_image()
156 img->format = get_format(rhs->format); in set_image()
157 img->offset = (uint32_t)hnd->offset; in set_image()
158 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp929 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
931 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
934 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
949 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
951 info.width = img->w; in populate_buffer_info()
952 info.height = img->h; in populate_buffer_info()
953 info.format = img->format; in populate_buffer_info()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp156 static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs) in set_image() argument
163 img->width = rhs->w; in set_image()
164 img->height = rhs->h; in set_image()
165 img->format = get_format(rhs->format); in set_image()
166 img->offset = (uint32_t)hnd->offset; in set_image()
167 img->memory_id = hnd->fd; in set_image()
Dcopybit_c2d.cpp933 static bool need_temp_buffer(struct copybit_image_t const *img) in need_temp_buffer() argument
935 if (COPYBIT_SUCCESS == is_supported_rgb_format(img->format)) in need_temp_buffer()
938 struct private_handle_t* handle = (struct private_handle_t*)img->handle; in need_temp_buffer()
953 static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo& info) in populate_buffer_info() argument
955 info.width = img->w; in populate_buffer_info()
956 info.height = img->h; in populate_buffer_info()
957 info.format = img->format; in populate_buffer_info()
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp660 char* img = new char[size]; in colorFormatConversion() local
661 if (img == nullptr) return 1; in colorFormatConversion()
662 eleStream.read(img, size); in colorFormatConversion()
664 delete[] img; in colorFormatConversion()
668 char* imgTmp = img; in colorFormatConversion()
696 delete[] img; in colorFormatConversion()
903 char* img = new char[size]; in fillByteBuffer() local
904 if (img == nullptr) return 1; in fillByteBuffer()
905 eleStream.read(img, size); in fillByteBuffer()
907 delete[] img; in fillByteBuffer()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_h264_parser.c352 h264_parser->info.img.structure, in vbp_set_slice_ref_list_h264()
465 if (FRAME == parser->info.img.structure) in vbp_set_reference_frames_h264()
507 if (FRAME == parser->info.img.structure) in vbp_set_reference_frames_h264()
856 if (parser->info.img.field_pic_flag == 1) in vbp_add_pic_data_h264()
858 if (parser->info.img.bottom_field_flag) in vbp_add_pic_data_h264()
872 pic_parms->CurrPic.TopFieldOrderCnt = parser->info.img.toppoc; in vbp_add_pic_data_h264()
873 pic_parms->CurrPic.BottomFieldOrderCnt = parser->info.img.bottompoc; in vbp_add_pic_data_h264()
/hardware/intel/common/libmix/mix_audio/docs/reference/MixAudio/html/
Dstyle.css111 div.gallery-float img
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp10894 MediaImage *img = &(params->sMediaImage); in describeColorFormat()
10898 img->mType = MediaImage::MEDIA_IMAGE_TYPE_YUV; in describeColorFormat()
10899 img->mNumPlanes = 3; in describeColorFormat()
10902 img->mWidth = params->nFrameWidth; in describeColorFormat()
10903 img->mHeight = params->nFrameHeight; in describeColorFormat()
10906 img->mBitDepth = 8; in describeColorFormat()
10908 img->mPlane[MediaImage::Y].mOffset = 0; in describeColorFormat()
10909 img->mPlane[MediaImage::Y].mColInc = 1; in describeColorFormat()
10910 img->mPlane[MediaImage::Y].mRowInc = planeWidth; //same as stride in describeColorFormat()
10911 img->mPlane[MediaImage::Y].mHorizSubsampling = 1; in describeColorFormat()
[all …]

12