/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | simple_decoder.c | 23 // followed by a variable number of frames. Each frame consists of a frame 25 // is specified in the first four bytes of the frame header. The payload is 49 // Once the frame has been read into memory, it is decoded using the 51 // (`frame`) and the length of the data (`frame_sz`). No application data 52 // is associated with the frame in this example, so the `user_priv` 135 const unsigned char *frame = vpx_video_reader_get_frame(reader, local 137 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) 138 die_codec(&codec, "Failed to decode frame.");
|
H A D | postproc.c | 28 // best postprocessing filter on a frame by frame basis based on the amount 31 // necessary to provide the best quality frame. This example gives the 32 // codec 15ms (15000us) to return a frame. Remember that this is a soft 103 const unsigned char *frame = vpx_video_reader_get_frame(reader, local 120 // Decode the frame with 15ms deadline 121 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 15000)) 122 die_codec(&codec, "Failed to decode frame");
|
H A D | decode_to_md5.c | 11 // Frame-by-frame MD5 Checksum 116 const unsigned char *frame = vpx_video_reader_get_frame(reader, local 118 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) 119 die_codec(&codec, "Failed to decode frame");
|
H A D | decode_with_drops.c | 26 // To drop a range of frames, specify the starting frame and the ending 27 // frame to drop, separated by a dash. The following command will drop 52 // The example decides whether to drop the frame based on the current 53 // frame number, immediately before decoding the frame. 121 const unsigned char *frame = vpx_video_reader_get_frame(reader, local 123 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) 124 die_codec(&codec, "Failed to decode frame.");
|
H A D | decode_with_partial_drops.c | 26 // To drop a range of frames, specify the starting frame and the ending 27 // frame to drop, separated by a dash. The following command will drop 45 // A third argument tuple is available to split the frame into 1500 bytes pieces 46 // and randomly drop pieces rather than frames. The frame will be split at 60 // The example decides whether to drop the frame based on the current 61 // frame number, immediately before decoding the frame. 140 void throw_packets(unsigned char* frame, int* size, int loss_rate, argument 157 tmp = (frame[2] << 16) | (frame[ 201 unsigned char frame[256*1024]; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | debugmodes.c | 16 void vp8_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols, int frame) argument 26 fprintf(mvs, "Mb Modes for Frame %d\n", frame); 45 fprintf(mvs, "Mb mv ref for Frame %d\n", frame); 65 fprintf(mvs, "UV Modes for Frame %d\n", frame); 85 fprintf(mvs, "Mbs for Frame %d\n", frame); 113 fprintf(mvs, "MVs for Frame %d\n", frame); 133 fprintf(mvs, "MVs for Frame %d\n", frame);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | y4m_video_source.h | 68 // Models a stream where Timebase = 1/FPS, so pts == frame. 78 virtual unsigned int frame() const { return frame_; } function in class:libvpx_test::Y4mVideoSource 84 // Read a frame from input_file.
|
H A D | i420_video_source.h | 69 // Models a stream where Timebase = 1/FPS, so pts == frame. 79 virtual unsigned int frame() const { return frame_; } function in class:libvpx_test::I420VideoSource 96 // Read a frame from input_file.
|
H A D | resize_test.cc | 72 pts = pkt->data.frame.pts; 73 mem_put_le32(header, static_cast<unsigned int>(pkt->data.frame.sz)); 84 unsigned int ScaleForFrameNumber(unsigned int frame, unsigned int val) { argument 85 if (frame < 10) 87 if (frame < 20) 89 if (frame < 30) 91 if (frame < 40) 93 if (frame < 50) 151 const unsigned int frame = static_cast<unsigned>(info->pts); local 152 const unsigned int expected_w = ScaleForFrameNumber(frame, kInitialWidt [all...] |
H A D | video_source.h | 62 // Advance the cursor to the next frame 65 // Get the current video frame, or NULL on End-Of-Stream. 68 // Get the presentation timestamp of the current frame. 71 // Get the current frame's duration 77 // Get the current frame counter, starting at 0. 78 virtual unsigned int frame() const = 0; 107 // Models a stream where Timebase = 1/FPS, so pts == frame. 117 virtual unsigned int frame() const { return frame_; } function in class:libvpx_test::DummyVideoSource 182 // Advance the cursor to the next frame
|
/hardware/intel/img/libdrm/shared-core/ |
H A D | drm_sarea.h | 58 /** SAREA frame */ 74 struct drm_sarea_frame frame; /**< frame */ member in struct:drm_sarea
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/reader/ |
H A D | perf_reader.c | 70 U32 sending, multiple, frame, size; local 172 frame = (ulData1 & PERF_LOG_Frame) ? PERF_FlagFrame : PERF_FlagBuffer; 180 frame,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | denoising.c | 197 MV_REFERENCE_FRAME frame = x->best_reference_frame; local 204 YV12_BUFFER_CONFIG *src = &denoiser->yv12_running_avg[frame]; 222 if (frame == INTRA_FRAME || 228 * Handle intra blocks as referring to last frame with zero motion
|
H A D | temporal_filter.c | 169 /* Setup frame pointers */ 231 int frame; local 283 for (frame = 0; frame < frame_count; frame++) 285 if (cpi->frames[frame] == NULL) 291 if (frame == alt_ref_index) 301 /* Find best match in this frame by MC */ 305 cpi->frames[frame], 322 cpi->frames[frame] 433 int frame = 0; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
H A D | vp9_decoder.c | 70 void write_dx_frame_to_file(YV12_BUFFER_CONFIG *frame, int this_frame) { argument 71 // write the frame 79 for (i = 0; i < frame->y_height; i++) 80 fwrite(frame->y_buffer + i * frame->y_stride, 81 frame->y_width, 1, yframe); 87 for (i = 0; i < frame->uv_height; i++) 88 fwrite(frame->u_buffer + i * frame->uv_stride, 89 frame [all...] |
H A D | vp9_decodemv.c | 272 // Read the referncence frame 285 // FIXME(rbultje) I'm pretty sure this breaks segmentation ref frame coding 438 const MV_REFERENCE_FRAME frame = mbmi->ref_frame[ref]; local 439 vp9_find_mv_refs(cm, xd, tile, mi, frame, mbmi->ref_mvs[frame],
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_firstpass.h | 19 double frame; member in struct:__anon617 65 // Projected total bits available for a key frame group of frames 73 // Bits for the golden frame or ARF - 2 pass only
|
H A D | vp9_temporal_filter.c | 148 // Setup frame pointers 196 int frame; local 252 for (frame = 0; frame < frame_count; frame++) { 253 if (cpi->frames[frame] == NULL) 259 if (frame == alt_ref_index) { 267 // Find best match in this frame by MC 271 cpi->frames[frame]->y_buffer + mb_y_offset, 272 cpi->frames[frame] 374 int frame = 0; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | y4minput.c | 869 /*The size of the final frame buffers is always computed from the 885 char frame[6]; local 890 /*Read and skip the frame header.*/ 891 if (!file_read(frame, 6, _fin)) return 0; 892 if (memcmp(frame, "FRAME", 5)) { 896 if (frame[5] != '\n') { 901 fprintf(stderr, "Error parsing Y4M frame header\n"); 905 /*Read the frame data that needs no conversion.*/ 907 fprintf(stderr, "Error reading Y4M frame data.\n"); 910 /*Read the frame dat [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
H A D | perf_print.c | 310 int frame = PERF_IsFrame ((unsigned long) eModule); local 321 frame ? "frame" : "buffer",
|
H A D | perf_rt.c | 304 int frame = PERF_IsFrame (modulesAndFlags); local 310 frame ? "frames" : "buffers", 478 /* change encoded filled frame sizes to 0xBEEFED, as they tend to
|
/hardware/ti/omap4-aah/camera/inc/ |
H A D | BufferSourceAdapter.h | 44 // helper class to return frame in different thread context 91 // helper class to queue frame in different thread context 101 void addFrame(CameraFrame *frame) { argument 103 mFrames.add(new CameraFrame(*frame)); 114 CameraFrame *frame = mFrames.itemAt(0); local 116 frame->mMetaData.clear(); 117 delete frame; 123 CameraFrame *frame = NULL; local 128 frame = mFrames.itemAt(0); 133 if (frame) { [all...] |
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
H A D | V4LCameraAdapter.cpp | 401 //API to get the frame size required to be allocated. This size is used to override the size passed 517 CameraFrame frame; local 549 frame.mFrameType = CameraFrame::PREVIEW_FRAME_SYNC; 550 frame.mBuffer = ptr; 551 frame.mLength = width*height*2; 552 frame.mAlignment = width*2; 553 frame.mOffset = 0; 554 frame.mTimestamp = systemTime(SYSTEM_TIME_MONOTONIC);; 556 ret = sendFrameToSubscribers(&frame);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
H A D | vp8_cx_iface.c | 27 unsigned int enable_auto_alt_ref; /** if encoder decides to uses alternate reference frame */ 162 /* TODO: add spatial re-sampling support and frame dropping in 719 /* If the deadline is more that the duration this frame is to be shown, 824 /* Initialize the encoder instance on the first frame*/ 860 /* reset for next frame */ 891 /* Add the frame packet to the list of returned packets. */ 896 pkt.data.frame.pts = 899 pkt.data.frame.duration = (unsigned long) 902 pkt.data.frame.flags = lib_flags << 16; 905 pkt.data.frame 989 vpx_ref_frame_t *frame = (vpx_ref_frame_t *)data; local 1010 vpx_ref_frame_t *frame = (vpx_ref_frame_t *)data; local [all...] |
H A D | vp8_dx_iface.c | 161 /* for now, disable frame threading */ 171 * not be supported when using frame-based threading */ 207 /* Parse uncompresssed part of key frame header. 208 * 3 bytes:- including version, frame type and an offset 325 /* New frame, reset fragment pointers and sizes */ 332 * received the complete frame yet, so we will wait with decoding. 423 /* Initialize the decoder instance on the first frame*/ 490 "Invalid frame width"); 497 "Invalid frame height"); 502 "Failed to allocate frame buffer 738 vpx_ref_frame_t *frame = (vpx_ref_frame_t *)data; local 760 vpx_ref_frame_t *frame = (vpx_ref_frame_t *)data; local [all...] |