/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
conceal.cpp | 18 #include "mp4dec_lib.h" /* video decoder function prototypes */ 31 void ConcealTexture_I(VideoDecData *video, int32 startFirstPartition, int mb_start, int mb_stop, int slice_counter) 34 BitstreamDecVideo *stream = video->bitstream; 36 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr; 40 video->usePrevQP = 0; 43 video->mbnum = mbnum; 44 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow); 45 video->mbnum_col = mbnum - video->mbnum_row * video->nMBPerRow [all...] |
pvdec_api.cpp | 59 /* Purpose : Initialization of the MPEG-4 video decoder library. */ 70 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 86 video = IMEM_VideoDecData; 88 video = (VideoDecData *) oscl_malloc(sizeof(VideoDecData)); 90 if (video != NULL) 92 oscl_memset(video, 0, sizeof(VideoDecData)); 93 video->memoryUsage = sizeof(VideoDecData); 94 video->numberOfLayers = nLayers; 96 video->vol = (Vol **) IMEM_VOL; 98 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *)) 284 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 528 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 556 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 720 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 736 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 752 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 768 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 792 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 822 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 836 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 853 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1026 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1237 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1451 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1523 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1540 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1594 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1635 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local [all...] |
datapart_decode.cpp | 39 PV_STATUS DecodeFrameDataPartMode(VideoDecData *video) 42 Vop *currVop = video->currVop; 43 BitstreamDecVideo *stream = video->bitstream; 45 int nMBPerRow = video->nMBPerRow; 49 int nTotalMB = video->nTotalMB; 61 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB); 62 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB); 73 // oscl_memset(video->sliceNo, 0, sizeof(uint8)*nTotalMB); 79 video->mbnum = mbnum; 80 video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow); /* This is needed if nbnum is read from the packet h (…) [all...] |
combined_decode.cpp | 18 #include "mp4dec_lib.h" /* video decoder function prototypes */ 42 PV_STATUS DecodeFrameCombinedMode(VideoDecData *video) 46 Vop *currVop = video->currVop; 47 BitstreamDecVideo *stream = video->bitstream; 48 int shortVideoHeader = video->shortVideoHeader; 49 int16 QP, *QPMB = video->QPMB; 50 uint8 *Mode = video->headerInfo.Mode; 51 int nTotalMB = video->nTotalMB; 52 int nMBPerRow = video->nMBPerRow; 72 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB) [all...] |
vop.cpp | 80 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer) 96 currVol = video->vol[layer]; 105 /* Bitstream Exchange requires we allow start with Video Object Sequence */ 252 video->shortVideoHeader = TRUE; 275 video->shortVideoHeader = 0; 406 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13); 409 video->width = (video->width + 15) & -16; 410 // video->displayWidth += (video->displayWidth & 0x1); /* displayed image should be even size * [all...] |
mp4dec_lib.h | 25 #include "mp4lib_int.h" /* main video structure */ 65 uint VideoDecoderErrorDetected(VideoDecData *video); 85 void doDCACPrediction(VideoDecData *video, int comp, int16 *q_block, 89 void doDCACPrediction_I(VideoDecData *video, int comp, int16 *q_block); 93 void MBlockIDCTAdd(VideoDecData *video, int nz_coefs[]); 98 void MBlockIDCT(VideoDecData *video); 102 PV_STATUS DecodeFrameCombinedMode(VideoDecData *video); 103 PV_STATUS GetMBheader(VideoDecData *video, int16 *QP); 104 PV_STATUS GetMBData(VideoDecData *video); 108 PV_STATUS DecodeFrameDataPartMode(VideoDecData *video); [all...] |
packet_util.cpp | 28 PV_STATUS PV_ReadVideoPacketHeader(VideoDecData *video, int *next_MB) 31 Vol *currVol = video->vol[video->currLayer]; 32 Vop *currVop = video->currVop; 33 BitstreamDecVideo *stream = video->bitstream; 36 int nbits = video->nBitsForMBID; 40 int nTotalMB = video->nTotalMB; 56 // if (*next_MB <= video->mbnum) /* needs more investigation */ 57 // *next_MB = video->mbnum+1; 61 *next_MB = video->mbnum + 1 [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
mp4enc_api.cpp | 131 Int DetermineCodingLayer(VideoEncData *video, Int *nLayer, ULong modTime); 132 void DetermineVopType(VideoEncData *video, Int currLayer); 133 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status); 134 Bool SetProfile_BufferSize(VideoEncData *video, float delay, Int bInitialized); 193 VideoEncData *video; local 220 video = (VideoEncData *)M4VENC_MALLOC(sizeof(VideoEncData)); /* allocate memory for encData */ 222 if (video == NULL) 225 M4VENC_MEMSET(video, 0, sizeof(VideoEncData)); 227 encoderControl->videoEncoderData = (void *) video; /* set up pointer in VideoEncData structure */ 229 video->encParams = (VideoEncParams *)M4VENC_MALLOC(sizeof(VideoEncParams)) 1081 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local 1327 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 1358 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 1651 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 1842 VideoEncData *video = (VideoEncData *)encCtrl->videoEncoderData; local 2048 VideoEncData* video; local 2405 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local 2570 VideoEncData *video = (VideoEncData *)encoderControl->videoEncoderData; local [all...] |
datapart_encode.cpp | 36 PV_STATUS EncodeFrameDataPartMode(VideoEncData *video) 39 Vol *currVol = video->vol[video->currLayer]; 40 Vop *currVop = video->currVop; 41 VideoEncParams *encParams = video->encParams; 47 UChar *QPMB = video->QPMB; 51 BitstreamEncVideo *bs1 = video->bitstream1; 52 BitstreamEncVideo *bs2 = video->bitstream2; 53 BitstreamEncVideo *bs3 = video->bitstream3; 61 video->QP_prev = currVop->quantizer [all...] |
combined_encode.cpp | 25 PV_STATUS EncodeGOBHeader(VideoEncData *video, Int GOB_number, Int quant_scale, Int bs1stream); 37 PV_STATUS EncodeFrameCombinedMode(VideoEncData *video) 40 Vol *currVol = video->vol[video->currLayer]; 41 Vop *currVop = video->currVop; 42 VideoEncParams *encParams = video->encParams; 48 UChar *QPMB = video->QPMB; 53 BitstreamEncVideo *bs1 = video->bitstream1; 64 video->QP_prev = currVop->quantizer; 105 video->usePrevQP = 0 [all...] |
vop.cpp | 28 PV_STATUS EncodeVop_BXRC(VideoEncData *video); 29 PV_STATUS EncodeVop_NoME(VideoEncData *video); 39 PV_STATUS EncodeVop(VideoEncData *video) 43 Int currLayer = video->currLayer; 44 Vol *currVol = video->vol[currLayer]; 45 Vop *currVop = video->currVop; 46 // BitstreamEncVideo *stream=video->bitstream1; 47 UChar *Mode = video->headerInfo.Mode; 48 rateControl **rc = video->rc; 75 MotionEstimation(video); /* do ME for the whole frame * [all...] |
/frameworks/base/media/libstagefright/codecs/avc/common/src/ |
dpb.cpp | 22 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMbs, bool padding) 24 AVCDecPicBuffer *dpb = video->decPicBuf; 31 level = video->currSeqParams->level_idc; 41 video->padded_size = (int)((((FrameHeightInMbs + 2) * (PicWidthInMbs + 2)) << 7) * 3) - framesize; 45 video->padded_size = 0; 63 if (video->currSeqParams->num_ref_frames + 1 > (uint32)dpb->num_fs) 65 dpb->num_fs = video->currSeqParams->num_ref_frames + 1; 68 dpb->dpb_size = dpb->num_fs * (framesize + video->padded_size); 99 video->RefPicList0[num_fs] = &(dpb->fs[num_fs]->frame); 101 dpb->used_size += (framesize + video->padded_size) [all...] |
mb_access.cpp | 22 OSCL_EXPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum) 24 int PicWidthInMbs = video->PicWidthInMbs; 27 video->mbAddrA = mbNum - 1; 28 video->mbAddrB = mbNum - PicWidthInMbs; 29 video->mbAddrC = mbNum - PicWidthInMbs + 1; 30 video->mbAddrD = mbNum - PicWidthInMbs - 1; 32 video->mbAvailA = video->mbAvailB = video->mbAvailC = video->mbAvailD = 0 [all...] |
reflist.cpp | 21 OSCL_EXPORT_REF void RefListInit(AVCCommonObj *video) 23 AVCSliceHeader *sliceHdr = video->sliceHdr; 24 AVCDecPicBuffer *dpb = video->decPicBuf; 25 int slice_type = video->slice_type; 34 video->refList0Size = 0; 35 video->refList1Size = 0; 47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; 71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; 78 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame); 85 video->RefPicList0[0] = &(dpb->fs[0]->frame) [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
slice.cpp | 32 AVCCommonObj *video = decvid->common; local 33 AVCSliceHeader *sliceHdr = video->sliceHdr; 41 slice_group_id = video->MbToSliceGroupMap[CurrMbAddr]; 43 if ((CurrMbAddr && (CurrMbAddr != (uint)(video->mbNum + 1))) && video->currSeqParams->constrained_set1_flag == 1) 45 ConcealSlice(decvid, video->mbNum, CurrMbAddr); 49 video->mb_skip_run = -1; 55 if (CurrMbAddr >= video->PicSizeInMbs) 60 currMB = video->currMB = &(video->mblock[CurrMbAddr]) 119 AVCCommonObj *video = decvid->common; local 717 AVCCommonObj *video = decvid->common; local [all...] |
avcdec_api.cpp | 196 AVCCommonObj *video; local 227 video = decvid->common; 228 memset(video, 0, sizeof(AVCCommonObj)); 230 video->seq_parameter_set_id = 9999; /* set it to some illegal value */ 244 video = decvid->common; 251 video->forbidden_bit = nal_unit[0] >> 7; 252 if (video->forbidden_bit) return AVCDEC_FAIL; 253 video->nal_ref_idc = (nal_unit[0] & 0x60) >> 5; 254 video->nal_unit_type = (AVCNalUnitType)(nal_unit[0] & 0x1F); 256 if (video->nal_unit_type != AVC_NALTYPE_SPS) /* not a SPS NAL * 327 AVCCommonObj *video; local 393 AVCCommonObj *video; local 450 AVCCommonObj *video; local 725 AVCCommonObj *video; local 904 AVCCommonObj *video; local 957 AVCCommonObj *video; local [all...] |
header.cpp | 318 AVCDec_Status DecodePPS(AVCDecObject *decvid, AVCCommonObj *video, AVCDecBitstream *stream) 354 video->currPicParams = picParam = decvid->picParams[pic_parameter_set_id]; 518 AVCDec_Status DecodeSliceHeader(AVCDecObject *decvid, AVCCommonObj *video, AVCDecBitstream *stream) 520 AVCSliceHeader *sliceHdr = video->sliceHdr; 548 video->slice_type = (AVCSliceType) slice_type; 562 currPPS = video->currPicParams = decvid->picParams[sliceHdr->pic_parameter_set_id]; 567 currSPS = video->currSeqParams = decvid->seqParams[currPPS->seq_parameter_set_id]; 569 if (currPPS->seq_parameter_set_id != video->seq_parameter_set_id) 571 video->seq_parameter_set_id = currPPS->seq_parameter_set_id; 572 status = (AVCDec_Status)AVCConfigureSequence(decvid->avcHandle, video, false) [all...] |
pred_intra.cpp | 26 AVCStatus IntraMBPrediction(AVCCommonObj *video) 30 AVCMacroblock *currMB = video->currMB; 31 AVCPictureData *currPic = video->currPic; 35 int16 *dataBlock = video->block; 41 uint32 cbp4x4 = video->cbp4x4; 43 offset = (video->mb_y << 4) * pitch + (video->mb_x << 4); 47 video->pred_block = video->pred + 84; /* point to separate prediction memory */ 48 pred = video->pred_block [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_gamma.c | 96 SDL_VideoDevice *video = current_video; local 109 if ( (succeeded < 0) && video->SetGamma ) { 111 succeeded = video->SetGamma(this, red, green, blue); 122 SDL_VideoDevice *video = current_video; local 137 if ( (succeeded < 0) && video->GetGamma ) { 139 succeeded = video->GetGamma(this, red, green, blue); 147 SDL_VideoDevice *video = current_video; local 153 SDL_SetError("No video mode has been set"); 158 if ( ! video->gamma ) { 164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma)) 198 SDL_VideoDevice *video = current_video; local [all...] |
SDL_video.c | 24 /* The high-level video driver subsystem */ 34 /* Available video drivers */ 143 * Initialize the video and event subsystems -- determine native pixel format 147 SDL_VideoDevice *video; local 168 /* Select the proper video driver */ 170 video = NULL; 180 video = bootstrap[i]->create(index); 188 video = bootstrap[i]->create(index); 189 if ( video != NULL ) { 195 if ( video == NULL ) 327 SDL_VideoDevice *video = current_video; local 573 SDL_VideoDevice *video, *this; local 1018 SDL_VideoDevice *video = current_video; local 1085 SDL_VideoDevice *video = current_video; local 1164 SDL_VideoDevice *video = current_video; local 1282 SDL_VideoDevice *video = current_video; local 1327 SDL_VideoDevice *video = current_video; local 1389 SDL_VideoDevice *video = current_video; local 1408 SDL_VideoDevice *video = current_video; local 1429 SDL_VideoDevice *video = current_video; local 1496 SDL_VideoDevice* video = current_video; local 1511 SDL_VideoDevice *video = current_video; local 1675 SDL_VideoDevice *video = current_video; local 1698 SDL_VideoDevice *video = current_video; local 1772 SDL_VideoDevice *video = current_video; local 1805 SDL_VideoDevice *video = current_video; local 1844 SDL_VideoDevice *video = current_video; local 1892 SDL_VideoDevice *video = current_video; local 1908 SDL_VideoDevice *video = current_video; local 1941 SDL_VideoDevice* video = current_video; local 1952 SDL_VideoDevice* video = current_video; local 1966 SDL_VideoDevice* video = current_video; local 1977 SDL_VideoDevice* video = current_video; local 1988 SDL_VideoDevice* video = current_video; local 2001 SDL_VideoDevice *video = current_video; local [all...] |
/device/samsung/crespo/sec_mm/sec_omx/sec_codecs/ |
Android.mk | 5 include $(SEC_CODECS)/video/mfc_c110/dec/Android.mk 6 include $(SEC_CODECS)/video/mfc_c110/enc/Android.mk
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
header.cpp | 27 AVCCommonObj *video = encvid->common; local 28 AVCSeqParamSet *seqParam = video->currSeqParams; 229 AVCCommonObj *video = encvid->common; local 231 AVCPicParamSet *picParam = video->currPicParams; 318 AVCCommonObj *video = encvid->common; local 319 AVCSliceHeader *sliceHdr = video->sliceHdr; 320 AVCPicParamSet *currPPS = video->currPicParams; 321 AVCSeqParamSet *currSPS = video->currSeqParams; 330 slice_type = video->slice_type; 332 if (video->mbNum == 0) /* first mb in frame * 650 AVCCommonObj *video = encvid->common; local [all...] |
slice.cpp | 24 AVCCommonObj *video = encvid->common; local 25 AVCPicParamSet *pps = video->currPicParams; 26 AVCSliceHeader *sliceHdr = video->sliceHdr; 32 slice_type = video->slice_type; 35 video->mbNum = CurrMbAddr = sliceHdr->first_mb_in_slice;// * (1+video->MbaffFrameFlag); 36 slice_group_id = video->MbToSliceGroupMap[CurrMbAddr]; 38 video->mb_skip_run = 0; 43 video->mbNum = CurrMbAddr; 44 currMB = video->currMB = &(video->mblock[CurrMbAddr]) 156 AVCCommonObj *video = encvid->common; local 554 AVCCommonObj *video = encvid->common; local [all...] |
/device/samsung/crespo/sec_mm/sec_omx/ |
Android.mk | 17 include $(SEC_OMX_COMPONENT)/video/dec/h264dec/Android.mk 18 include $(SEC_OMX_COMPONENT)/video/dec/mpeg4dec/Android.mk 19 include $(SEC_OMX_COMPONENT)/video/enc/h264enc/Android.mk 20 include $(SEC_OMX_COMPONENT)/video/enc/mpeg4enc/Android.mk
|
/frameworks/base/media/libstagefright/codecs/avc/common/include/ |
avclib_common.h | 34 \param "video" "Pointer to AVCCommonObj." 37 OSCL_IMPORT_REF AVCStatus DeblockPicture(AVCCommonObj *video); 42 \param "video" "Pointer to AVCCommonObj." 45 void MBInLoopDeblock(AVCCommonObj *video); 52 \param "video" "Pointer to AVCCommonObj." 56 OSCL_IMPORT_REF AVCStatus AVCConfigureSequence(AVCHandle *avcHandle, AVCCommonObj *video, bool padding); 63 \param "video" "Pointer to AVCCommonObj." 69 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMbs, bool padding); 74 \param "video" "Pointer to AVCCommonObj." 77 OSCL_IMPORT_REF AVCStatus CleanUpDPB(AVCHandle *avcHandle, AVCCommonObj *video); [all...] |