/hardware/google/av/media/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 348 MediaImage2 *img = (MediaImage2*)imgBuf->data(); in TEST_P() local 349 EXPECT_EQ(img->mType, img->MEDIA_IMAGE_TYPE_YUV); in TEST_P() 350 EXPECT_EQ(img->mNumPlanes, 3u); in TEST_P() 351 EXPECT_EQ(img->mWidth, 320u); in TEST_P() 352 EXPECT_EQ(img->mHeight, 240u); in TEST_P() 353 EXPECT_EQ(img->mBitDepth, 8u); in TEST_P() 354 EXPECT_EQ(img->mBitDepthAllocated, 8u); in TEST_P() 361 EXPECT_EQ(img->mPlane[img->Y].mHorizSubsampling, 1u); in TEST_P() 362 EXPECT_EQ(img->mPlane[img->Y].mVertSubsampling, 1u); in TEST_P() 363 EXPECT_EQ(img->mPlane[img->U].mHorizSubsampling, 2u); in TEST_P() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
D | h264parse_dpb.c | 457 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 …]
|
D | h264parse.c | 123 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 …]
|
D | viddec_h264_parse.c | 54 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 …]
|
D | viddec_h264_workload.c | 81 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 …]
|
D | h264parse_sh.c | 94 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/google/av/media/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 64 static status_t _ImageCopy(View &view, const MediaImage2 *img, ImagePixel *imgBase) { in _ImageCopy() argument 68 const size_t bpp = divUp(img->mBitDepthAllocated, 8u); in _ImageCopy() 69 if (view.width() != img->mWidth in _ImageCopy() 70 || view.height() != img->mHeight) { in _ImageCopy() 75 imgBase + img->mPlane[i].mOffset; in _ImageCopy() 79 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy() 80 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy() 81 || plane.allocatedDepth != img->mBitDepthAllocated in _ImageCopy() 89 uint32_t planeW = img->mWidth / plane.colSampling; in _ImageCopy() 90 uint32_t planeH = img->mHeight / plane.rowSampling; in _ImageCopy() [all …]
|
D | Codec2BufferUtils.h | 75 status_t ImageCopy(uint8_t *imgBase, const MediaImage2 *img, const C2GraphicView &view); 86 status_t ImageCopy(C2GraphicView &view, const uint8_t *imgBase, const MediaImage2 *img);
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxDec.cpp | 423 vpx_image_t *img = vpx_codec_get_frame(mCodecCtx, &iter); in outputBuffer() local 425 if (!img) return false; in outputBuffer() 427 if (img->d_w != mWidth || img->d_h != mHeight) { in outputBuffer() 428 mWidth = img->d_w; in outputBuffer() 429 mHeight = img->d_h; in outputBuffer() 445 CHECK(img->fmt == VPX_IMG_FMT_I420 || img->fmt == VPX_IMG_FMT_I42016); in outputBuffer() 447 if (img->fmt == VPX_IMG_FMT_I42016) { in outputBuffer() 469 block->width(), block->height(), mWidth, mHeight, (int)*(int64_t *)img->user_priv); in outputBuffer() 472 size_t srcYStride = img->stride[VPX_PLANE_Y]; in outputBuffer() 473 size_t srcUStride = img->stride[VPX_PLANE_U]; in outputBuffer() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/test/ |
D | nv12_ved_test.cpp | 91 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/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 641 android::MediaImage& img = describeParamsV1.sMediaImage; in isColorFormatFlexibleYUV() local 642 if (img.mType == android::MediaImage::MEDIA_IMAGE_TYPE_YUV) { in isColorFormatFlexibleYUV() 643 if (img.mNumPlanes == 3 && in isColorFormatFlexibleYUV() 644 img.mPlane[img.Y].mHorizSubsampling == 1 && in isColorFormatFlexibleYUV() 645 img.mPlane[img.Y].mVertSubsampling == 1) { in isColorFormatFlexibleYUV() 646 if (img.mPlane[img.U].mHorizSubsampling == 2 && in isColorFormatFlexibleYUV() 647 img.mPlane[img.U].mVertSubsampling == 2 && in isColorFormatFlexibleYUV() 648 img.mPlane[img.V].mHorizSubsampling == 2 && in isColorFormatFlexibleYUV() 649 img.mPlane[img.V].mVertSubsampling == 2) { in isColorFormatFlexibleYUV() 650 if (img.mBitDepth <= 8) { in isColorFormatFlexibleYUV() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 606 char* img = new char[size]; in colorFormatConversion() local 607 if (img == nullptr) return 1; in colorFormatConversion() 608 eleStream.read(img, size); in colorFormatConversion() 610 delete[] img; in colorFormatConversion() 614 char* imgTmp = img; in colorFormatConversion() 642 delete[] img; in colorFormatConversion() 849 char* img = new char[size]; in fillByteBuffer() local 850 if (img == nullptr) return 1; in fillByteBuffer() 851 eleStream.read(img, size); in fillByteBuffer() 853 delete[] img; in fillByteBuffer() [all …]
|
/hardware/intel/common/libmix/videoencoder/ |
D | PVSoftMPEG4Encoder.cpp | 409 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/google/av/media/sfplugin/ |
D | Codec2Buffer.cpp | 89 MediaImage2 *img = (MediaImage2*)imageData->data(); in setImageData() local 90 if (img->mNumPlanes > 0 && img->mType != img->MEDIA_IMAGE_TYPE_UNKNOWN) { in setImageData() 91 int32_t stride = img->mPlane[0].mRowInc; in setImageData() 93 if (img->mNumPlanes > 1 && stride > 0) { in setImageData() 94 int32_t vstride = (img->mPlane[1].mOffset - img->mPlane[0].mOffset) / stride; in setImageData()
|
D | Codec2Buffer.h | 40 status_t ImageCopy(uint8_t *imgBase, const MediaImage2 *img, const C2GraphicView &view); 51 status_t ImageCopy(C2GraphicView &view, const uint8_t *imgBase, const MediaImage2 *img);
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit.cpp | 156 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()
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit.cpp | 147 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()
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit.cpp | 150 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()
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | copybit.cpp | 158 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()
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit.cpp | 147 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()
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit.cpp | 156 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()
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit.cpp | 158 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()
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | vbp_h264_parser.c | 352 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/qcom/display/msm8960/libcopybit/ |
D | copybit_c2d.cpp | 909 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/intel/common/libmix/mix_audio/docs/reference/MixAudio/html/ |
D | style.css | 111 div.gallery-float img
|